2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/arch/arm/mach-davinci
Bartosz Golaszewski 68f2515bb3 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
The lcdc device is missing the dma_coherent_mask definition causing the
following warning on da850-evm:

da8xx_lcdc da8xx_lcdc.0: found Sharp_LK043T1DG01 panel
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at kernel/dma/mapping.c:247 dma_alloc_attrs+0xc8/0x110
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.0-rc3-00077-g16d72dd4891f #18
Hardware name: DaVinci DA850/OMAP-L138/AM18x EVM
[<c000fce8>] (unwind_backtrace) from [<c000d900>] (show_stack+0x10/0x14)
[<c000d900>] (show_stack) from [<c001a4f8>] (__warn+0xec/0x114)
[<c001a4f8>] (__warn) from [<c001a634>] (warn_slowpath_null+0x3c/0x48)
[<c001a634>] (warn_slowpath_null) from [<c0065860>] (dma_alloc_attrs+0xc8/0x110)
[<c0065860>] (dma_alloc_attrs) from [<c02820f8>] (fb_probe+0x228/0x5a8)
[<c02820f8>] (fb_probe) from [<c02d3e9c>] (platform_drv_probe+0x48/0x9c)
[<c02d3e9c>] (platform_drv_probe) from [<c02d221c>] (really_probe+0x1d8/0x2d4)
[<c02d221c>] (really_probe) from [<c02d2474>] (driver_probe_device+0x5c/0x168)
[<c02d2474>] (driver_probe_device) from [<c02d2728>] (device_driver_attach+0x58/0x60)
[<c02d2728>] (device_driver_attach) from [<c02d27b0>] (__driver_attach+0x80/0xbc)
[<c02d27b0>] (__driver_attach) from [<c02d047c>] (bus_for_each_dev+0x64/0xb4)
[<c02d047c>] (bus_for_each_dev) from [<c02d1590>] (bus_add_driver+0xe4/0x1d8)
[<c02d1590>] (bus_add_driver) from [<c02d301c>] (driver_register+0x78/0x10c)
[<c02d301c>] (driver_register) from [<c000a5c0>] (do_one_initcall+0x48/0x1bc)
[<c000a5c0>] (do_one_initcall) from [<c05cae6c>] (kernel_init_freeable+0x10c/0x1d8)
[<c05cae6c>] (kernel_init_freeable) from [<c048a000>] (kernel_init+0x8/0xf4)
[<c048a000>] (kernel_init) from [<c00090e0>] (ret_from_fork+0x14/0x34)
Exception stack(0xc6837fb0 to 0xc6837ff8)
7fa0:                                     00000000 00000000 00000000 00000000
7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
---[ end trace 8a8073511be81dd2 ]---

Add a 32-bit mask to the platform device's definition.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2019-06-14 16:20:34 +05:30
..
include/mach Power management updates for 5.1-rc1 2019-03-06 12:59:46 -08:00
asp.h ARM: davinci: wrap HW interrupt numbers with a macro 2019-02-19 19:40:52 +05:30
board-da830-evm.c ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx 2019-04-12 19:46:47 +05:30
board-da850-evm.c ARM: davinci: da850-evm: call regulator_has_full_constraints() 2019-06-14 16:16:56 +05:30
board-dm355-evm.c ARM: davinci: add missing sentinels to GPIO lookup tables 2019-04-12 19:43:54 +05:30
board-dm355-leopard.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-dm365-evm.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-dm644x-evm.c ARM: davinci: add missing sentinels to GPIO lookup tables 2019-04-12 19:43:54 +05:30
board-dm646x-evm.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-mityomapl138.c ARM: davinci: cp-intc: add a wrapper around cp_intc_init() 2019-02-19 20:03:08 +05:30
board-neuros-osd2.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-omapl138-hawk.c ARM: davinci: omapl138-hawk: add a fixed regulator for ohci-da8xx 2019-04-12 19:46:46 +05:30
board-sffsdr.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
clock.h ARM: davinci: remove legacy clocks 2018-06-26 16:15:55 +05:30
common.c ARM: davinci: pull davinci_intc_base into the respective intc drivers 2019-02-19 19:40:38 +05:30
cpuidle.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
da8xx-dt.c ARM: davinci: da8xx-dt: switch to device tree clocks 2018-06-26 16:20:03 +05:30
da830.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
da850.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
davinci.h ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
ddr2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices-da8xx.c ARM: davinci: da8xx: specify dma_coherent_mask for lcdc 2019-06-14 16:20:34 +05:30
devices.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
dm355.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
dm365.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
dm644x.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
dm646x.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
irqs.h ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
Kconfig irqchip: davinci-cp-intc: move the driver to drivers/irqchip 2019-02-19 20:03:42 +05:30
Makefile irqchip: davinci-cp-intc: move the driver to drivers/irqchip 2019-02-19 20:03:42 +05:30
Makefile.boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pdata-quirks.c ARM: davinci: fix const warnings 2017-06-15 19:18:24 +05:30
pm_domain.c ARM: davinci: da8xx-dt: switch to device tree clocks 2018-06-26 16:20:03 +05:30
pm.c ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init' 2017-05-17 15:25:18 +05:30
psc.h ARM: davinci: remove legacy clocks 2018-06-26 16:15:55 +05:30
serial.c ARM: davinci: serial.c: remove unused serial_read_reg() 2015-01-14 15:56:12 +05:30
sleep.S ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
time.c ARM: davinci: add device tree support to timer 2018-06-26 16:18:10 +05:30
usb-da8xx.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
usb.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30