On 24/02/2020 21:12, Tony Lindgren wrote:
In order to probe display subsystem (DSS) components with ti-sysc interconnect target module without legacy platform data and using devicetree, we need to update dss probing a bit.
In the device tree, we will be defining the data also for the interconnect target modules as DSS really is a private interconnect. There is some information about that in 4460 TRM in "Figure 10-3. DSS Integration" for example where it mentions "32-bit interconnect (SLX)".
The changes we need to make are:
Parse also device tree subnodes for the compatible property fixup
Update the component code to consider device tree subnodes
Cc: dri-devel@lists.freedesktop.org Cc: Jyri Sarha jsarha@ti.com Cc: Laurent Pinchart laurent.pinchart@ideasonboard.com Cc: Tomi Valkeinen tomi.valkeinen@ti.com Signed-off-by: Tony Lindgren tony@atomide.com
This is needed for dropping DSS platform data that I'll be posting seprately. If this looks OK, can you guys please test and ack?
drivers/gpu/drm/omapdrm/dss/dss.c | 25 ++++++++++++++++--- .../gpu/drm/omapdrm/dss/omapdss-boot-init.c | 25 +++++++++++++------ 2 files changed, 39 insertions(+), 11 deletions(-)
Reviewed-by: Tomi Valkeinen tomi.valkeinen@ti.com
This doesn't conflict with drm-next (with Laurent's recent patches), so it should be fine for you to have this in your branch.
And not a biggie, but I wonder if the changes to these two files should be in separate patches, due to omapdss-boot-init going away. Well, probably doesn't matter.
Tomi