[PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

H. Nikolaus Schaller hns at goldelico.com
Thu Nov 5 18:56:00 UTC 2020


> Am 05.11.2020 um 19:28 schrieb Tomi Valkeinen <tomi.valkeinen at ti.com>:
> 
> On 05/11/2020 20:14, H. Nikolaus Schaller wrote:
>> 
>>> Am 05.11.2020 um 18:36 schrieb Tomi Valkeinen <tomi.valkeinen at ti.com>:
>>> 
>>> Hi,
>>> 
>>> On 05/11/2020 19:15, H. Nikolaus Schaller wrote:
>>> 
>>>> Next, I migrated my long waiting mipi_dsi/drm_panel driver conversion for
>>>> the panel of the Pyra handheld (omap 5 based) to compile on 5.10-rc2. And
>>>> I followed the latest existing panel-orisetech-otm8009a.c which uses a
>>>> similar video mode controller and mipi-dsi.
>>>> 
>>>> That one seems to be used by arch/arm/boot/dts/stm32f469-disco.dts.
>>>> 
>>>> Unfortunately my panel driver is not even loaded by drm/omap so I can't
>>>> debug. Does this set of drm/omap drivers need a modification of the device
>>>> tree? If yes, which one?
>>> 
>>> omapdrm doesn't load the panel drivers. If not even your panel's probe is called, then it hints at
>>> DT and/or driver's compatible string issue. The panel's probe should get called even if omapdrm is
>>> not loaded at all.
>> 
>> Well, I use the same device tree that loads the old driver...
> 
> Yeah, I was mistaken above. With DSI the panel (may be) a child of the DSI host, so it will affect.
> 
> Can you give pointers to the panel driver source and relevant dts files? BOE BTL507212-W677L?

Yes. It is (now) 

drivers/gpu/drm/panel/panel-boe-btl507212-w677l.c

and

arch/arm/boot/dts/omap5-letux-cortex15-common.dtsi (for the basic dsi definitions)
arch/arm/boot/dts/pyra-display.dtsi (for the specific display)

All this is merged by some arch/arm/boot/dts/omap5-letux-cortex15-v5.3+pyra-v5.2.dts

(I know there are quite a lot of variants but it is a modular system potentially able to
accomodate a non-omap processor but the same display).

BR,
Nikolaus



More information about the dri-devel mailing list