I’m using DB 820 (Open-Q™ 820 µSOM) with linaro branch release/qcomlt-4.14 and I tried to add a new I2C port.
This is my diff:
index db83b49f9026..5b531104c638 100644
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
@@ -28,6 +28,7 @@
i2c0 = &blsp1_i2c2;
i2c1 = &blsp2_i2c1;
i2c2 = &blsp2_i2c0;
+ i2c5 = &blsp2_i2c5;
spi0 = &blsp1_spi0;
spi1 = &blsp2_spi5;
};
@@ -111,6 +112,12 @@a
status = "okay";
};
+ i2c@075b7000 {
+ /* On Low speed expansion */
+ label = "LS-I2C5";
+ status = "okay";
+ };
+
i2c@075b5000 {
/* On High speed expansion */
label = "HS-I2C2";
diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi
index 29ad359e667a..e26bbacac299 100644
--- a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi
@@ -93,6 +93,30 @@
};
};
+ blsp2_i2c5_default: blsp2_i2c5_default {
+ pinmux {
+ function = "blsp_i2c9";
+ pins = "gpio51", "gpio52";
+ };
+ pinconf {
+ pins = "gpio51", "gpio52";
+ drive-strength = <16>;
+ bias-disable = <0>;
+ };
+ };
+
+ blsp2_i2c5_sleep: blsp2_i2c5_sleep {
+ pinmux {
+ function = "gpio";
+ pins = "gpio51", "gpio52";
+ };
+ pinconf {
+ pins = "gpio51", "gpio52";
+ drive-strength = <2>;
+ bias-disable = <0>;
+ };
+ };
+
blsp1_i2c2_default: blsp1_i2c2_default {
pinmux {
function = "blsp_i2c3";
diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 980b41ae00c6..14fcd9db36ba 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -714,6 +714,29 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
+ // device@0 {
+ // compatible = "spidev";
+ // #address-cells = <1>;
+ // #size-cells = <1>;
+ // reg = <0>;
+ // spi-max-frequency = <19200000>;
+ // spi-cpol;
+ // spi-cpha;
+ // };
+ };
+
+ blsp2_i2c5: i2c@075b7000 {
+ compatible = "qcom,i2c-qup-v2.2.1";
+ reg = <0x075b7000 0x1000>;
+ interrupts = <GIC_SPI 103 0>;
+ clocks = <&gcc GCC_BLSP2_AHB_CLK>,
+ <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>;
+ clock-names = "iface", "core";
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&blsp2_i2c5_default>;
+ pinctrl-1 = <&blsp2_i2c5_sleep>;
+ #address-cells = <1>;
+ #size-cells = <0>;
};
blsp2_i2c0: i2c@075b5000 {
However, every time I try to boot it gets cut off and enters the debug mode. Usually i get this:
[ 0.000000] Booting Linux on physical CPU 0x0␍␊
[ 0.000000] Linux version 4.14.53-itc-rel-3.1 (root@roland) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Wed Jan 15 16:32:37 CET 2020␍␊
[ 0.000000] Boot CPU: AArch64 Processor [511f2112]␍␊
[ 0.000000] Machine model: Qualcomm Technologies, Inc. Open-Q 820 microsom␍␊
[ 0.000000] efi: Getting EFI parameters from FDT:␍␊
[ 0.000000] efi: UEFI not found.␍␊
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000090b00000, size 10 MiB␍␊
[ 0.000000] OF: reserved mem: initialized node gpu@8f200000, compatible id shared-dma-pool␍␊
[ 0.000000] cma: Reserved 16 MiB at 0x00000000ff000000␍␊
[ 0.000000] NUMA: No NUMA configuration found␍␊
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000013ea4ffff]␍␊
[ 0.000000] NUMA: NODE_DATA [mem 0x13e9e0100-0x13e9e1bff]␍␊
[ 0.000000] Zone ranges:␍␊
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]␍␊
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013ea4ffff]␍␊
[ 0.000000] Movable zone start for each node␍␊
[ 0.000000] Early memory node ranges␍␊
[ 0.000000] node 0: [mem 0x0000000080000000-0x00000000857fffff]␍␊
[ 0.000000] node 0: [mem 0x0000000091700000-0x00000000a1dfffff]␍␊
[ 0.000000] node 0: [mem 0x00000000a2000000-0x000000013ea4ffff]␍␊
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000013ea4ffff]␍␊
[ 0.000000] psci: probing for conduit method from DT.␍␊
[ 0.000000] psci: PSCIv1.0 detected in firmware.␍␊
[ 0.000000] psci: Using standard PSCI v0.2 function IDs␍␊
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.␍␊
[ 0.000000] psci: SMC Calling Convention v1.0␍␊
[ 0.000000] percpu: Embedded 23 pages/cpu @ffff8000be97f000 s55704 r8192 d30312 u94208␍␊
[ 0.000000] Detected PIPT I-cache on CPU0␍␊
[ 0.000000] CPU features: enabling workaround for Qualcomm Technologies Kryo erratum 1003␍␊
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 720042␍␊
[ 0.000000] Policy zone: Normal␍␊
[ 0.000000] Kernel command line: root=/dev/disk/by-partlabel/userdata rw rootwait console=ttyMSM0,115200n8 androidboot.bootdevice=624000.ufshc androidboot.serialno=20fd70de androidboot.baseband=apq mdss_mdp.panel=0␍␊
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)␍␊
[ 0.000000] software IO TLB [mem 0xfafff000-0xfefff000] (64MB) mapped at [ffff80007afff000-ffff80007effefff]␍␊
[ 0.000000] Memory: 2769268K/2925888K available (10876K kernel code, 1706K rwdata, 5356K rodata, 1152K init, 423K bss, 140236K reserved, 16384K cma-reserved)␍␊
[ 0.000000] Virtual kernel memory layout:␍␊
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)␍␊
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)␍␊
[ 0.000000] .text : 0xffff000008080000 - 0xffff000008b20000 ( 10880 KB)␍␊
[ 0.000000] .rodata : 0xffff000008b20000 - 0xffff000009060000 ( 5376 KB)␍␊
[ 0.000000] .init : 0xffff000009060000 - 0xffff000009180000 ( 1152 KB)␍␊
[ 0.000000] .data : 0xffff000009180000 - 0xffff00000932aa00 ( 1707 KB)␍␊
[ 0.000000] .bss : 0xffff00000932aa00 - 0xffff000009394668 ( 424 KB)␍␊
[ 0.000000] fixed : 0xffff7dfffe7f9000 - 0xffff7dfffec00000 ( 4124 KB)␍␊
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 MB)␍␊
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)␍␊
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0002fa9400 ( 47 MB actual)␍␊
[ 0.000000] memory : 0xffff800000000000 - 0xffff8000bea50000 ( 3050 MB)␍␊
[ 0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=4, Nodes=1␍␊
[ 0.000000] Preemptible hierarchical RCU implementation.␍␊
[ 0.000000] ⇥ RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.␍␊
[ 0.000000] ⇥ Tasks RCU enabled.␍␊
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4␍␊
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0␍␊
[ 0.000000] GICv3: VLPI support, no direct LPI support␍␊
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000009c00000␍␊
[ 0.000000] GICv2m: range[mem 0x09bd0000-0x09bd0fff], SPI[544:639]␍␊
[ 0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).␍␊
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns␍␊
[ 0.000003] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns␍␊
[ 0.000316] Console: colour dummy device 80x25␍␊
[ 0.000369] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)␍␊
[ 0.000380] pid_max: default: 32768 minimum: 301␍␊
[ 0.000443] Security Framework initialized␍␊
[ 0.001183] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)␍␊
[ 0.001544] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)␍␊
[ 0.001574] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)␍␊
[ 0.001591] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)␍␊
[ 0.015727] ASID allocator initialised with 32768 entries␍␊
[ 0.023724] Hierarchical SRCU implementation.␍␊
[ 0.034132] EFI services will not be available.␍␊
[ 0.039798] smp: Bringing up secondary CPUs ...␍␊
[ 0.068332] Detected PIPT I-cache on CPU1␍␊
[ 0.068361] GICv3: CPU1: found redistributor 1 region 0:0x0000000009c40000␍␊
[ 0.068393] CPU1: Booted secondary processor [511f2112]␍␊
[ 0.099009] Detected PIPT I-cache on CPU2␍␊
[ 0.099870] GICv3: CPU2: found redistributor 100 region 0:0x0000000009c80000␍␊
[ 0.100629] CPU2: Booted secondary processor [511f2052]␍␊
[ 0.134832] Detected PIPT I-cache on CPU3␍␊
[ 0.135675] GICv3: CPU3: found redistributor 101 region 0:0x0000000009cc0000␍␊
[ 0.136378] CPU3: Booted secondary processor [511f2052]␍␊
[ 0.139751] smp: Brought up 1 node, 4 CPUs␍␊
[ 0.139780] SMP: Total of 4 processors activated.␍␊
[ 0.139792] CPU features: detected feature: GIC system register CPU interface␍␊
[ 0.139799] CPU features: detected feature: 32-bit EL0 Support␍␊
[ 0.139805] CPU features: detected feature: Kernel page table isolation (KPTI)␍␊
[ 0.211534] CPU: All CPU(s) started at EL1␍␊
[ 0.211902] alternatives: patching kernel code␍␊
[ 0.213943] devtmpfs: initialized␍␊
[ 0.222768] random: get_random_u32 called from bucket_table_alloc+0x108/0x258 with crng_init=0␍␊
[ 0.223306] Registered cp15_barrier emulation handler␍␊
[ 0.223417] Registered setend emulation handler␍␊
[ 0.223680] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns␍␊
[ 0.223744] futex hash table entries: 1024 (order: 5, 131072 bytes)␍␊
[ 0.224053] pinctrl core: initialized pinctrl subsystem␍␊
[ 0.225688] DMI not present or invalid.␍␊
[ 0.226203] NET: Registered protocol family 16␍␊
[ 0.230198] cpuidle: using governor menu␍␊
[ 0.230316] NET: Registered protocol family 42␍␊
[ 0.231151] vdso: 2 pages (1 code @ ffff000008b26000, 1 data @ ffff000009185000)␍␊
[ 0.231270] hw-breakpoint: found 8 breakpoint and 4 watchpoint registers.␍␊
[ 0.235394] DMA: preallocated 256 KiB pool for atomic allocations␍␊
[ 0.235718] Serial: AMBA PL011 UART driver␍␊
[ 0.282578] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages␍␊
[ 0.283791] ACPI: Interpreter disabled.␍␊
[ 0.284477] reg-fixed-voltage soc:wlan-en-1-8v: could not find pctldev for node /soc/qcom,spmi@400f000/pmic@0/gpios@c000/wlan_en_gpios, deferring probe␍␊
[ 0.286095] vgaarb: loaded␍␊
[ 0.286419] SCSI subsystem initialized␍␊
[ 0.287862] usbcore: registered new interface driver usbfs␍␊
[ 0.287904] usbcore: registered new interface driver hub␍␊
[ 0.287955] usbcore: registered new device driver usb␍␊
[ 0.288741] media: Linux media interface: v0.10␍␊
[ 0.288768] Linux video capture interface: v2.00␍␊
[ 0.288800] pps_core: LinuxPPS API ver. 1 registered␍␊
[ 0.288806] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>␍␊
[ 0.288821] PTP clock support registered␍␊
[ 0.288949] EDAC MC: Ver: 3.0.0␍␊
[ 0.294434] dmi: Firmware registration failed.␍␊
[ 0.298520] Advanced Linux Sound Architecture Driver Initialized.␍␊
[ 0.301101] clocksource: Switched to clocksource arch_sys_counter␍␊
[ 0.301204] VFS: Disk quotas dquot_6.6.0␍␊
[ 0.301257] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)␍␊
[ 0.301407] pnp: PnP ACPI: disabled␍␊
[ 0.307841] NET: Registered protocol family 2␍␊
[ 0.308446] TCP established hash table entries: 32768 (order: 6, 262144 bytes)␍␊
[ 0.308744] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)␍␊
[ 0.308896] TCP: Hash tables configured (established 32768 bind 32768)␍␊
[ 0.309122] UDP hash table entries: 2048 (order: 4, 65536 bytes)␍␊
[ 0.309178] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)␍␊
[ 0.309344] NET: Registered protocol family 1␍␊
[ 0.312392] RPC: Registered named UNIX socket transport module.␍␊
[ 0.313246] RPC: Registered udp transport module.␍␊
[ 0.313256] RPC: Registered tcp transport module.␍␊
[ 0.313261] RPC: Registered tcp NFSv4.1 backchannel transport module.␍␊
[ 0.313435] Unpacking initramfs...␍␊
[ 0.315284] s1: supplied by regulator-dummy␍␊
[ 0.315457] s2: supplied by regulator-dummy␍␊
[ 0.315592] s3: supplied by regulator-dummy␍␊
[ 0.315629] s3: Bringing 0uV into 1300000-1300000uV␍␊
[ 0.316216] s4: supplied by regulator-dummy␍␊
[ 0.316252] s4: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.316590] s5: supplied by regulator-dummy␍␊
[ 0.316622] s5: Bringing 0uV into 2150000-2150000uV␍␊
[ 0.316865] s6: supplied by regulator-dummy␍␊
[ 0.317049] s7: supplied by regulator-dummy␍␊
[ 0.317077] s7: Bringing 0uV into 800000-800000uV␍␊
[ 0.317407] s8: supplied by regulator-dummy␍␊
[ 0.317540] s9: supplied by regulator-dummy␍␊
[ 0.317678] s10: supplied by regulator-dummy␍␊
[ 0.317802] s11: supplied by regulator-dummy␍␊
[ 0.317925] s12: supplied by regulator-dummy␍␊
[ 0.318082] l1: supplied by s3␍␊
[ 0.318115] l1: Bringing 0uV into 1000000-1000000uV␍␊
[ 0.318486] l2: supplied by s3␍␊
[ 0.318517] l2: Bringing 0uV into 1250000-1250000uV␍␊
[ 0.318764] l3: supplied by s3␍␊
[ 0.318795] l3: Bringing 0uV into 850000-850000uV␍␊
[ 0.319117] l4: supplied by s3␍␊
[ 0.319148] l4: Bringing 0uV into 1225000-1225000uV␍␊
[ 0.319462] l5: supplied by s5␍␊
[ 0.319615] l6: supplied by regulator-dummy␍␊
[ 0.319644] l6: Bringing 0uV into 1200000-1200000uV␍␊
[ 0.320047] l7: supplied by s5␍␊
[ 0.320214] l8: supplied by regulator-dummy␍␊
[ 0.320242] l8: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.320629] l9: supplied by regulator-dummy␍␊
[ 0.320658] l9: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.320975] l10: supplied by regulator-dummy␍␊
[ 0.321043] l10: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.321386] l11: supplied by s3␍␊
[ 0.321419] l11: Bringing 0uV into 1150000-1150000uV␍␊
[ 0.321790] l12: supplied by regulator-dummy␍␊
[ 0.321820] l12: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.322225] l13: supplied by regulator-dummy␍␊
[ 0.322255] l13: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.322651] l14: supplied by s5␍␊
[ 0.322693] l14: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.323083] l15: supplied by s5␍␊
[ 0.323117] l15: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.323639] l16: supplied by regulator-dummy␍␊
[ 0.323686] l16: Bringing 0uV into 2700000-2700000uV␍␊
[ 0.324233] l17: supplied by regulator-dummy␍␊
[ 0.324264] l17: Bringing 0uV into 2800000-2800000uV␍␊
[ 0.324929] l18: supplied by regulator-dummy␍␊
[ 0.324964] l18: Bringing 0uV into 2800000-2800000uV␍␊
[ 0.325623] l19: supplied by regulator-dummy␍␊
[ 0.325670] l19: Bringing 0uV into 3000000-3000000uV␍␊
[ 0.326009] l20: supplied by s5␍␊
[ 0.326045] l20: Bringing 0uV into 2950000-2950000uV␍␊
[ 0.326369] l21: supplied by s5␍␊
[ 0.326400] l21: Bringing 0uV into 2950000-2950000uV␍␊
[ 0.326739] l22: supplied by regulator-dummy␍␊
[ 0.326782] l22: Bringing 0uV into 3300000-3300000uV␍␊
[ 0.327143] l23: supplied by regulator-dummy␍␊
[ 0.327173] l23: Bringing 0uV into 2800000-2800000uV␍␊
[ 0.327976] l24: supplied by regulator-dummy␍␊
[ 0.328012] l24: Bringing 0uV into 3075000-3075000uV␍␊
[ 0.328359] l25: supplied by s3␍␊
[ 0.328400] l25: Bringing 0uV into 1200000-1200000uV␍␊
[ 0.328739] l26: supplied by s3␍␊
[ 0.328932] l27: supplied by s3␍␊
[ 0.328962] l27: Bringing 0uV into 1000000-1000000uV␍␊
[ 0.329459] l28: supplied by s3␍␊
[ 0.329504] l28: Bringing 0uV into 925000-925000uV␍␊
[ 0.329889] l29: supplied by regulator-dummy␍␊
[ 0.329927] l29: Bringing 0uV into 2800000-2800000uV␍␊
[ 0.330334] l30: supplied by regulator-dummy␍␊
[ 0.330368] l30: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.330744] l31: supplied by s3␍␊
[ 0.330980] l32: supplied by regulator-dummy␍␊
[ 0.331009] l32: Bringing 0uV into 1800000-1800000uV␍␊
[ 0.331455] lvs1: supplied by s4␍␊
[ 0.333672] lvs2: supplied by s4␍␊
[ 0.469419] Freeing initrd memory: 4628K␍␊
[ 0.473063] kvm [1]: HYP mode not available␍␊
[ 0.480899] audit: initializing netlink subsys (disabled)␍␊
[ 0.485356] workingset: timestamp_bits=44 max_order=20 bucket_order=0␍␊
[ 0.489675] audit: type=2000 audit(0.475:1): state=initialized audit_enabled=0 res=1␍␊
[ 0.490714] squashfs: version 4.0 (2009/01/31) Phillip Lougher␍␊
[ 0.495625] NFS: Registering the id_resolver key type␍␊
[ 0.495652] Key type id_resolver registered␍␊
[ 0.495657] Key type id_legacy registered␍␊
[ 0.495668] nfs4filelayout_init: NFSv4 File Layout Driver Registering...␍␊
[ 0.495822] 9p: Installing v9fs 9p2000 file system support␍␊
[ 0.499202] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)␍␊
[ 0.499215] io scheduler noop registered␍␊
[ 0.499390] io scheduler cfq registered (default)␍␊
[ 0.499396] io scheduler mq-deadline registered␍␊
[ 0.499402] io scheduler kyber registered␍␊
[ 0.506685] qcom-qmp-phy 34000.phy: Registered Qcom-QMP phy␍␊
[ 0.507418] qcom-qmp-phy 7410000.phy: Registered Qcom-QMP phy␍␊
[ 0.508759] ufs_qcom_phy_qmp_14nm 627000.ufsphy: invalid resource␍␊
[ 0.508979] ufs_qcom_phy_qmp_14nm 627000.ufsphy: 627000.ufsphy supply vdda-pll not found, using dummy regulator␍␊
[ 0.509464] ufs_qcom_phy_qmp_14nm 627000.ufsphy: 627000.ufsphy supply vdda-phy not found, using dummy regulator␍␊
[ 0.515960] qcom-pcie 600000.qcom,pcie: Failed to get supply 'vddpe-3v3': -517␍␊
[ 0.516822] qcom-pcie 608000.qcom,pcie: 608000.qcom,pcie supply vddpe-3v3 not found, using dummy regulator␍␊
[ 0.517840] OF: PCI: host bridge /soc/agnoc@0/qcom,pcie@00608000 ranges:␍␊
[ 0.517871] OF: PCI: IO 0x0d200000..0x0d2fffff -> 0x0d200000␍␊
[ 0.517885] OF: PCI: MEM 0x0d300000..0x0dffffff -> 0x0d300000␍␊
[ 1.523174] qcom-pcie 608000.qcom,pcie: phy link never came up␍␊
[ 1.525166] qcom-pcie 608000.qcom,pcie: cannot initialize host␍␊
[ 1.525493] qcom-pcie: probe of 608000.qcom,pcie failed with error -110␍␊
[ 1.526248] qcom-pcie 610000.qcom,pcie: 610000.qcom,pcie supply vddpe-3v3 not found, using dummy regulator␍␊
[ 1.526517] OF: PCI: host bridge /soc/agnoc@0/qcom,pcie@00610000 ranges:␍␊
[ 1.526542] OF: PCI: IO 0x0e200000..0x0e2fffff -> 0x0e200000␍␊
[ 1.526555] OF: PCI: MEM 0x0e300000..0x0fffffff -> 0x0e300000␍␊
[ 2.531471] qcom-pcie 610000.qcom,pcie: phy link never came up␍␊
[ 2.533357] qcom-pcie 610000.qcom,pcie: cannot initialize host␍␊
[ 2.533662] qcom-pcie: probe of 610000.qcom,pcie failed with error -110␍␊
[ 2.541079] gpio-clk clocks:divclk1: could not find pctldev for node /soc/qcom,spmi@400f000/pmic@0/gpios@c000/clk_div1, deferring probe␍␊
[ 2.576614] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled␍␊
[ 2.581474] SuperH (H)SCI(F) driver initialized␍␊
[ 2.582751] msm_serial 7570000.serial: msm_serial: detected port #2␍␊
[ 2.582820] msm_serial 7570000.serial: uartclk = 19200000␍␊
[ 2.582914] 7570000.serial: ttyMSM2 at MMIO 0x7570000 (irq = 9, base_baud = 1200000) is a MSM␍␊
[ 2.583241] serial serial0: tty port ttyMSM2 registered␍␊
[ 2.583622] msm_serial 75b0000.serial: msm_serial: detected port #0␍␊
[ 2.583692] msm_serial 75b0000.serial: uartclk = 7372800␍␊
[ 2.583790] 75b0000.serial: ttyMSM0 at MMIO 0x75b0000 (irq = 13, base_baud = 460800) is a MSM␍␊
[ 2.583829] msm_serial: console setup on port #0␍␊
[ 4.013860] console [ttyMSM0] enabled␍␊
[ 4.019336] msm_serial: driver initialized␍␊
[ 4.023518] arm-smmu da0000.arm,smmu: probing hardware configuration...␍␊
[ 4.026105] arm-smmu da0000.arm,smmu: SMMUv2 with:␍␊
[ 4.032627] arm-smmu da0000.arm,smmu: ⇥ stage 1 translation␍␊
[ 4.037444] arm-smmu da0000.arm,smmu: ⇥ address translation ops␍␊
[ 4.042916] arm-smmu da0000.arm,smmu: ⇥ non-coherent table walk␍␊
[ 4.048730] arm-smmu da0000.arm,smmu: ⇥ (IDR0.CTTW overridden by FW configuration)␍␊
[ 4.054552] arm-smmu da0000.arm,smmu: ⇥ stream matching with 4 register groups␍␊
[ 4.062155] arm-smmu da0000.arm,smmu: ⇥ 2 context banks (0 stage-2 only)␍␊
[ 4.069244] arm-smmu da0000.arm,smmu: ⇥ Supported page sizes: 0x63315000␍␊
[ 4.075674] arm-smmu da0000.arm,smmu: ⇥ Stage-1: 32-bit VA -> 36-bit IPA␍␊
[ 4.083889] arm-smmu d00000.arm,smmu: probing hardware configuration...␍␊
[ 4.088851] arm-smmu d00000.arm,smmu: SMMUv2 with:␍␊
[ 4.095465] arm-smmu d00000.arm,smmu: ⇥ stage 1 translation␍␊
[ 4.100294] arm-smmu d00000.arm,smmu: ⇥ address translation ops␍␊
[ 4.105760] arm-smmu d00000.arm,smmu: ⇥ non-coherent table walk␍␊
[ 4.111578] arm-smmu d00000.arm,smmu: ⇥ (IDR0.CTTW overridden by FW configuration)␍␊
[ 4.117397] arm-smmu d00000.arm,smmu: ⇥ stream matching with 2 register groups␍␊
[ 4.124977] arm-smmu d00000.arm,smmu: ⇥ 2 context banks (0 stage-2 only)␍␊
[ 4.132089] arm-smmu d00000.arm,smmu: ⇥ Supported page sizes: 0x63315000␍␊
[ 4.138485] arm-smmu d00000.arm,smmu: ⇥ Stage-1: 32-bit VA -> 36-bit IPA␍␊
[ 4.146411] arm-smmu 1600000.arm,smmu-lpass_q6: probing hardware configuration...␍␊
[ 4.151702] arm-smmu 1600000.arm,smmu-lpass_q6: SMMUv2 with:␍␊
[ 4.159355] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ stage 1 translation␍␊
[ 4.165047] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ address translation ops␍␊
[ 4.171399] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ non-coherent table walk␍␊
[ 4.178073] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ (IDR0.CTTW overridden by FW configuration)␍␊
[ 4.184768] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ stream matching with 15 register groups␍␊
[ 4.192859] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ 12 context banks (0 stage-2 only)␍␊
[ 4.201213] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ Supported page sizes: 0x63315000␍␊
[ 4.208543] arm-smmu 1600000.arm,smmu-lpass_q6: ⇥ Stage-1: 36-bit VA -> 36-bit IPA␍␊
[ 4.218182] arm-smmu d40000.arm,smmu-venus: probing hardware configuration...␍␊
[ 4.223577] arm-smmu d40000.arm,smmu-venus: SMMUv2 with:␍␊
[ 4.230724] arm-smmu d40000.arm,smmu-venus: ⇥ stage 1 translation␍␊
[ 4.236057] arm-smmu d40000.arm,smmu-venus: ⇥ address translation ops␍␊
[ 4.242044] arm-smmu d40000.arm,smmu-venus: ⇥ non-coherent table walk␍␊
[ 4.248383] arm-smmu d40000.arm,smmu-venus: ⇥ (IDR0.CTTW overridden by FW configuration)␍␊
[ 4.254723] arm-smmu d40000.arm,smmu-venus: ⇥ stream matching with 42 register groups␍␊
[ 4.262486] arm-smmu d40000.arm,smmu-venus: ⇥ 7 context banks (0 stage-2 only)␍␊
[ 4.270469] arm-smmu d40000.arm,smmu-venus: ⇥ Supported page sizes: 0x63315000␍␊
[ 4.277462] arm-smmu d40000.arm,smmu-venus: ⇥ Stage-1: 32-bit VA -> 36-bit IPA␍␊
[ 4.317993] loop: module loaded␍␊
[ 4.320249] ufshcd-qcom 624000.ufshc: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled␍␊
[ 4.323754] scsi host0: ufshcd␍␊
[ 4.351697] spi_qup 7575000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64␍␊
[ 4.353522] spi_qup 75ba000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64␍␊
[ 4.360097] spmi spmi-0: PMIC arbiter version v2 (0x20010000)␍␊
[ 4.363959] ufshcd-qcom 624000.ufshc: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0␍␊
[ 4.384192] ufshcd-qcom 624000.ufshc: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[1, 1], pwr[FAST MODE, FAST MODE], rate = 2␍␊
[ 4.384823] scsi 0:0:0:49488: Well-known LUN TOSHIBA THGAF4G8N2LBAIRB 0100 PQ: 0 ANSI: 6␍␊
[ 4.389703] s1: supplied by regulator-dummy␍␊
[ 4.390201] s2: supplied by regulator-dummy␍␊
[ 4.390292] s2: Bringing 1270000uV into 1015000-1015000uV␍␊
[ 4.391188] l1: supplied by regulator-dummy␍␊
[ 4.393647] wcd9335-slim 217:1a0:1:0: mclk not found␍␊
[ 4.393657] wcd9335-slim 217:1a0:1:0: Error parsing DT (-517)␍␊
[ 4.400257] libphy: Fixed MDIO Bus: probed␍␊
[ 4.400705] tun: Universal TUN/TAP device driver, 1.6␍␊
[ 4.407293] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k␍␊
[ 4.407298] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.␍␊
<break>
␍␊
Format: Log Type - Time(microsec) - Message - Optional Info␍␊
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic␍␊
S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-00306␍␊
S - IMAGE_VARIANT_STRING=M8996LAB␍␊
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu39␍␊
S - Boot Interface: UFS␍␊
S - Secure Boot: Off␍␊
S - Boot Config @ 0x00076044 = 0x000001c9␍␊
S - JTAG ID @ 0x000760f4 = 0x4003e0e1␍␊
S - OEM ID @ 0x000760f8 = 0x00000000␍␊
S - Serial Number @ 0x00074138 = 0x067b3dae␍␊
S - OEM Config Row 0 @ 0x00074188 = 0x0000000000000000␍␊
S - OEM Config Row 1 @ 0x00074190 = 0x0000000000000000␍␊
S - Feature Config Row 0 @ 0x000741a0 = 0x0050000010000100␍␊
S - Feature Config Row 1 @ 0x000741a8 = 0x00fff00001ffffff␍␊
S - Core 0 Frequency, 1228 MHz␍␊
B - 0 - PBL, Start␍␊
B - 10413 - bootable_media_detect_entry, Start␍␊
B - 47073 - bootable_media_detect_success, Start␍␊
B - 47077 - elf_loader_entry, Start␍␊
B - 48115 - auth_hash_seg_entry, Start␍␊
B - 48216 - auth_hash_seg_exit, Start␍␊
B - 80129 - elf_segs_hash_verify_entry, Start␍␊
B - 82629 - PBL, End␍␊
B - 84607 - SBL1, Start␍␊
B - 180529 - usb: hs_phy_nondrive_start␍␊
B - 180865 - usb: PLL lock success - 0x3␍␊
B - 183854 - usb: hs_phy_nondrive_finish␍␊
B - 187971 - boot_flash_init, Start␍␊
D - 0 - boot_flash_init, Delta␍␊
B - 195078 - sbl1_ddr_set_default_params, Start␍␊
D - 0 - sbl1_ddr_set_default_params, Delta␍␊
B - 203069 - boot_config_data_table_init, Start␍␊
D - 96563 - boot_config_data_table_init, Delta - (60 Bytes)␍␊
B - 304115 - CDT Version:3,Platform ID:10,Major ID:1,Minor ID:0,Subtype:28␍␊
B - 308873 - Image Load, Start␍␊
D - 22174 - PMIC Image Loaded, Delta - (37368 Bytes)␍␊
B - 331077 - pm_device_init, Start␍␊
B - 336842 - PON REASON:PM0:0x200020021 PM1:0x200020021 ␍␊
B - 373137 - PM_SET_VAL:Skip␍␊
D - 39924 - pm_device_init, Delta␍␊
B - 375058 - pm_driver_init, Start␍␊
D - 2928 - pm_driver_init, Delta␍␊
B - 381646 - pm_sbl_chg_init, Start␍␊
D - 91 - pm_sbl_chg_init, Delta␍␊
B - 388417 - vsense_init, Start␍␊
D - 0 - vsense_init, Delta␍␊
B - 396408 - Pre_DDR_clock_init, Start␍␊
D - 366 - Pre_DDR_clock_init, Delta␍␊
B - 402051 - ddr_initialize_device, Start␍␊
B - 405741 - 8996 v3.x detected, Max frequency = 1.8 GHz␍␊
B - 412177 - ddr_initialize_device, Delta␍␊
B - 415318 - Basic DDR tests done␍␊
B - 1994486 - clock_init, Start␍␊
D - 244 - clock_init, Delta␍␊
B - 1996469 - Image Load, Start␍␊
D - 6374 - QSEE Dev Config Image Loaded, Delta - (46008 Bytes)␍␊
B - 2003179 - Image Load, Start␍␊
D - 5459 - APDP Image Loaded, Delta - (0 Bytes)␍␊
B - 2033160 - usb: fedl, vbus_low␍␊
B - 2033221 - Image Load, Start␍␊
D - 10706 - XBLRamDump Image Loaded, Delta - (342782 Bytes)␍␊
B - 2098552 - usb: init start␍␊
B - 2100352 - usb: PLL lock success , 0x2␍␊
B - 2117828 - usb: FULL , 0x900e␍␊
but sometimes it goes past e1000e: Copyright(c) 1999 - 2015 Intel Corporation
line and I get:
[ 4.740059] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.␍␊
[ 4.745866] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k␍␊
[ 4.751609] igb: Copyright (c) 2007-2014 Intel Corporation.␍␊
[ 4.758606] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k␍␊
[ 4.764110] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.␍␊
[ 4.773064] sky2: driver version 1.30␍␊
[ 4.778887] usbcore: registered new interface driver rtl8150␍␊
[ 4.781699] usbcore: registered new interface driver r8152␍␊
[ 4.787443] usbcore: registered new interface driver asix␍␊
[ 4.792711] usbcore: registered new interface driver ax88179_178a␍␊
[ 4.798413] VFIO - User Level meta-driver version: 0.3␍␊
[ 4.809864] dwc3 7600000.dwc3: failed to initialize core␍␊
[ 4.813520] dwc3 6a00000.dwc3: failed to initialize core␍␊
[ 4.816927] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver␍␊
[ 4.820052] ehci-pci: EHCI PCI platform driver␍␊
[ 4.826412] ehci-platform: EHCI generic platform driver␍␊
[ 4.831171] ehci-orion: EHCI orion driver␍␊
[ 4.836186] ehci-exynos: EHCI EXYNOS driver␍␊
[ 4.840350] ehci-msm: Qualcomm On-Chip EHCI Host Controller␍␊
[ 4.844330] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver␍␊
[ 4.849634] ohci-pci: OHCI PCI platform driver␍␊
[ 4.855932] ohci-platform: OHCI generic platform driver␍␊
[ 4.860637] ohci-exynos: OHCI EXYNOS driver␍␊
[ 4.866594] usbcore: registered new interface driver usb-storage␍␊
[ 4.869740] usbcore: registered new interface driver usbserial␍␊
[ 4.875868] usbcore: registered new interface driver usbserial_generic␍␊
[ 4.881517] usbserial: USB Serial support registered for generic␍␊
[ 4.894484] i2c /dev entries driver␍␊
[ 4.899371] i2c_qup 7579000.i2c: using default clock-frequency 100000␍␊
[ 4.899411] i2c_qup 7579000.i2c: ␍␊
[ 4.899411] tx channel not available␍␊
Am I doing something wrong when adding new I2C to BLSP QUP or is this a bug? I also tried this patch, but without success