]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: tidss: Use DT property names for parsing nodes
authorDevarsh Thakkar <devarsht@ti.com>
Wed, 24 Jan 2024 09:07:11 +0000 (14:37 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jan 2024 19:50:15 +0000 (14:50 -0500)
commitca6d60df2f3616f1817951621aa46023737ec711
treef9ae3b902bc8b9ca0d632d8f51f853ffd22b7b30
parent54245af0ae30369170815bbc405c2f69f778bee1
video: tidss: Use DT property names for parsing nodes

Use device-tree node property names for parsing nodes instead of
indexing as indexing could be different between different SoCs based on
number of DSS entities available on that particular SoC.

Also correct the video layer naming in driver to match to actual one
being used in upstream DSS device-tree node [1].

This also fixes AM62x splash screen usage using the latest upstream DSS
device-tree nodes where hard-coded indexing which driver was using
before this patch was not matching the correct properties in the DT
node.

[1]: Upstream AM62x DSS node:
https://github.com/torvalds/linux/blob/v6.8-rc1/arch/arm64/boot/dts/ti/k3-am62-main.dtsi#L774

Fixes: 5f9f816bb8 ("drivers: video: tidss: TIDSS video driver support for AM62x")
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Nikhil M Jain <n-jain1@ti.com>
drivers/video/tidss/tidss_drv.c