[Letux-kernel] AESS driver

Belisko Marek marek.belisko at gmail.com
Thu Jul 5 15:26:33 CEST 2018


Hi Nikolaus,

yes it needs more patches from ti, working on it.

BR,

marek
On Thu, Jul 5, 2018 at 3:22 PM H. Nikolaus Schaller <hns at goldelico.com> wrote:
>
>
> > Am 05.07.2018 um 10:53 schrieb Belisko Marek <marek.belisko at gmail.com>:
> >
> > Hi Nikouals,
> >
> > on my aess branch when added compatible to dts I cannot boot kernel at all:
> > [    0.000000] Booting Linux on physical CPU 0x0
> > [    0.000000] Linux version 4.17.0-letux+ (marek at mbuntu) (gcc version
> > 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #6 SMP PREEMPT
> > Thu Jul 5 10:47:45 CEST 2018
> > [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
> > [    0.000000] CPU: div instructions available: patching division code
> > [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
> > [    0.000000] OF: fdt: Machine model: Pyra-Handheld-V5.1.2ff
> > [    0.000000] Malformed early option 'console'
> > [    0.000000] debug: ignoring loglevel setting.
> > [    0.000000] Memory policy: Data cache writealloc
> > [    0.000000] cma: Reserved 16 MiB at 0xfd800000
> > [    0.000000] OMAP4: Map 0xfee00000 to (ptrval) for dram barrier
> > [    0.000000] On node 0 totalpages: 519680
> > [    0.000000]   Normal zone: 1536 pages used for memmap
> > [    0.000000]   Normal zone: 0 pages reserved
> > [    0.000000]   Normal zone: 196608 pages, LIFO batch:31
> > [    0.000000]   HighMem zone: 323072 pages, LIFO batch:31
> > [    0.000000] OMAP5432 ES2.0
> > [    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s39948 r8192
> > d21492 u69632
> > [    0.000000] pcpu-alloc: s39948 r8192 d21492 u69632 alloc=17*4096
> > [    0.000000] pcpu-alloc: [0] 0 [0] 1
> > [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 518144
> > [    0.000000] Kernel command line: console= root=PARTUUID=a2588f0a-02
> > rw rootfstype=ext4 rootwait console=ttyO2,115200n8 vram=12M
> > omapfb.vram=0:8M,1:4M omapfb.rotate_type=0 omapdss.def_disp=lcd
> > rootwait twl4030_charger.allow_usb=1 log_buk
> > [    0.000000] log_buf_len: 8388608 bytes
> > [    0.000000] early log buf free: 63892(97%)
> > [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> > [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> > [    0.000000] Memory: 2025576K/2078720K available (6532K kernel code,
> > 650K rwdata, 1820K rodata, 1024K init, 220K bss, 36760K reserved,
> > 16384K cma-reserved, 1275904K highmem)
> > [    0.000000] Virtual kernel memory layout:
> > [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> > [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
> > [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
> > [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
> > [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> > [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> > [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7525 kB)
> > [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
> > [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 651 kB)
> > [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 221 kB)
> > [    0.000000] Preemptible hierarchical RCU implementation.
> > [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
> > [    0.000000]  Tasks RCU enabled.
> > [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
> > [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> > [    0.000000] GIC: Using split EOI/Deactivate mode
> > [    0.000000] OMAP clockevent source: timer1 at 32768 Hz
> > [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
> > [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
> > max_cycles: 0x16ac02862, max_idle_ns: 440795202218 ns
> > [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps
> > every 4398046511085ns
> > [    0.000017] Switching to timer-based delay loop, resolution 162ns
> > [    0.000918] clocksource: 32k_counter: mask: 0xffffffff max_cycles:
> > 0xffffffff, max_idle_ns: 58327039986419 ns
> > [    0.000927] OMAP clocksource: 32k_counter at 32768 Hz
> > [    0.002357] Console: colour dummy device 80x30
> > [    0.002378] Calibrating delay loop (skipped), value calculated
> > using timer frequency.. 12.28 BogoMIPS (lpj=61440)
> > [    0.002393] pid_max: default: 32768 minimum: 301
> > [    0.002484] Security Framework initialized
> > [    0.002537] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> > [    0.002550] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
> > [    0.003030] CPU: Testing write buffer coherency: ok
> > [    0.003220] /cpus/cpu at 0 missing clock-frequency property
> > [    0.003235] /cpus/cpu at 1 missing clock-frequency property
> > [    0.003247] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> > [    0.049934] Setting up static identity map for 0x80100000 - 0x80100060
> > [    0.059931] Hierarchical SRCU implementation.
> > [    0.079960] smp: Bringing up secondary CPUs ...
> > [    0.130304] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
> > [    0.130394] smp: Brought up 1 node, 2 CPUs
> > [    0.130406] SMP: Total of 2 processors activated (24.57 BogoMIPS).
> > [    0.130414] CPU: All CPU(s) started in HYP mode.
> > [    0.130421] CPU: Virtualization extensions available.
> > [    0.131401] devtmpfs: initialized
> > [    0.142365] random: get_random_u32 called from
> > bucket_table_alloc+0x150/0x1a0 with crng_init=0
> > [    0.142895] VFP support v0.3: implementor 41 architecture 4 part 30
> > variant f rev 0
> > [    0.143252] clocksource: jiffies: mask: 0xffffffff max_cycles:
> > 0xffffffff, max_idle_ns: 19112604462750000 ns
> > [    0.143268] futex hash table entries: 512 (order: 3, 32768 bytes)
> > [    0.143723] pinctrl core: initialized pinctrl subsystem
> > [    0.144671] NET: Registered protocol family 16
> > [    0.146441] DMA: preallocated 256 KiB pool for atomic coherent allocations
> > [    0.147217] omap_hwmod: l3_main_3 using broken dt data from ocp
> > [    0.147837] omap_hwmod: l3_main_2 using broken dt data from ocp
> > [    0.208166] audit: initializing netlink subsys (disabled)
> > [    0.208271] audit: type=2000 audit(0.200:1): state=initialized
> > audit_enabled=0 res=1
> > [    0.209778] cpuidle: using governor menu
> > [    0.218782] OMAP GPIO hardware version 0.1
> > [    0.223621] GPIO line 234 (gpio8_234/msecure) hogged as output/high
> > [    0.224127] platform 50000000.gpmc: Cannot lookup hwmod 'gpmc'
> > [    0.224276] omap-gpmc 50000000.gpmc: _od_fail_runtime_resume:
> > FIXME: missing hwmod/omap_dev info
> > [    0.224288] omap-gpmc 50000000.gpmc: GPMC revision 6.0
> > [    0.242454] No ATAGs?
> > [    0.242518] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
> > watchpoint registers.
> > [    0.242531] hw-breakpoint: maximum watchpoint size is 8 bytes.
> > [    0.242935] OMAP DMA hardware revision 0.0
> > [    0.273635] omap-dma-engine 4a056000.dma-controller: OMAP DMA
> > engine driver (LinkedList1/2/3 supported)
> > [    0.275613] vsys_cobra: supplied by vmain
> > [    0.276442] reg-fixed-voltage fixedregulator-mmcsdio: could not
> > find pctldev for node
> > /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_wlan_pins, deferring probe
> > [    0.276751] reg-fixed-voltage bt_en: could not find pctldev for
> > node /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_bt_pins, deferring
> > probe
> > [    0.281245] omap-iommu 4a066000.mmu: 4a066000.mmu registered
> > [    0.281515] omap-iommu 55082000.mmu: 55082000.mmu registered
> > [    0.282828] vgaarb: loaded
> > [    0.283344] SCSI subsystem initialized
> > [    0.283612] libata version 3.00 loaded.
> > [    0.284056] usbcore: registered new interface driver usbfs
> > [    0.284143] usbcore: registered new interface driver hub
> > [    0.284243] usbcore: registered new device driver usb
> > [    0.284480] usb_phy_generic hsusb2_phy: hsusb2_phy supply vcc not
> > found, using dummy regulator
> > [    0.285379] omap_i2c 48070000.i2c: could not find pctldev for node
> > /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_i2c1_pins, deferring probe
> > [    0.285415] omap_i2c 48072000.i2c: could not find pctldev for node
> > /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_i2c2_pins, deferring probe
> > [    0.285445] omap_i2c 48060000.i2c: could not find pctldev for node
> > /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_i2c3_pins, deferring probe
> > [    0.285474] omap_i2c 4807a000.i2c: could not find pctldev for node
> > /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_i2c4_pins, deferring probe
> > [    0.285502] omap_i2c 4807c000.i2c: could not find pctldev for node
> > /ocp/l4 at 4a000000/scm at 2800/pinmux at 40/pinmux_i2c5_pins, deferring probe
> > [    0.286344] Advanced Linux Sound Architecture Driver Initialized.
> > [    0.287591] clocksource: Switched to clocksource arch_sys_counter
> > [    0.333790] VFS: Disk quotas dquot_6.6.0
> > [    0.333852] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> > [    0.344707] NET: Registered protocol family 2
> > [    0.345178] tcp_listen_portaddr_hash hash table entries: 512
> > (order: 0, 6144 bytes)
> > [    0.345201] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
> > [    0.345266] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
> > [    0.345396] TCP: Hash tables configured (established 8192 bind 8192)
> > [    0.345477] UDP hash table entries: 512 (order: 2, 16384 bytes)
> > [    0.345509] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> > [    0.345682] NET: Registered protocol family 1
> > [    0.345709] PCI: CLS 0 bytes, default 64
> > [    0.398189] hw perfevents: no interrupt-affinity property for /pmu, guessing.
> > [    0.398379] hw perfevents: enabled with armv7_cortex_a15 PMU
> > driver, 7 counters available
> > [    0.400623] Initialise system trusted keyrings
> > [    0.400752] workingset: timestamp_bits=30 max_order=19 bucket_order=0
> > [    0.401038] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> > [    0.402588] Key type asymmetric registered
> > [    0.402599] Asymmetric key parser 'x509' registered
> > [    0.402648] bounce: pool size: 64 pages
> > [    0.402734] Block layer SCSI generic (bsg) driver version 0.4
> > loaded (major 251)
> > [    0.402746] io scheduler noop registered
> > [    0.402754] io scheduler deadline registered
> > [    0.402789] io scheduler cfq registered (default)
> > [    0.402798] io scheduler mq-deadline registered
> > [    0.402805] io scheduler kyber registered
> > [    0.406343] ti-pipe3 4a096000.phy: can't get syscon-pllreset, sata
> > dpll won't idle
> > [    0.407101] pinctrl-single 4a002840.pinmux: 219 pins, size 438
> > [    0.407562] pinctrl-single 4ae0c840.pinmux: 30 pins, size 60
> > [    0.414997] omap_uart 4806c000.serial: no wakeirq for uart1
> > [    0.415095] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 46,
> > base_baud = 3000000) is a OMAP UART1
> > [    0.415322] serial serial0: tty port ttyO1 registered
> > [    0.415571] 48020000.serial: ttyO2 at MMIO 0x48020000 (irq = 47,
> > base_baud = 3000000) is a OMAP UART2
> > [    1.354552] console [ttyO2] enabled
> > [    1.358738] omap_uart 4806e000.serial: no wakeirq for uart3
> > [    1.364646] 4806e000.serial: ttyO3 at MMIO 0x4806e000 (irq = 48,
> > base_baud = 3000000) is a OMAP UART3
> > [    1.374806] omap_uart 48068000.serial: no wakeirq for uart5
> > [    1.380731] 48068000.serial: ttyO5 at MMIO 0x48068000 (irq = 49,
> > base_baud = 3000000) is a OMAP UART5
> > [    1.398638] brd: module loaded
> > [    1.406457] loop: module loaded
> > [    1.410020] txs_probe()
> > [    1.412635] txs_probe() initial = 0
> > [    1.416284] txs_probe() probed
> > [    1.421205] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
> > [    1.428261] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3
> > Gbps 0x1 impl platform mode
> > [    1.437179] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led
> > clo only pmp pio slum part ccc apst
> > [    1.447846] scsi host0: ahci
> > [    1.451108] ata1: SATA max UDMA/133 mmio [mem
> > 0x4a140000-0x4a1410ff] port 0x100 irq 77
> > [    1.460213] mtdoops: mtd device (mtddev=name/number) must be supplied
> > [    1.468848] libphy: Fixed MDIO Bus: probed
> > [    1.475569] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> > [    1.482423] ehci-pci: EHCI PCI platform driver
> > [    1.487152] usbcore: registered new interface driver usb-storage
> > [    1.493642] mousedev: PS/2 mouse device common for all mice
> > [    1.500197] i2c /dev entries driver
> > [    1.503921] IR NEC protocol handler initialized
> > [    1.508675] IR RC5(x/sz) protocol handler initialized
> > [    1.513958] IR RC6 protocol handler initialized
> > [    1.518703] IR JVC protocol handler initialized
> > [    1.523440] IR Sony protocol handler initialized
> > [    1.528282] IR SANYO protocol handler initialized
> > [    1.533197] IR Sharp protocol handler initialized
> > [    1.538131] IR MCE Keyboard/mouse protocol handler initialized
> > [    1.544229] IR XMP protocol handler initialized
> > [    1.548972] Driver for 1-wire Dallas network protocol.
> > [    1.557849] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
> > [    1.566844] sdhci: Secure Digital Host Controller Interface driver
> > [    1.573428] sdhci: Copyright(c) Pierre Ossman
> > [    1.604795] omap_hsmmc 480d1000.mmc: Got CD GPIO
> > [    1.609742] omap_hsmmc 480d1000.mmc: Got WP GPIO
> > [    1.625162] sdhci-pltfm: SDHCI platform and OF driver helper
> > [    1.631814] ledtrig-cpu: registered to indicate activity on CPUs
> > [    1.639647] usbcore: registered new interface driver usbhid
> > [    1.645584] usbhid: USB HID core driver
> > [    1.649751] ashmem: initialized
> > [    1.654893] oprofile: using timer interrupt.
> > [    1.659748] Initializing XFRM netlink socket
> > [    1.664247] NET: Registered protocol family 17
> > [    1.668944] NET: Registered protocol family 15
> > [    1.673612] Key type dns_resolver registered
> > [    1.678521] omap_vc_init_channel: No PMIC info for vdd_core
> > [    1.684375] omap_vp_init: No PMIC info for vdd_core
> > [    1.689558] omap_vc_init_channel: No PMIC info for vdd_mm
> > [    1.695245] omap_vp_init: No PMIC info for vdd_mm
> > [    1.700201] omap_vc_init_channel: No PMIC info for vdd_mpu
> > [    1.705969] omap_vp_init: No PMIC info for vdd_mpu
> > [    1.711034] Power Management for TI OMAP4+ devices.
> > [    1.716406] ThumbEE CPU extension supported.
> > [    1.720910] Registering SWP/SWPB emulation handler
> > [    1.725983] SmartReflex Class3 initialized
> > [    1.730738] Loading compiled-in X.509 certificates
> > [    1.737938] mmc0: new high speed MMC card at address 0001
> > [    1.744222] mmcblk0: mmc0:0001 HBG4a2 29.1 GiB
> > [    1.749552] mmcblk0boot0: mmc0:0001 HBG4a2 partition 1 4.00 MiB
> > [    1.756312] mmcblk0boot1: mmc0:0001 HBG4a2 partition 2 4.00 MiB
> > [    1.762810] mmcblk0rpmb: mmc0:0001 HBG4a2 partition 3 4.00 MiB,
> > chardev (248:0)
> > [    1.762958] ------------[ cut here ]------------
> > [    1.775437] WARNING: CPU: 1 PID: 779 at
> > drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xbc/0xcc
> > [    1.785528] Modules linked in:
> > [    1.789018] CPU: 1 PID: 779 Comm: kworker/1:1 Not tainted 4.17.0-letux+ #6
> > [    1.791176] ata1: SATA link down (SStatus 0 SControl 300)
> > [    1.796225] Hardware name: Generic OMAP5 (Flattened Device Tree)
> > [    1.808168] Workqueue: events deferred_probe_work_func
> > [    1.813568] [<c01105f8>] (unwind_backtrace) from [<c010bf84>]
> > (show_stack+0x10/0x14)
> > [    1.821688] [<c010bf84>] (show_stack) from [<c0747fdc>]
> > (dump_stack+0x7c/0x98)
> > [    1.829264] [<c0747fdc>] (dump_stack) from [<c0130638>] (__warn+0xc8/0xfc)
> > [    1.836467] [<c0130638>] (__warn) from [<c013072c>]
> > (warn_slowpath_null+0x38/0x44)
> > [    1.844403] [<c013072c>] (warn_slowpath_null) from [<c042331c>]
> > (gic_irq_domain_translate+0xbc/0xcc)
> > [    1.853983] [<c042331c>] (gic_irq_domain_translate) from
> > [<c0423610>] (gic_irq_domain_alloc+0x28/0x6c)
> > [    1.863749] [<c0423610>] (gic_irq_domain_alloc) from [<c01224fc>]
> > (wakeupgen_domain_alloc+0xac/0xc8)
> > [    1.873328] [<c01224fc>] (wakeupgen_domain_alloc) from [<c017cffc>]
> > (__irq_domain_alloc_irqs+0x158/0x244)
> > [    1.883352] [<c017cffc>] (__irq_domain_alloc_irqs) from
> > [<c017d518>] (irq_create_fwspec_mapping+0x270/0x328)
> > [    1.893657] [<c017d518>] (irq_create_fwspec_mapping) from
> > [<c017d618>] (irq_create_of_mapping+0x48/0x50)
> > [    1.903595] [<c017d618>] (irq_create_of_mapping) from [<c0632c94>]
> > (of_irq_get+0x5c/0x64)
> > [    1.912174] [<c0632c94>] (of_irq_get) from [<c05d2048>]
> > (i2c_device_probe+0xb0/0x258)
> > [    1.920394] [<c05d2048>] (i2c_device_probe) from [<c04d0018>]
> > (driver_probe_device+0x188/0x318)
> > [    1.929518] [<c04d0018>] (driver_probe_device) from [<c04ce900>]
> > (bus_for_each_drv+0x80/0x90)
> > [    1.938461] [<c04ce900>] (bus_for_each_drv) from [<c04cfdf4>]
> > (__device_attach+0x88/0x100)
> > [    1.947122] [<c04cfdf4>] (__device_attach) from [<c04cf3bc>]
> > (bus_probe_device+0x28/0x80)
> > [    1.955695] [<c04cf3bc>] (bus_probe_device) from [<c04cdb78>]
> > (device_add+0x3f8/0x50c)
> > [    1.963988] [<c04cdb78>] (device_add) from [<c05d356c>]
> > (i2c_new_device+0x1b8/0x294)
> > [    1.972114] [<c05d356c>] (i2c_new_device) from [<c05d5a18>]
> > (of_i2c_register_device+0x134/0x178)
> > [    1.981326] [<c05d5a18>] (of_i2c_register_device) from [<c05d5d34>]
> > (of_i2c_register_devices+0x74/0xc0)
> > [    1.991171] [<c05d5d34>] (of_i2c_register_devices) from
> > [<c05d3b04>] (i2c_register_adapter+0x284/0x39c)
> > [    2.001019] [<c05d3b04>] (i2c_register_adapter) from [<c05d8eb4>]
> > (omap_i2c_probe+0x55c/0x658)
> > [    2.010048] [<c05d8eb4>] (omap_i2c_probe) from [<c04d1b24>]
> > (platform_drv_probe+0x50/0xa0)
> > [    2.018710] [<c04d1b24>] (platform_drv_probe) from [<c04d0018>]
> > (driver_probe_device+0x188/0x318)
> > [    2.028015] [<c04d0018>] (driver_probe_device) from [<c04ce900>]
> > (bus_for_each_drv+0x80/0x90)
> > [    2.036956] [<c04ce900>] (bus_for_each_drv) from [<c04cfdf4>]
> > (__device_attach+0x88/0x100)
> > [    2.045614] [<c04cfdf4>] (__device_attach) from [<c04cf3bc>]
> > (bus_probe_device+0x28/0x80)
> > [    2.054189] [<c04cf3bc>] (bus_probe_device) from [<c04cf8cc>]
> > (deferred_probe_work_func+0xec/0x120)
> > [    2.063670] [<c04cf8cc>] (deferred_probe_work_func) from
> > [<c01477bc>] (process_one_work+0x244/0x460)
> > [    2.073253] [<c01477bc>] (process_one_work) from [<c0147a00>]
> > (process_scheduled_works+0x28/0x30)
> > [    2.082558] [<c0147a00>] (process_scheduled_works) from
> > [<c01485bc>] (worker_thread+0x2e8/0x3ec)
> > [    2.091767] [<c01485bc>] (worker_thread) from [<c014c6d8>]
> > (kthread+0x12c/0x14c)
> > [    2.099515] [<c014c6d8>] (kthread) from [<c01010e8>]
> > (ret_from_fork+0x14/0x2c)
> > [    2.107081] Exception stack(0xedea3fb0 to 0xedea3ff8)
> > [    2.112373] 3fa0:                                     00000000
> > 00000000 00000000 00000000
> > [    2.120945] 3fc0: 00000000 00000000 00000000 00000000 00000000
> > 00000000 00000000 00000000
> > [    2.129511] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> > [    2.136511] ---[ end trace 4839ad0f8521e5f5 ]---
> > [    2.141409] palmas 0-0048: Irq flag is 0x00000000
> > [    2.172703] palmas 0-0048: Muxing GPIO 3, PWM 0, LED 0
> > [    2.185456] palmas-rtc 48070000.i2c:palmas at 48:rtc: rtc core:
> > registered 48070000.i2c:palmas at 48:rtc as rtc0
> > [    2.198486] random: fast init done
> > [    2.202532] SMPS123: supplied by regulator-dummy
> > [    2.209008] SMPS45: supplied by regulator-dummy
> > [    2.215347] SMPS6: supplied by vsys_cobra
> > [    2.221036] SMPS7: supplied by vsys_cobra
> > [    2.226683] SMPS8: supplied by vsys_cobra
> > [    2.232468] SMPS9: supplied by vsys_cobra
> > [    2.236984] smps9: Bringing 0uV into 2100000-2100000uV
> > [    2.243713] SMPS10_OUT2: supplied by regulator-dummy
> > [    2.250370] SMPS10_OUT1: supplied by regulator-dummy
> > [    2.256534] LDO1: supplied by vsys_cobra
> > [    2.261341] ldo1: Bringing 0uV into 1800000-1800000uV
> > [    2.267870] LDO2: supplied by vsys_cobra
> > [    2.274689] ldo4: Bringing 0uV into 1800000-1800000uV
> > [    2.281589] LDO5: supplied by vsys_cobra
> > [    2.290333] LDO7: supplied by vsys_cobra
> > [    2.294829] ldo7: Bringing 0uV into 2000000-2000000uV
> > [    2.301981] LDO8: supplied by vsys_cobra
> > [    2.307824] LDO9: supplied by vmmcsd_fixed
> > [    2.314201] LDOLN: supplied by vsys_cobra
> > [    2.320294] LDOUSB: supplied by vsys_cobra
> > [    2.328395] ------------[ cut here ]------------
> > [    2.333240] WARNING: CPU: 1 PID: 779 at
> > drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xbc/0xcc
> > [    2.343386] Modules linked in:
> > [    2.346595] CPU: 1 PID: 779 Comm: kworker/1:1 Tainted: G        W
> >      4.17.0-letux+ #6
> > [    2.355256] Hardware name: Generic OMAP5 (Flattened Device Tree)
> > [    2.361581] Workqueue: events deferred_probe_work_func
> > [    2.366976] [<c01105f8>] (unwind_backtrace) from [<c010bf84>]
> > (show_stack+0x10/0x14)
> > [    2.375094] [<c010bf84>] (show_stack) from [<c0747fdc>]
> > (dump_stack+0x7c/0x98)
> > [    2.382697] [<c0747fdc>] (dump_stack) from [<c0130638>] (__warn+0xc8/0xfc)
> > [    2.389913] [<c0130638>] (__warn) from [<c013072c>]
> > (warn_slowpath_null+0x38/0x44)
> > [    2.397849] [<c013072c>] (warn_slowpath_null) from [<c042331c>]
> > (gic_irq_domain_translate+0xbc/0xcc)
> > [    2.407422] [<c042331c>] (gic_irq_domain_translate) from
> > [<c0423610>] (gic_irq_domain_alloc+0x28/0x6c)
> > [    2.417183] [<c0423610>] (gic_irq_domain_alloc) from [<c01224fc>]
> > (wakeupgen_domain_alloc+0xac/0xc8)
> > [    2.426752] [<c01224fc>] (wakeupgen_domain_alloc) from [<c017cffc>]
> > (__irq_domain_alloc_irqs+0x158/0x244)
> > [    2.436779] [<c017cffc>] (__irq_domain_alloc_irqs) from
> > [<c017d518>] (irq_create_fwspec_mapping+0x270/0x328)
> > [    2.447079] [<c017d518>] (irq_create_fwspec_mapping) from
> > [<c017d618>] (irq_create_of_mapping+0x48/0x50)
> > [    2.457017] [<c017d618>] (irq_create_of_mapping) from [<c0632c94>]
> > (of_irq_get+0x5c/0x64)
> > [    2.465597] [<c0632c94>] (of_irq_get) from [<c05d2048>]
> > (i2c_device_probe+0xb0/0x258)
> > [    2.473818] [<c05d2048>] (i2c_device_probe) from [<c04d0018>]
> > (driver_probe_device+0x188/0x318)
> > [    2.482945] [<c04d0018>] (driver_probe_device) from [<c04ce900>]
> > (bus_for_each_drv+0x80/0x90)
> > [    2.491884] [<c04ce900>] (bus_for_each_drv) from [<c04cfdf4>]
> > (__device_attach+0x88/0x100)
> > [    2.500546] [<c04cfdf4>] (__device_attach) from [<c04cf3bc>]
> > (bus_probe_device+0x28/0x80)
> > [    2.509112] [<c04cf3bc>] (bus_probe_device) from [<c04cdb78>]
> > (device_add+0x3f8/0x50c)
> > [    2.517418] [<c04cdb78>] (device_add) from [<c05d356c>]
> > (i2c_new_device+0x1b8/0x294)
> > [    2.525540] [<c05d356c>] (i2c_new_device) from [<c05d5a18>]
> > (of_i2c_register_device+0x134/0x178)
> > [    2.534750] [<c05d5a18>] (of_i2c_register_device) from [<c05d5d34>]
> > (of_i2c_register_devices+0x74/0xc0)
> > [    2.544603] [<c05d5d34>] (of_i2c_register_devices) from
> > [<c05d3b04>] (i2c_register_adapter+0x284/0x39c)
> > [    2.554454] [<c05d3b04>] (i2c_register_adapter) from [<c05d8eb4>]
> > (omap_i2c_probe+0x55c/0x658)
> > [    2.563495] [<c05d8eb4>] (omap_i2c_probe) from [<c04d1b24>]
> > (platform_drv_probe+0x50/0xa0)
> > [    2.572173] [<c04d1b24>] (platform_drv_probe) from [<c04d0018>]
> > (driver_probe_device+0x188/0x318)
> > [    2.581472] [<c04d0018>] (driver_probe_device) from [<c04ce900>]
> > (bus_for_each_drv+0x80/0x90)
> > [    2.590402] [<c04ce900>] (bus_for_each_drv) from [<c04cfdf4>]
> > (__device_attach+0x88/0x100)
> > [    2.599061] [<c04cfdf4>] (__device_attach) from [<c04cf3bc>]
> > (bus_probe_device+0x28/0x80)
> > [    2.607623] [<c04cf3bc>] (bus_probe_device) from [<c04cf8cc>]
> > (deferred_probe_work_func+0xec/0x120)
> > [    2.617109] [<c04cf8cc>] (deferred_probe_work_func) from
> > [<c01477bc>] (process_one_work+0x244/0x460)
> > [    2.626683] [<c01477bc>] (process_one_work) from [<c0147a00>]
> > (process_scheduled_works+0x28/0x30)
> > [    2.635985] [<c0147a00>] (process_scheduled_works) from
> > [<c01485bc>] (worker_thread+0x2e8/0x3ec)
> > [    2.645204] [<c01485bc>] (worker_thread) from [<c014c6d8>]
> > (kthread+0x12c/0x14c)
> > [    2.652965] [<c014c6d8>] (kthread) from [<c01010e8>]
> > (ret_from_fork+0x14/0x2c)
> > [    2.660529] Exception stack(0xedea3fb0 to 0xedea3ff8)
> > [    2.665824] 3fa0:                                     00000000
> > 00000000 00000000 00000000
> > [    2.674397] 3fc0: 00000000 00000000 00000000 00000000 00000000
> > 00000000 00000000 00000000
> > [    2.682973] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> > [    2.689932] ---[ end trace 4839ad0f8521e5f6 ]---
>
> looks like a spurious interrupt.
>
> > [    2.697772] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
> > [    2.705095] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
> > [    2.712253] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
> > [    2.719143] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
> > [    2.725919] vdds_1v8_main: supplied by smps7
> > [    2.760667] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
> > [    2.798741] omap_hsmmc 480ad000.mmc: allocated mmc-pwrseq
> > [    2.846114] mmc1: host does not support reading read-only switch,
> > assuming write-enable
> > [    2.857550] mmc1: new high speed SDHC card at address 59b4
> > [    2.865266] mmcblk1: mmc1:59b4 USD   7.51 GiB
> > [    2.873057]  mmcblk1: p1 p2
> > [    2.925488] omap_hsmmc 480d1000.mmc: Got CD GPIO
> > [    2.930616] omap_hsmmc 480d1000.mmc: Got WP GPIO
> > [    2.943377] omap_hsmmc 480ad000.mmc: card claims to support
> > voltages below defined range
> > [    2.969558] mmc2: new high speed SDIO card at address 0001
> > [    3.068662] ldo3: supplied by vdds_1v8_main
> > [    3.074017] ldo4: supplied by vdds_1v8_main
> > [    3.079670] ldo6: supplied by vdds_1v8_main
> > [    3.391600] input: user-button as /devices/platform/user-button/input/input0
> > [    3.405783] input: pyra-gpio-keys at 1 as
> > /devices/platform/pyra-gpio-keys at 1/input/input1
> > [    3.417272] input: pyra-gpio-keys at 2 as
> > /devices/platform/pyra-gpio-keys at 2/input/input2
> > [    3.427228] palmas-rtc 48070000.i2c:palmas at 48:rtc: setting system
> > clock to 2000-01-01 00:00:01 UTC (946684801)
> > [    3.437776] sr_init: No PMIC hook to init smartreflex
> > [    3.444171] vmmcsdio_fixed: disabling
> > [    3.448032] bt_power: disabling
> > [    3.452942] ldo3: disabling
> > [    3.456602] ldo8: disabling
> > [    3.460046] ALSA device list:
> > [    3.463154]   No soundcards found.
> > [    3.578406] EXT4-fs (mmcblk1p2): mounted filesystem with ordered
> > data mode. Opts: (null)
> > [    3.587140] VFS: Mounted root (ext4 filesystem) on device 179:26.
> > [    3.607190] devtmpfs: mounted
> > [    3.611174] Freeing unused kernel memory: 1024K
> > Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
> > INIT: version 2.88 booting
> > [info] Using makefile-style concurrent boot in runlevel S.
> > [....] Starting the hotplug events dispatcher: udevd[    4.824000]
> > systemd-udevd[1263]: starting version 215
> > . ok
> > [....] Synthesizing the initial hotplug events...[    4.882724]
> > random: udevd: uninitialized urandom read (16 bytes read)
> > [    4.892487] random: udevd: uninitialized urandom read (16 bytes read)
> > done.
> > [....] Waiting for /dev to be fully populated...[    5.118688] usb3503
> > 0-0008: usb3503_probe
> > [    5.129432] usb3503 0-0008: reset gpio state 0
> > [    5.140513] usb3503 0-0008: usb3503_connect
> > [    5.146492] usb3503 0-0008: usb3503_reset 1
> > [    5.152785] bmp280 2-0077: 2-0077 supply vddd not found, using
> > dummy regulator
> > [    5.160567] bmp280 2-0077: 2-0077 supply vdda not found, using
> > dummy regulator
> > [    5.169889] usb3503 0-0008: SP_ILOCK failed (-121)
> > [    5.176119] usb3503 0-0008: usb3503_probe: probed in hub mode
> > [    5.184460] palmas_pwrbutton
> > 48070000.i2c:palmas at 48:palmas_power_button: h/w controlled shutdown
> > duration=8 seconds
> > [    5.197816] input: palmas_pwron as
> > /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:palmas at 48:palmas_power_button/input/input3
> > [    5.216066] twl6040 0-004b: Failed to get supply 'vddvibl': -517
> > [    5.223219] bmp280: probe of 2-0077 failed with error -121
> > [    5.230753] bmp280 2-0076: 2-0076 supply vddd not found, using
> > dummy regulator
> > [    5.238412] twl6040-vibra twl6040-vibra: couldn't get regulators -517
> > [    5.245285] bmp280 2-0076: 2-0076 supply vdda not found, using
> > dummy regulator
> > [    5.255384] twl6040 0-004b: Failed to get supply 'vddvibl': -517
> > [    5.261823] twl6040-vibra twl6040-vibra: couldn't get regulators -517
> > [    5.268887] bmp280: probe of 2-0076 failed with error -121
> > [    5.275765] bno055 2-0029: failed to switch to register page 0
> > [    5.282387] bno055: probe of 2-0029 failed with error -121
> > [    5.288331] input: tca8418 as
> > /devices/platform/44000000.ocp/48072000.i2c/i2c-1/1-0034/input/input4
> > [    5.298289] bmc150_magn_i2c 2-0012: Failed to bring up device from
> > suspend mode
> > [    5.307167] bmc150_magn_i2c: probe of 2-0012 failed with error -121
> > [    5.321761] twl6040 0-004b: Failed to get supply 'vddvibl': -517
> > [    5.328863] as5013 1-0040: ID code: 0c
> > [    5.332803] twl6040-vibra twl6040-vibra: couldn't get regulators -517
> > [    5.339748] as5013 1-0040: ID version: 0d
> > [    5.344249] as5013 1-0040: silicon revision: 00
> > [    5.346983] bmc150_accel_i2c 2-0010: Error: Reading chip id
> > [    5.355013] bmc150_accel_i2c: probe of 2-0010 failed with error -121
> > [    5.361731] as5013 1-0040: control: f1
> > [    5.362005] input: TSC2007 Touchscreen as
> > /devices/platform/44000000.ocp/4807a000.i2c/i2c-3/3-0048/input/input5
> > [    5.365795] input: nub0 as
> > /devices/platform/44000000.ocp/48072000.i2c/i2c-1/1-0040/input/input6
> > [    5.386322] twl6040 0-004b: Failed to get supply 'vddvibl': -517
> > [    5.394748] twl6040-vibra twl6040-vibra: couldn't get regulators -517
> > [    5.402457] ts3a227e 4-003b: Cannot request irq 0 (-22)
> > [    5.402943] as5013 1-0040: probe 40, gpio -2, irq 0, "as5013"
> > [    5.408123] ts3a227e: probe of 4-003b failed with error -22
> > [    5.419896] crtouch_drv 3-0049: failed to read size of screen
> > [    5.426214] crtouch_drv: probe of 3-0049 failed with error -5
> > [    5.426221] twl6040 0-004b: Failed to get supply 'vddvibl': -517
> > [    5.439335] ina2xx 1-004f: error configuring the device: -121
> > [    5.445385] twl6040-vibra twl6040-vibra: couldn't get regulators -517
> > [    5.453234] bq2429x_charger 1-006b: invalid det gpio: -2
> > [    5.459356] twl6040 0-004b: Failed to get supply 'vddvibl': -517
> > [    5.465901] twl6040-vibra twl6040-vibra: couldn't get regulators -517
> > [    5.482082] bq24296_get_vsys_voltage(0)
> > [    5.491770] omap-dwc3 4a020000.omap_dwc3: vbus init failed
> > [    5.506611]  => 3500000 uV
> > [    5.515405] bq24296_get_vsys_voltage(0)
> > [    5.523865]  => 3500000 uV
> > [    5.532031] bq24296_get_otg_voltage(1)
> > [    5.537501]  => 4998000 uV
> > [    5.541774] bq24296_get_otg_current_limit(1)
> > [    5.548011] bq24296_get_otg_voltage(1)
> > [    5.553591]  => 4998000 uV
> > [    5.559751] bt_power: supplied by vsys
> > [    5.564586] input: twl6040:vibrator as
> > /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-004b/twl6040-vibra/input/input8
> > [    5.578467] bq27xxx_battery_setup
> > [    5.585615] bq27xxx_battery_setup: dm_regs=(ptrval)
> > [    5.602353] (NULL device *): hwmon: 'bq27421-0' is not a valid name
> > attribute, please fix
> > [    5.613334] bq27xxx_battery_settings
> > [    5.617777] bq27xxx_battery_set_config
> > [    5.625071] bq27xxx_battery_unseal
> > [    5.640011] bq27xxx_battery_update_dm_block
> > [    5.645549] bq27xxx: di->opts=1c
> > [    5.650302] bq27xxx: bq27xxx_dt_to_nvm=1
> > [    5.655668] bq27xxx: CONFIG_BATTERY_BQ27XXX_DT_UPDATES_NVM=y
> > [    5.662890] bq27xxx-battery 1-0055: update design-capacity from 1340 to 6000
> > [    5.672909] bq27xxx_battery_update_dm_block
> > [    5.678920] bq27xxx: di->opts=1c
> > [    5.683892] bq27xxx: bq27xxx_dt_to_nvm=1
> > [    5.689736] bq27xxx: CONFIG_BATTERY_BQ27XXX_DT_UPDATES_NVM=y
> > [    5.697913] bq27xxx-battery 1-0055: update design-energy from 4960 to 22200
> > [    5.706821] bq27xxx_battery_update_dm_block
> > [    5.713142] bq27xxx-battery 1-0055: terminate-voltage has 3200
> > [    5.720928] bq27xxx_battery_cfgupdate_priv
> > [    5.753486] ehci-omap: OMAP-EHCI Host Controller driver
> > [    5.774041] bq27xxx_battery_cfgupdate_priv
> > [    5.810278] emif_probe: error getting device data
> > [    5.815249] emif_probe: error getting device data
> > [    5.835797] aess aess: no resource: dmem
>
> ok, there is something missing in DT
>
> > [    5.842029] pwm-backlight backlight: backlight supply power not
> > found, using dummy regulator
> > [    5.854146] pwm-backlight keyboard-backlight: keyboard-backlight
> > supply power not found, using dummy regulator
> > [    5.866406] (NULL device *): hwmon: 'pyra-battery' is not a valid
> > name attribute, please fix
> > [    5.876394] pwm-backlight backlight: backlight supply power not
> > found, using dummy regulator
> > [    5.877720] ehci-omap 4a064c00.ehci: EHCI Host Controller
> > [    5.886524] pwm-backlight keyboard-backlight: keyboard-backlight
> > supply power not found, using dummy regulator
> > [    5.901652] ehci-omap 4a064c00.ehci: new USB bus registered,
> > assigned bus number 1
> > [    5.910185] iio_charge:0
> > [    5.912863] omapdss: unknown parameter 'def_disp' ignored
> > [    5.918894] ------------[ cut here ]------------
> > [    5.923746] WARNING: CPU: 1 PID: 1302 at mm/vmalloc.c:1525
> > load_module+0x19a4/0x1f58
> > [    5.932840] mm/pgtable-generic.c:40: bad pmd 8001141e.
> > [    5.933566] Unable to handle kernel paging request at virtual
> > address bf223180
> > [    5.938388] Trying to vfree() nonexistent vm area ((ptrval))
> > [    5.945844] pgd = (ptrval)
> > [    5.951817] mm/pgtable-generic.c:40: bad pmd 8021940e.
> > [    5.954624] [bf223180] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    5.960051] Unable to handle kernel paging request at virtual
> > address bf1a9148
>
> memory access is getting into trouble.
>
> > [    5.966597] Internal error: Oops: 7 [#1] PREEMPT SMP ARM
> > [    5.974203] mm/pgtable-generic.c:40: bad pmd 8041940e.
> > [    5.979719] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    5.979735] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    5.985120] Modules linked in:
> > [    5.992776] pgd = (ptrval)
> > [    5.992780] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.000389] pgd = (ptrval)
> > [    6.003555] Internal error: Oops: 7 [#2] PREEMPT SMP ARM
> > [    6.006392] [bf1a9148] *pgd=aca42811
> > [    6.012948] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.012963] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.015793] mm/pgtable-generic.c:40: bad pmd 8061940e.
> > [    6.021349] pgd = (ptrval)
> > [    6.021352] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.021367] Internal error: Oops: 7 [#3] PREEMPT SMP ARM
> > [    6.021370] Modules linked in:
> > [    6.025126] mm/pgtable-generic.c:40: bad pmd 8081941e.
> > [    6.032765]  connector_hdmi(+) omapdss(+) generic_adc_battery
> > [    6.032776] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.032780] pgd = (ptrval)
> > [    6.040360]  connector_hdmi(+)
> > [    6.045721] [bf235040] *pgd=acce0811, *pte=00000000
> > [    6.048571]  omapdss(+)
> > [    6.055117] , *ppte=00000000
> > [    6.060693]  generic_adc_battery
> > [    6.069271]  omapdss_base
> > [    6.075288] Internal error: Oops: 7 [#4] PREEMPT SMP ARM
> > [    6.082849]  pwm_bl
> > [    6.085665] Modules linked in:
> > [    6.088870]  cec
> > [    6.093963]  connector_hdmi(+)
> > [    6.096513]  snd_soc_omap_aess ehci_omap(+)
> > [    6.099531]  omapdss(+) generic_adc_battery
> > [    6.099539] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.099543] pgd = (ptrval)
> > [    6.102919]  wlcore_sdio(+)
> > [    6.105654] [bf235040] *pgd=acce0811
> > [    6.111222]  dwc3_omap
> > [    6.113403] , *pte=00000000
> > [    6.116593]  snd_soc_ts3a227e
> > [    6.118515] , *ppte=00000000
> > [    6.118523] Internal error: Oops: 7 [#5] PREEMPT SMP ARM
> > [    6.118526] Modules linked in:
> > [    6.121723]  leds_is31fl319x
> > [    6.126093]  connector_hdmi(+)
> > [    6.130483]  crtouch_mt
> > [    6.138019]  omapdss(+) generic_adc_battery
> > [    6.138027] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.138031] pgd = (ptrval)
> > [    6.140864]  bq27xxx_battery_i2c(+)
> > [    6.143788] [bf235040] *pgd=acce0811
> > [    6.147527]  tsc2007
> > [    6.149986] , *pte=00000000, *ppte=00000000
> > [    6.149998] Internal error: Oops: 7 [#6] PREEMPT SMP ARM
> > [    6.152917]  bmp280_spi
> > [    6.156021] Modules linked in:
> > [    6.159048]  bq27xxx_battery
> > [    6.164598]  connector_hdmi(+)
> > [    6.167800]  bq2429x_charger
> > [    6.170803]  omapdss(+)
> > [    6.173995]  ina2xx
> > [    6.176548]  generic_adc_battery
> > [    6.176554] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.180936]  gpio_twl6040
> > [    6.188477] pgd = (ptrval)
> > [    6.188481] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.191321]  as5013(+)
> > [    6.194976] Internal error: Oops: 7 [#7] PREEMPT SMP ARM
> > [    6.198722]  tca8418_keypad
> > [    6.200993] Modules linked in:
> > [    6.205374]  twl6040_vibra
> > [    6.210932]  connector_hdmi(+) omapdss(+) generic_adc_battery
> > [    6.210944] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.213501]  bmc150_magn_i2c
> > [    6.216693] pgd = (ptrval)
> > [    6.216697] [bf235040] *pgd=acce0811
> > [    6.219716]  bmc150_accel_i2c
> > [    6.222896] , *pte=00000000
> > [    6.225906]  palmas_pwrbutton
> > [    6.228457] , *ppte=00000000
> > [    6.228465] Internal error: Oops: 7 [#8] PREEMPT SMP ARM
> > [    6.228469] Modules linked in:
> > [    6.230661]  bmc150_magn
> > [    6.234036]  connector_hdmi(+)
> > [    6.241618]  bmc150_accel_core
> > [    6.244347]  omapdss(+)
> > [    6.247176] Unable to handle kernel paging request at virtual
> > address bf11b080
> > [    6.253724]  generic_adc_battery
> > [    6.253730] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.253733] pgd = (ptrval)
> > [    6.253737] [bf235040] *pgd=acce0811
> > [    6.256206] pgd = (ptrval)
> > [    6.261765] , *pte=00000000, *ppte=00000000
> > [    6.261779] Internal error: Oops: 7 [#9] PREEMPT SMP ARM
> > [    6.264700] [bf11b080] *pgd=aca42811, *pte=00000000
> > [    6.267897] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.270738] , *ppte=00000000
> > [    6.276753] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.287326] pgd = (ptrval)
> > [    6.390320] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.396896] Internal error: Oops: 7 [#10] PREEMPT SMP ARM
> > [    6.402549] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.402566] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.417781] pgd = (ptrval)
> > [    6.420612] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.427181] Internal error: Oops: 7 [#11] PREEMPT SMP ARM
> > [    6.432826] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.432843] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.448065] pgd = (ptrval)
> > [    6.450900] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.457480] Internal error: Oops: 7 [#12] PREEMPT SMP ARM
> > [    6.463135] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.463152] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.478363] pgd = (ptrval)
> > [    6.481193] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.487769] Internal error: Oops: 7 [#13] PREEMPT SMP ARM
> > [    6.493419] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.493436] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.508651] pgd = (ptrval)
> > [    6.511481] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.518058] Internal error: Oops: 7 [#14] PREEMPT SMP ARM
> > [    6.523713] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.523731] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.538958] pgd = (ptrval)
> > [    6.541789] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.548369] Internal error: Oops: 7 [#15] PREEMPT SMP ARM
> > [    6.554020] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.554037] Unable to handle kernel paging request at virtual
> > address bf235040
> > [    6.569252] pgd = (ptrval)
> > [    6.572082] [bf235040] *pgd=acce0811, *pte=00000000, *ppte=00000000
> > [    6.578668] Internal error: Oops: 7 [#16] PREEMPT SMP ARM
> > [    6.584320] Modules linked in: connector_hdmi(+) omapdss(+)
> > generic_adc_battery
> > [    6.584337] Unable to handle kernel paging request at virtual
> > address bf235040
> >
> > Looks like AESS block is not clocked and hwmod is not properly
> > initialized (maybe I'll copy from omap4-hwmod) where it's present.
>
> Yes, that is very likely. Idid similar adventures for the OMAP3 PVR/SGX
> integration. hwmods are unfortunately incomplete. Sometimes they even
> have to switch some L3/L4 stuff which is black magic.
>
> > @ Andrey: would be possible to share sources from where you get
> > original code. Thanks.
> >
> > Diff is :
> > diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi
> > b/arch/arm/boot/dts/omap5-board-common.dtsi
> > index 218892b..2a5aa09 100644
> > --- a/arch/arm/boot/dts/omap5-board-common.dtsi
> > +++ b/arch/arm/boot/dts/omap5-board-common.dtsi
> > @@ -148,6 +148,10 @@
> >                        "AFML", "Line In",
> >                        "AFMR", "Line In";
> >        };
> > +       aess: aess {
> > +          compatible = "ti,omap4-aess";
>
> googling for 'compatible = "ti,omap4-aess"'
> gives nice stuff (but for still to be determined kernel versions):
>
>         https://patchwork.ozlabs.org/patch/807681/
>         https://e2e.ti.com/support/arm/automotive_processors/f/1020/t/640698?Linux-OMAP5432-EVM-Trouble-in-booting-linux-on-OMAP5432-EVM-platform
>         https://www.spinics.net/lists/linux-omap/msg139053.html
>         https://kernel.googlesource.com/pub/scm/linux/kernel/git/lrg/asoc/+/omap/v3.10%5E1..omap/v3.10/
>
> So it s clear that we need at least some reg property and some hwmods.
>
> > +          status = "okay";
> > +        };
> > };
> >
> > BR,
> >
> > marek
>
> BR,
> Nikolaus
>



More information about the Letux-kernel mailing list