[Letux-kernel] OMAP5: inconsistency between target-module and dsi_of_data_omap5
H. Nikolaus Schaller
hns at goldelico.com
Sun Jul 5 17:40:17 CEST 2020
Hi Tony,
> Am 05.07.2020 um 16:36 schrieb Tony Lindgren <tony at atomide.com>:
>
> * Tony Lindgren <tony at atomide.com> [200705 14:27]:
>> * H. Nikolaus Schaller <hns at goldelico.com> [200705 13:48]:
>>>> This patch makes the DSI error go away and omapdrm initialized:
>>>>
>>>> diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
>>>> index e147121513e644..b9f54f62163879 100644
>>>> --- a/arch/arm/boot/dts/omap5.dtsi
>>>> +++ b/arch/arm/boot/dts/omap5.dtsi
>>>> @@ -474,7 +474,7 @@ rfbi: encoder at 0 {
>>>> };
>>>> };
>>>>
>>>> - target-module at 5000 {
>>>> + target-module at 4000 {
>>>> compatible = "ti,sysc-omap2", "ti,sysc";
>>>> reg = <0x5000 0x4>,
>>>> <0x5010 0x4>,
>
> Looks like you need to also change the reg offsets above
> from 0x5000 something to 0x4000 something.
I think I had tried that as well, but then it seems to hang
in drm_setup_crtcs_fb (or shortly after).
>
>> Do you have loaded display-connector? That is needed starting
>> with v5.7-rc1.
>
> Where the display-connector is a new kernel module to load.
Ah, ok. Never heard of but it seems to be selected automatically:
CONFIG_CONNECTOR=y
CONFIG_DRM_DISPLAY_CONNECTOR=m
and
root at letux:~# lsmod | fgrep dss
omapdss 163840 3
omapdss_base 16384 2 omapdrm,omapdss
drm_kms_helper 143360 3 omapdss_base,omapdrm,omapdss
drm 380928 10 ti_tpd12s015,omapdss_base,pvrsrvkm_omap5_sgx544_116,display_connector,etnaviv,omapdrm,gpu_sched,omapdss,drm_kms_helper
cec 45056 1 omapdss
root at letux:~#
Does the panel driver also need some modification? It is no longer loaded.
BR and thanks,
Nikolaus
More information about the Letux-kernel
mailing list