A panel assembly is changed in the recent revision of Anbernic RG35XX
Plus, so the `anbernic,rg35xx-plus-panel` identifier is neither suitable
nor unique for the panel anymore.

Fortunately, the panel can be distinguished by a label printed on the
FPC cable, so use the label "WL-355608-A8" as an identifier instead.

Signed-off-by: Hironori KIKUCHI <[email protected]>
---
 drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c 
b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
index 06e16a7c14a..2da1e924177 100644
--- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
+++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c
@@ -917,7 +917,7 @@ static const struct nv3052c_panel_info 
wl_355608_a8_panel_info = {
 static const struct spi_device_id nv3052c_ids[] = {
        { "ltk035c5444t", },
        { "fs035vg158", },
-       { "rg35xx-plus-panel", },
+       { "wl-355608-a8", },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(spi, nv3052c_ids);
@@ -925,7 +925,7 @@ MODULE_DEVICE_TABLE(spi, nv3052c_ids);
 static const struct of_device_id nv3052c_of_match[] = {
        { .compatible = "leadtek,ltk035c5444t", .data = 
&ltk035c5444t_panel_info },
        { .compatible = "fascontek,fs035vg158", .data = &fs035vg158_panel_info 
},
-       { .compatible = "anbernic,rg35xx-plus-panel", .data = 
&wl_355608_a8_panel_info },
+       { .compatible = "anbernic,wl-355608-a8", .data = 
&wl_355608_a8_panel_info },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, nv3052c_of_match);
-- 
2.47.0

Reply via email to