Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save antony-jr/1f9e137493237a6d554b043ed92d458f to your computer and use it in GitHub Desktop.
Save antony-jr/1f9e137493237a6d554b043ed92d458f to your computer and use it in GitHub Desktop.
Full Device Tree:
// SPDX-License-Identifier: GPL-2.0-only
/dts-v1/;
#include "msm8916-pm8916.dtsi"
#include "msm8916-no-psci.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/sound/apq8016-lpass.h>
#include <dt-bindings/power/summit,smb347-charger.h>
/ {
model = "Asus Zenfone 2 Laser";
compatible = "asus,z00l", "qcom,msm8916";
aliases {
serial0 = &blsp1_uart2;
};
chosen {
stdout-path = "serial0";
};
bat: battery {
compatible = "simple-battery";
voltage-min-design-microvolt = <3400000>;
voltage-max-design-microvolt = <4400000>;
ocv-capacity-celsius = <25>;
ocv-capacity-table-0 = <4378000 100>, <4312000 95>, <4253000 90>,
<4195000 85>, <4138000 80>, <4084000 75>, <4034000 70>,
<3986000 65>, <3936000 60>, <3886000 55>, <3854000 50>,
<3828000 45>, <3806000 40>, <3789000 35>, <3772000 30>,
<3755000 25>, <3736000 20>, <3716000 16>, <3698000 13>,
<3688000 11>, <3686000 10>, <3684000 9>, <3682000 8>,
<3678000 7>, <3666000 6>, <3638000 5>, <3592000 4>,
<3532000 3>, <3448000 2>, <3314000 1>, <3000000 0>;
};
gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&gpio_keys_default>;
label = "GPIO Buttons";
volume-up {
label = "Volume Up";
gpios = <&msmgpio 107 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
debounce-interval = <15>;
};
volume-down {
label = "Volume Down";
gpios = <&msmgpio 117 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
debounce-interval = <15>;
};
};
usb_id: usb-id {
compatible = "linux,extcon-usb-gpio";
id-gpios = <&msmgpio 110 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&usb_id_default>;
};
};
&blsp_i2c4 {
status = "okay";
charger_power_supply: charger@6a {
compatible = "summit,smb358";
reg = <0x6a>;
interrupt-parent = <&msmgpio>;
interrupts = <20 IRQ_TYPE_EDGE_BOTH>;
summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW>;
summit,chip-temperature-threshold-celsius = <110>;
///summit,mains-current-limit-microamp = <2000000>;
summit,usb-current-limit-microamp = <500000>;
summit,enable-usb-charging;
//summit,enable-mains-charging;
summit,enable-otg-charging;
monitored-battery = <&bat>;
};
};
&blsp_i2c5 {
status = "okay";
touchscreen@38 {
compatible = "edt,edt-ft5306";
reg = <0x38>;
interrupt-parent = <&msmgpio>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&msmgpio 12 GPIO_ACTIVE_LOW>;
vcc-supply = <&pm8916_l11>;
// TODO: iovcc-supply <&pm8916_l6>;
touchscreen-size-x = <720>;
touchscreen-size-y = <1280>;
pinctrl-names = "default";
pinctrl-0 = <&touchscreen_default>;
};
};
&blsp1_uart2 {
status = "okay";
};
&dsi0 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&mdss_default>;
pinctrl-1 = <&mdss_sleep>;
panel@0 {
compatible = "asus,z00l-panel";
reg = <0>;
reset-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>;
backlight-gpios = <&msmgpio 21 GPIO_ACTIVE_HIGH>;
power-supply = <&pm8916_l8>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_bl_en_default>;
port {
panel_in: endpoint {
remote-endpoint = <&dsi0_out>;
};
};
};
};
&dsi0_out {
data-lanes = <0 1 2 3>;
remote-endpoint = <&panel_in>;
};
&lpass {
status = "okay";
};
&pm8916_bms {
status = "okay";
monitored-battery = <&bat>;
power-supplies = <&charger_power_supply>;
};
&pronto {
status = "okay";
};
&sdhc_1 {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
};
&sdhc_2 {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
};
&sound {
status = "okay";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&cdc_pdm_lines_act>;
pinctrl-1 = <&cdc_pdm_lines_sus>;
model = "msm8916";
audio-routing =
"AMIC1", "MIC BIAS External1",
"AMIC2", "MIC BIAS Internal2",
"AMIC3", "MIC BIAS External1";
dai-link-primary {
link-name = "Primary MI2S";
cpu {
sound-dai = <&lpass MI2S_PRIMARY>;
};
codec {
sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
};
};
dai-link-tertiary {
link-name = "Tertiary MI2S";
cpu {
sound-dai = <&lpass MI2S_TERTIARY>;
};
codec {
sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
};
};
};
&usb {
status = "okay";
extcon = <&usb_id>, <&usb_id>;
};
&usb_hs_phy {
extcon = <&usb_id>;
};
&wcd_codec {
qcom,micbias-lvl = <2800>;
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
qcom,micbias1-ext-cap;
};
&smd_rpm_regulators {
vdd_l1_l2_l3-supply = <&pm8916_s3>;
vdd_l4_l5_l6-supply = <&pm8916_s4>;
vdd_l7-supply = <&pm8916_s4>;
s3 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1300000>;
};
s4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2100000>;
};
l1 {
regulator-min-microvolt = <1225000>;
regulator-max-microvolt = <1225000>;
};
l2 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
l4 {
regulator-min-microvolt = <2050000>;
regulator-max-microvolt = <2050000>;
};
l5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
l6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
l7 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
l8 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2900000>;
};
l9 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
l10 {
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2800000>;
};
l11 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
regulator-allow-set-load;
regulator-system-load = <200000>;
};
l12 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
};
l13 {
regulator-min-microvolt = <3075000>;
regulator-max-microvolt = <3075000>;
};
l14 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
l15 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
l16 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
l17 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
l18 {
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
};
};
&msmgpio {
gpio_keys_default: gpio-keys-default {
pins = "gpio107", "gpio117";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
lcd_bl_en_default: lcd-bl-en-default {
pins = "gpio21";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
mdss {
mdss_default: mdss-default {
pins = "gpio25";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
mdss_sleep: mdss-sleep {
pins = "gpio25";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
};
touchscreen_default: touchscreen-default {
pins = "gpio13";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
reset {
pins = "gpio12";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
};
usb_id_default: usb-id-default {
pins = "gpio110";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
};
cat /sys/kernel/debug/gpio:
gpio0 : in high func0 16mA pull up
gpio1 : in high func0 16mA pull up
gpio2 : in low func0 16mA pull up
gpio3 : in low func0 16mA pull up
gpio4 : out low func2 16mA no pull
gpio5 : out low func2 16mA no pull
gpio6 : in low func0 2mA pull down
gpio7 : in low func0 2mA pull down
gpio8 : in high func0 16mA pull up
gpio9 : in high func0 16mA pull up
gpio10 : in low func0 16mA pull up
gpio11 : in high func0 16mA pull up
gpio12 : out high func0 2mA no pull
gpio13 : in high func0 2mA pull up
gpio14 : in high func2 2mA no pull
gpio15 : in high func2 2mA no pull
gpio16 : in high func0 16mA pull up
gpio17 : in high func0 16mA pull up
gpio18 : in low func2 2mA no pull
gpio19 : in low func2 2mA no pull
gpio20 : in low func0 2mA pull down
gpio21 : out low func0 2mA no pull
gpio22 : in low func0 16mA pull up
gpio23 : in low func0 2mA pull down
gpio24 : in high func0 16mA pull up
gpio25 : out low func0 2mA pull down
gpio26 : in low func0 2mA pull down
gpio27 : in low func0 2mA pull down
gpio28 : in low func0 2mA pull down
gpio29 : in low func0 2mA pull down
gpio30 : in low func0 2mA pull down
gpio31 : in low func0 2mA pull down
gpio32 : in low func0 2mA pull down
gpio33 : in low func0 2mA pull down
gpio34 : in low func0 2mA pull down
gpio35 : in low func0 2mA pull down
gpio36 : in low func0 2mA pull down
gpio37 : in low func0 2mA pull down
gpio38 : in low func0 2mA pull down
gpio39 : in low func1 6mA pull down
gpio40 : in low func1 6mA pull down
gpio41 : in low func1 6mA pull down
gpio42 : in low func1 6mA pull down
gpio43 : in low func1 6mA pull down
gpio44 : in low func1 6mA pull down
gpio45 : in low func0 2mA pull down
gpio46 : in low func0 2mA pull down
gpio47 : in low func1 6mA pull down
gpio48 : in low func1 6mA pull down
gpio49 : in low func0 2mA pull down
gpio50 : in high func0 16mA pull up
gpio51 : in low func0 2mA pull down
gpio52 : in low func0 2mA pull down
gpio53 : in low func0 2mA pull down
gpio54 : in low func0 2mA pull down
gpio55 : in low func0 2mA pull down
gpio56 : in low func0 2mA pull down
gpio57 : in low func0 2mA pull down
gpio58 : in low func0 2mA pull down
gpio59 : in low func0 2mA pull down
gpio60 : in low func0 2mA pull down
gpio61 : in low func0 2mA pull down
gpio62 : in low func0 2mA pull down
gpio63 : in low func1 8mA no pull
gpio64 : in low func1 8mA no pull
gpio65 : in low func1 8mA no pull
gpio66 : in low func1 8mA no pull
gpio67 : in low func1 8mA no pull
gpio68 : in low func1 8mA no pull
gpio69 : in high func0 16mA pull up
gpio70 : in low func0 2mA pull down
gpio71 : in low func0 2mA pull down
gpio72 : in low func0 2mA pull down
gpio73 : in low func0 2mA pull down
gpio74 : in high func0 16mA pull up
gpio75 : in low func0 2mA pull down
gpio76 : in low func0 2mA pull down
gpio77 : in low func0 16mA pull up
gpio78 : in low func0 2mA pull down
gpio79 : in low func0 16mA pull up
gpio80 : in low func0 2mA pull down
gpio81 : in low func0 2mA pull down
gpio82 : in low func0 2mA pull down
gpio83 : in low func0 2mA pull down
gpio84 : in low func0 2mA pull down
gpio85 : in low func0 2mA pull down
gpio86 : in low func0 2mA pull down
gpio87 : in low func0 2mA pull down
gpio88 : in low func0 2mA pull down
gpio89 : in low func0 2mA pull down
gpio90 : in low func0 2mA pull down
gpio91 : in low func0 2mA pull down
gpio92 : in low func0 2mA pull down
gpio93 : in low func0 2mA pull down
gpio94 : in low func0 2mA pull down
gpio95 : in low func0 2mA pull down
gpio96 : in low func0 2mA pull down
gpio97 : in low func0 2mA pull down
gpio98 : in low func0 2mA pull down
gpio99 : in low func0 2mA pull down
gpio100 : in high func0 16mA pull up
gpio101 : in low func0 16mA pull up
gpio102 : in high func0 16mA pull up
gpio103 : in low func0 2mA pull down
gpio104 : in low func0 2mA pull down
gpio105 : in low func0 2mA pull down
gpio106 : in low func0 2mA pull down
gpio107 : in high func0 2mA pull up
gpio108 : in low func0 2mA pull down
gpio109 : in high func0 16mA pull up
gpio110 : in high func0 8mA pull up
gpio111 : in low func0 2mA pull down
gpio112 : in low func0 2mA pull down
gpio113 : in low func0 2mA pull down
gpio114 : in low func0 2mA pull down
gpio115 : in low func0 2mA pull down
gpio116 : in low func0 2mA pull down
gpio117 : in high func0 2mA pull up
gpio118 : in low func0 2mA pull down
gpio119 : in low func0 2mA pull down
gpio120 : in low func0 2mA pull down
gpio121 : in low func0 2mA pull down
Dmesg From Phosh:
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd030]
[ 0.000000] Linux version 5.9.0-rc7-postmarketos-qcom-msm8916 (pmos@Liz) (aarch64-alpine-linux-musl-gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Thu Dec 10 15:15:57 UTC 2020
[ 0.000000] Machine model: Asus Zenfone 2 Laser
[ 0.000000] earlycon: msm_serial_dm0 at MMIO 0x00000000078b0000 (options '')
[ 0.000000] printk: bootconsole [msm_serial_dm0] enabled
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DMA32 [mem 0x00000000c0000000-0x00000000ffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000085ffffff]
[ 0.000000] node 0: [mem 0x0000000089f00000-0x000000008e9fffff]
[ 0.000000] node 0: [mem 0x000000008eb00000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] On node 0 totalpages: 507904
[ 0.000000] DMA zone: 3840 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 245760 pages, LIFO batch:63
[ 0.000000] DMA32 zone: 4096 pages used for memmap
[ 0.000000] DMA32 zone: 262144 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 22 pages/cpu s49176 r8192 d32744 u90112
[ 0.000000] pcpu-alloc: s49176 r8192 d32744 u90112 alloc=22*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM errata 826319, 827319, 824069, or 819472
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 499968
[ 0.000000] Kernel command line: earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] (64MB)
[ 0.000000] Memory: 1857792K/2031616K available (7742K kernel code, 652K rwdata, 2908K rodata, 1472K init, 347K bss, 141056K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] random: get_random_bytes called from start_kernel+0x310/0x4d8 with crng_init=0
[ 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.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.010893] Console: colour dummy device 80x25
[ 0.018777] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[ 0.023274] pid_max: default: 32768 minimum: 301
[ 0.033694] LSM: Security Framework initializing
[ 0.038350] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.042904] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.051295] qcom_scm: convention: smc arm 32
[ 0.058669] rcu: Hierarchical SRCU implementation.
[ 0.063291] smp: Bringing up secondary CPUs ...
[ 0.067668] Detected VIPT I-cache on CPU1
[ 0.067725] CPU1: Booted secondary processor 0x0000000001 [0x410fd030]
[ 0.068430] Detected VIPT I-cache on CPU2
[ 0.068476] CPU2: Booted secondary processor 0x0000000002 [0x410fd030]
[ 0.069161] Detected VIPT I-cache on CPU3
[ 0.069202] CPU3: Booted secondary processor 0x0000000003 [0x410fd030]
[ 0.069284] smp: Brought up 1 node, 4 CPUs
[ 0.102963] SMP: Total of 4 processors activated.
[ 0.107034] CPU features: detected: 32-bit EL0 Support
[ 0.111825] CPU features: detected: CRC32 instructions
[ 0.124329] CPU: All CPU(s) started at EL1
[ 0.124370] alternatives: patching kernel code
[ 0.128431] devtmpfs: initialized
[ 0.142198] KASLR disabled due to lack of seed
[ 0.142566] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.145563] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.156678] pinctrl core: initialized pinctrl subsystem
[ 0.163409] NET: Registered protocol family 16
[ 0.169020] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.171801] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.179132] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.186785] audit: initializing netlink subsys (disabled)
[ 0.194566] audit: type=2000 audit(0.140:1): state=initialized audit_enabled=0 res=1
[ 0.194984] thermal_sys: Registered thermal governor 'step_wise'
[ 0.199910] cpuidle: using governor menu
[ 0.213848] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.217660] ASID allocator initialised with 65536 entries
[ 0.254453] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.254481] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.260262] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.266911] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.274790] cryptd: max_cpu_qlen set to 1000
[ 0.282518] iommu: Default domain type: Translated
[ 0.284822] SCSI subsystem initialized
[ 0.289254] usbcore: registered new interface driver usbfs
[ 0.292968] usbcore: registered new interface driver hub
[ 0.298490] usbcore: registered new device driver usb
[ 0.304058] pps_core: LinuxPPS API ver. 1 registered
[ 0.308830] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.313881] PTP clock support registered
[ 0.323327] qcom_scm: convention: smc arm 32
[ 0.327657] Advanced Linux Sound Architecture Driver Initialized.
[ 0.331930] clocksource: Switched to clocksource arch_sys_counter
[ 0.337373] VFS: Disk quotas dquot_6.6.0
[ 0.343264] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.354268] NET: Registered protocol family 2
[ 0.354711] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.358363] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.366975] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 0.374946] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.381985] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.388507] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.395478] NET: Registered protocol family 1
[ 0.402543] Unpacking initramfs...
[ 0.953725] Freeing initrd memory: 21432K
[ 0.954342] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.958830] Initialise system trusted keyrings
[ 0.965025] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 1.029749] Key type asymmetric registered
[ 1.029772] Asymmetric key parser 'x509' registered
[ 1.032775] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.037518] io scheduler mq-deadline registered
[ 1.045147] io scheduler kyber registered
[ 1.055656] msm_serial 78b0000.serial: msm_serial: detected port #0
[ 1.055710] msm_serial 78b0000.serial: uartclk = 7372800
[ 1.060778] 78b0000.serial: ttyMSM0 at MMIO 0x78b0000 (irq = 21, base_baud = 460800) is a MSM
[ 1.066311] msm_serial: console setup on port #0
[ 1.074768] printk: console [ttyMSM0] enabled
[ 1.078106] printk: bootconsole [msm_serial_dm0] disabled
[ 1.088344] msm_serial: driver initialized
[ 1.093476] qcom-iommu 1ef0000.iommu: iommu sec: pgtable size: 94208
[ 1.132984] loop: module loaded
[ 1.133524] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[ 1.178399] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.178516] usbcore: registered new interface driver usb-storage
[ 1.198338] rtc-pm8xxx 200f000.spmi:pmic@0:rtc@6000: registered as rtc0
[ 1.198408] rtc-pm8xxx 200f000.spmi:pmic@0:rtc@6000: setting system clock to 1970-01-22T02:26:24 UTC (1823184)
[ 1.203835] i2c /dev entries driver
[ 1.214084] i2c_qup 78b8000.i2c: using default clock-frequency 100000
[ 1.217224] i2c_qup 78b8000.i2c:
tx channel not available
[ 1.229394] i2c_qup 78b9000.i2c: using default clock-frequency 100000
[ 1.230578] i2c_qup 78b9000.i2c:
tx channel not available
[ 1.248475] input: pm8941_pwrkey as /devices/platform/soc/200f000.spmi/spmi-0/0-00/200f000.spmi:pmic@0:pon@800/200f000.spmi:pmic@0:pon@800:pwrkey/input/input0
[ 1.259277] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 58
[ 1.269061] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: [email protected]
[ 1.271738] sdhci: Secure Digital Host Controller Interface driver
[ 1.277545] sdhci: Copyright(c) Pierre Ossman
[ 1.283494] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.296905] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.298026] usbcore: registered new interface driver usbhid
[ 1.302041] usbhid: USB HID core driver
[ 1.307628] ashmem: initialized
[ 1.317205] NET: Registered protocol family 17
[ 1.317412] registered taskstats version 1
[ 1.320583] Loading compiled-in X.509 certificates
[ 1.365255] debugfs: Directory '4a9000.thermal-sensor' with parent 'tsens' already present!
[ 1.366915] spmi-temp-alarm 200f000.spmi:pmic@0:temp-alarm@2400: failed to register sensor
[ 1.378931] s1: supplied by regulator-dummy
[ 1.380956] s2: supplied by regulator-dummy
[ 1.385016] s3: supplied by regulator-dummy
[ 1.389029] s3: Bringing 0uV into 1200000-1200000uV
[ 1.393323] s4: supplied by regulator-dummy
[ 1.398052] s4: Bringing 0uV into 1800000-1800000uV
[ 1.402319] l1: supplied by s3
[ 1.407098] l1: Bringing 0uV into 1225000-1225000uV
[ 1.410306] l2: supplied by s3
[ 1.414970] l2: Bringing 0uV into 1200000-1200000uV
[ 1.418209] l3: supplied by s3
[ 1.422978] l4: supplied by s4
[ 1.426021] l4: Bringing 0uV into 2050000-2050000uV
[ 1.429154] l5: supplied by s4
[ 1.433808] l5: Bringing 0uV into 1800000-1800000uV
[ 1.437056] l6: supplied by s4
[ 1.441706] l6: Bringing 0uV into 1800000-1800000uV
[ 1.444947] l7: supplied by s4
[ 1.449630] l7: Bringing 0uV into 1800000-1800000uV
[ 1.452868] l8: supplied by regulator-dummy
[ 1.457507] l8: Bringing 0uV into 2850000-2850000uV
[ 1.461811] l9: supplied by regulator-dummy
[ 1.466534] l9: Bringing 0uV into 3300000-3300000uV
[ 1.470835] l10: supplied by regulator-dummy
[ 1.475584] l10: Bringing 0uV into 2700000-2700000uV
[ 1.480245] l11: supplied by regulator-dummy
[ 1.485037] l11: Bringing 0uV into 1800000-1800000uV
[ 1.489430] l12: supplied by regulator-dummy
[ 1.494230] l12: Bringing 0uV into 1800000-1800000uV
[ 1.498622] l13: supplied by regulator-dummy
[ 1.503449] l13: Bringing 0uV into 3075000-3075000uV
[ 1.507825] l14: supplied by regulator-dummy
[ 1.512633] l14: Bringing 0uV into 1800000-1800000uV
[ 1.517014] l15: supplied by regulator-dummy
[ 1.521831] l15: Bringing 0uV into 1800000-1800000uV
[ 1.526219] l16: supplied by regulator-dummy
[ 1.531055] l16: Bringing 0uV into 1800000-1800000uV
[ 1.535437] l17: supplied by regulator-dummy
[ 1.540233] l17: Bringing 0uV into 2850000-2850000uV
[ 1.544622] l18: supplied by regulator-dummy
[ 1.549432] l18: Bringing 0uV into 2700000-2700000uV
[ 1.587687] mmc0: SDHCI controller on 7864900.sdhci [7864900.sdhci] using ADMA 64-bit
[ 1.626318] mmc1: SDHCI controller on 7824900.sdhci [7824900.sdhci] using ADMA 64-bit
[ 1.627735] input: GPIO Buttons as /devices/platform/gpio-keys/input/input1
[ 1.634048] ALSA device list:
[ 1.639915] No soundcards found.
[ 1.643820] Freeing unused kernel memory: 1472K
[ 1.652104] Run /init as init process
[ 1.652122] with arguments:
[ 1.652126] /init
[ 1.652130] PMOS_NO_OUTPUT_REDIRECT
[ 1.652133] with environment:
[ 1.652137] HOME=/
[ 1.652140] TERM=linux
[ 1.716046] random: fast init done
[ 1.716709] mmc1: new HS200 MMC card at address 0001
[ 1.718968] mmcblk1: mmc1:0001 R1J96N 14.7 GiB
[ 1.723750] mmcblk1boot0: mmc1:0001 R1J96N partition 1 4.00 MiB
[ 1.728032] mmcblk1boot1: mmc1:0001 R1J96N partition 2 4.00 MiB
[ 1.733920] mmcblk1rpmb: mmc1:0001 R1J96N partition 3 4.00 MiB, chardev (244:0)
[ 1.744999] GPT:partition_entry_array_crc32 values don't match: 0x747369eb != 0x2b309abe
[ 1.746810] GPT: Use GNU Parted to correct GPT errors.
[ 1.755271] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30 p31 p32 p33 p34 p35 p36 p37 p38 p39 p40 p41 p42 p43 p44 p45 p46
[ 2.757113] input: generic ft5x06 (51) as /devices/platform/soc/78b9000.i2c/i2c-1/1-0038/input/input2
[ 4.783683] adreno 1c00000.gpu: Adding to iommu group 0
[ 4.784921] msm_mdp 1a01000.mdp: Adding to iommu group 1
[ 4.787858] msm_mdp 1a01000.mdp: No interconnect support may cause display underflows!
[ 4.796892] msm 1a00000.mdss: supply vdd not found, using dummy regulator
[ 4.801620] msm_mdp 1a01000.mdp: [drm:mdp5_bind [msm]] MDP5 version v1.6
[ 4.808011] msm 1a00000.mdss: bound 1a01000.mdp (ops mdp5_ops [msm])
[ 4.814688] msm_dsi 1a98000.dsi: supply gdsc not found, using dummy regulator
[ 4.821262] msm_dsi 1a98000.dsi: supply gdsc not found, using dummy regulator
[ 4.829085] msm 1a00000.mdss: bound 1a98000.dsi (ops dsi_ops [msm])
[ 4.835394] adreno 1c00000.gpu: supply vdd not found, using dummy regulator
[ 4.841325] adreno 1c00000.gpu: supply vddcx not found, using dummy regulator
[ 4.848491] msm 1a00000.mdss: bound 1c00000.gpu (ops a3xx_ops [msm])
[ 4.872719] msm 1a00000.mdss: fall back to the other CTL category for INTF 1!
[ 4.874714] [drm] Initialized msm 1.6.0 20130625 for 1a00000.mdss on minor 0
[ 4.879004] msm 1a00000.mdss: Direct firmware load for qcom/a300_pm4.fw failed with error -2
[ 4.886075] msm 1a00000.mdss: [drm:adreno_request_fw [msm]] *ERROR* failed to load a300_pm4.fw
[ 5.102700] [drm:mdp5_irq_error_handler [msm]] *ERROR* errors: 04000000
[ 5.135903] Console: switching to colour frame buffer device 90x80
[ 5.192918] msm 1a00000.mdss: [drm] fb0: msmdrmfb frame buffer device
[ 6.748672] using random self ethernet address
[ 6.752177] using random host ethernet address
[ 6.776418] usb0: HOST MAC 4e:3e:63:02:ce:5c
[ 6.776530] usb0: MAC 5e:d4:84:f1:8a:96
[ 6.780217] l13: voltage operation not allowed
[ 7.019177] EXT4-fs (dm-0): mounting ext2 file system using the ext4 subsystem
[ 7.021905] EXT4-fs (dm-0): mounted filesystem without journal. Opts: (null)
[ 11.715398] random: crng init done
[ 12.961869] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
[ 13.190649] EXT4-fs (dm-0): mounting ext2 file system using the ext4 subsystem
[ 13.193630] EXT4-fs (dm-0): mounted filesystem without journal. Opts: (null)
[ 15.919024] udevd[1012]: starting version 3.2.9
[ 16.004383] udevd[1012]: starting eudev-3.2.9
[ 16.126523] mc: Linux media interface: v0.10
[ 16.286086] apq8016-lpass-cpu 7708000.audio-controller: asoc_qcom_lpass_cpu_platform_probe() error getting optional mi2s-osr-clk0: -2
[ 16.286105] apq8016-lpass-cpu 7708000.audio-controller: asoc_qcom_lpass_cpu_platform_probe() error getting optional mi2s-osr-clk1: -2
[ 16.286122] apq8016-lpass-cpu 7708000.audio-controller: asoc_qcom_lpass_cpu_platform_probe() error getting optional mi2s-osr-clk2: -2
[ 16.286139] apq8016-lpass-cpu 7708000.audio-controller: asoc_qcom_lpass_cpu_platform_probe() error getting optional mi2s-osr-clk3: -2
[ 16.291377] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: PMIC REV: 1 CODEC Version: 1
[ 16.291789] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: sink widget PDM_RX1 overwritten
[ 16.291881] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: source widget PDM_RX1 overwritten
[ 16.291915] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: source widget PDM_RX1 overwritten
[ 16.291977] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: sink widget PDM_RX1 overwritten
[ 16.292006] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: sink widget PDM_RX1 overwritten
[ 16.292029] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: sink widget ADC1 overwritten
[ 16.292049] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: sink widget ADC1 overwritten
[ 16.292067] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: sink widget PDM_RX1 overwritten
[ 16.292274] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pmic@1:audio-codec@f000: ASoC: source widget PDM_RX3 overwritten
[ 16.292351] debugfs: Directory '7708000.audio-controller' with parent 'msm8916' already present!
[ 16.300147] input: msm8916 Headset Jack as /devices/platform/soc/7702000.sound/sound/card0/input3
[ 16.319325] videodev: Linux video capture interface: v2.00
[ 16.348180] power_supply pm8916-bms-vm: pm8916-bms-vm: Found supply : smb347-usb
[ 16.595516] qcom-venus 1d00000.video-codec: Adding to iommu group 2
[ 16.643119] NET: Registered protocol family 42
[ 16.649174] remoteproc remoteproc0: a204000.remoteproc is available
[ 16.649810] remoteproc remoteproc0: powering up a204000.remoteproc
[ 16.649822] remoteproc remoteproc0: Booting fw image wcnss.mdt, size 7260
[ 16.701376] NET: Registered protocol family 10
[ 16.702370] Segment Routing with IPv6
[ 17.122511] remoteproc remoteproc0: remote processor a204000.remoteproc is now up
[ 17.296560] qcom_wcnss_ctrl remoteproc0:smd-edge.WCNSS_CTRL.-1.-1: WCNSS Version 1.5 1.2
[ 18.610949] EXT4-fs (dm-1): re-mounted. Opts: (null)
[ 19.199655] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 19.211089] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 19.211270] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 19.211279] cfg80211: failed to load regulatory.db
[ 19.302978] Bluetooth: Core ver 2.22
[ 19.303073] NET: Registered protocol family 31
[ 19.303077] Bluetooth: HCI device and connection manager initialized
[ 19.303092] Bluetooth: HCI socket layer initialized
[ 19.303100] Bluetooth: L2CAP socket layer initialized
[ 19.303118] Bluetooth: SCO socket layer initialized
[ 19.831427] wcn36xx: mac address: 02:00:78:95:ef:ba
[ 20.090399] wcn36xx: firmware WLAN version 'WCN v2.0 RadioPhy vRhea_GF_1.12 with 19.2MHz XO' and CRM version 'CNSS-PR-2-0-1-1-c1-00203'
[ 20.090408] wcn36xx: firmware API 1.5.1.2, 41 stations, 2 bssids
[ 21.436037] Bluetooth: hci0: command 0xfc0b tx timeout
[ 21.535648] NET: Registered protocol family 38
[ 30.912929] elogind[1813]: Failed to create inotify watch on /dev/null/utmp, ignoring: Not a directory
[ 30.919461] elogind[1813]: New seat seat0.
[ 30.968635] elogind[1813]: Watching system buttons on /dev/input/event0 (pm8941_pwrkey)
[ 31.008146] elogind[1813]: Failed to set utmp path to /dev/null/utmp: Not supported
[ 31.014950] elogind[1813]: Failed to create inotify watch on /dev/null/utmp, ignoring: Not a directory
[ 31.016369] elogind[1813]: New session c1 of user antonyjr.
[ 31.459934] msm 1a00000.mdss: [drm:adreno_request_fw [msm]] loaded qcom/a300_pm4.fw from new location
[ 31.460668] msm 1a00000.mdss: [drm:adreno_request_fw [msm]] loaded qcom/a300_pfp.fw from new location
[ 38.469234] rfkill: input handler disabled
[ 54.452818] [drm:mdp5_crtc_get_scanout_position [msm]] *ERROR* no encoder found for crtc 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment