[PATCH RESEND 14/22] drm/sun4i: add a100/a133 tcon top quirks
Parthiban Nallathambi
parthiban at linumiz.com
Fri Dec 27 05:01:03 PST 2024
A100/A133 comes with 2 x LVDS, 1 x DSI without TV support. Add
quirks with tv0 disabled. DSI support is not added.
Signed-off-by: Parthiban Nallathambi <parthiban at linumiz.com>
---
drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/sun4i/sun8i_tcon_top.c b/drivers/gpu/drm/sun4i/sun8i_tcon_top.c
index bd9d0840ead7..a777b30ecea0 100644
--- a/drivers/gpu/drm/sun4i/sun8i_tcon_top.c
+++ b/drivers/gpu/drm/sun4i/sun8i_tcon_top.c
@@ -280,6 +280,10 @@ static const struct sun8i_tcon_top_quirks sun20i_d1_tcon_top_quirks = {
.has_dsi = true,
};
+static const struct sun8i_tcon_top_quirks sun50i_a100_tcon_top_quirks = {
+ /* TODO DSI support */
+};
+
static const struct sun8i_tcon_top_quirks sun50i_h6_tcon_top_quirks = {
.has_tcon_tv0 = true,
};
@@ -294,6 +298,10 @@ const struct of_device_id sun8i_tcon_top_of_table[] = {
.compatible = "allwinner,sun20i-d1-tcon-top",
.data = &sun20i_d1_tcon_top_quirks
},
+ {
+ .compatible = "allwinner,sun50i-a100-tcon-top",
+ .data = &sun50i_a100_tcon_top_quirks
+ },
{
.compatible = "allwinner,sun50i-h6-tcon-top",
.data = &sun50i_h6_tcon_top_quirks
--
2.39.5
More information about the linux-phy
mailing list