Skip to content

Instantly share code, notes, and snippets.

View bartcubbins's full-sized avatar

Pavel Dubrova bartcubbins

  • 04:22 (UTC +03:00)
View GitHub Profile
static int smb1360_regulator_init(struct smb1360_chip *chip)
{
int rc = 0;
struct regulator_init_data *init_data;
struct regulator_config cfg = {};
init_data = of_get_regulator_init_data(chip->dev, chip->dev->of_node);
if (!init_data) {
dev_err(chip->dev, "Unable to allocate memory\n");
return -ENOMEM;
[ 20.201445] usb 1-1: USB disconnect, device number 22
[ 20.592704] usb 1-1: new low-speed USB device number 23 using msm_hsusb_host
[ 20.750043] usb 1-1: New USB device found, idVendor=09da, idProduct=c10a
[ 20.750059] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 20.750071] usb 1-1: Product: USB Mouse
[ 20.750082] usb 1-1: Manufacturer: A4Tech
[ 20.757553] input: A4Tech USB Mouse as /devices/soc/78d9000.usb/msm_hsusb_host/usb1/1-1/1-1:1.0/0003:09DA:C10A.0002/input/input5
[ 20.812886] hid-generic 0003:09DA:C10A.0002: input,hidraw0: USB HID v1.10 Mouse [A4Tech USB Mouse] on usb-msm_hsusb_host-1/input0
[ 23.078783] SMB:brain_work: Cap=78, 78, VBAT=4007, IBAT=482, T=350, USB=0, Type=0 BMD=1, Full=0,0 Delta=0
[ 23.078814] SMB:brain_work: vdd_max=4350, rechg=200, input_ma=500, input_type=0, fast_chg=1500 time=0, main=0, en=0
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.21-g09bd5f4794fe-dirty (cubbins@BuildMachine) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #67 SMP PREEMPT Fri Oct 20 16:15:10 EEST 2017
[ 0.000000] Boot CPU: AArch64 Processor [410fd031]
[ 0.000000] Machine: SoMC Tulip SMB1360
[ 0.000000] Reserved memory: reserved region for node 'external_image__region': base 0x0000000085b00000, size 13 MiB
[ 0.000000] Reserved memory: reserved region for node 'modem_adsp_region': base 0x0000000086800000, size 85 MiB
[ 0.000000] Reserved memory: reserved region for node 'peripheral_region': base 0x000000008bd00000, size 6 MiB
[ 0.000000] Reserved memory: reserved region for node 'pstore_reserve_mem_region@a0000000': base 0x00000000a0000000, size 1 MiB
Kernel tree:
https://github.com/bartcubbins/kernel/tree/57r1_kanuti
Device tree:
https://github.com/bartcubbins/device-sony-kanuti/tree/k4.4
https://github.com/bartcubbins/device-sony-tulip/tree/k4.4
Current status:
1. pstore node was updated (pstore is ok).
2. pn547 (ok).
P00: GPT (00000000, 00000100)
P01: TA (00000100, 00001000)
P02: sbl1 (00001100, 00000400)
P03: s1sbl (00001500, 00000200)
P04: aboot (00001700, 00000800)
P05: rpm (00001F00, 00000400)
P06: tz (00002300, 00000400)
P07: hyp (00002700, 00000400)
P08: alt_sbl1 (00002B00, 00000400)
P09: alt_s1sbl (00002F00, 00000200)
<6>[ 0.000000] Initializing cgroup subsys cpuset
<6>[ 0.000000] Initializing cgroup subsys cpu
<6>[ 0.000000] Initializing cgroup subsys cpuacct
<5>[ 0.000000] Linux version 3.18.31-perf-g9bb0bb30aedd (pashadubrova@instance-1) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #335 SMP PREEMPT Tue Apr 3 01:59:32 UTC 2018
<4>[ 0.000000] CPU: AArch64 Processor [410fd031] revision 1
<6>[ 0.000000] alternatives: enabling workaround for ARM errata 826319, 827319, 824069
<6>[ 0.000000] alternatives: enabling workaround for ARM erratum 845719
<6>[ 0.000000] Machine: SoMC Tulip SMB1360
<6>[ 0.000000] efi: Getting EFI parameters from FDT:
<6>[ 0.000000] efi: UEFI not found.
suzu
05-03 10:10:56.360 681 932 I mm-camera: <MCT >< INFO> 2199: mct_pipeline_append_fps_entry: Added hal_table[0]: (7.000000, 7.000000)
05-03 10:10:56.360 681 932 I mm-camera: <MCT >< INFO> 2199: mct_pipeline_append_fps_entry: Added hal_table[1]: (7.500000, 15.000000)
05-03 10:10:56.361 681 932 I mm-camera: <MCT >< INFO> 2212: mct_pipeline_append_fps_entry: Added hal_table[2]: (15.000000, 15.000000)
05-03 10:10:56.361 681 932 I mm-camera: <MCT >< INFO> 2199: mct_pipeline_append_fps_entry: Added hal_table[3]: (7.500000, 20.000000)
05-03 10:10:56.362 681 932 I mm-camera: <MCT >< INFO> 2212: mct_pipeline_append_fps_entry: Added hal_table[4]: (20.000000, 20.000000)
05-03 10:10:56.362 681 932 I mm-camera: <MCT >< INFO> 2199: mct_pipeline_append_fps_entry: Added hal_table[5]: (24.000000, 24.000000)
05-03 10:10:56.363 681 932 I mm-camera: <MCT >< INFO> 2199: mct_pipeline_append_fps_entry: Added hal_table[6]: (7.000000, 30.000000)
05-03 10:10:56.364 681 932 I mm-c
/* Clock lookup */
static struct clk_lookup msm_clocks_lookup[] = {
/* PLLs */
CLK_LIST(gcc_xo),
CLK_LIST(xo_a_clk),
CLK_LIST(gpll0),
CLK_LIST(gpll0_ao),
CLK_LIST(gpll0_out_main),
CLK_LIST(gpll0_out_aux),
CLK_LIST(gpll0_misc),
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
CC techpack/audio/asoc/codecs/msm8x16-wcd.o
techpack/audio/asoc/codecs/msm8x16-wcd.c:972:2: error: initialization from incompatible pointer type [-Werror]
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.19.0 Kernel Configuration
#
#
# Compiler: gcc (Ubuntu 8.2.0-7ubuntu1) 8.2.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80200