Re: OMAP5: inconsistency between target-module and dsi_of_data_omap5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tony,

> Am 05.07.2020 um 16:36 schrieb Tony Lindgren <tony@xxxxxxxxxxx>:
> 
> * Tony Lindgren <tony@xxxxxxxxxxx> [200705 14:27]:
>> * H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> [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@0  {
>>>>                                       };
>>>>                               };
>>>> 
>>>> -                               target-module@5000 {
>>>> +                               target-module@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@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@letux:~# 

Does the panel driver also need some modification? It is no longer loaded.

BR and thanks,
Nikolaus





[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux