Skip to contentSkip to conversation

drm: panel: nv3052c: correct spi_device_id for RG35XX panel

PATCH Superseded Ryan Walklin 2 participants 2 messages Sep 29, 2024 – Sep 30, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: panel: nv3052c: correct spi_device_id for RG35XX panel

The Anbernic RG35XX devices use an SPI LCD panel from an unknown OEM, with an NV3052C driver chip.

As discussed previously, the integrating vendor and device name are preferred instead of the OEM serial. A previous patch corrected the device tree binding and of_device_id in the NV3052C driver, however the spi_device_id also needs correction.

Correct the spi_device_id for the RG35XX panel.

Fixes 76dce2a9 ("drm: panel: nv3052c: Correct WL-355608-A8 panel compatible")
---
 drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-newvision-nv3052c.c +1 -1
index d3baccfe6286b..06e16a7c14a75 100644
@@ -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", },
-	{ "wl-355608-a8", },
+	{ "rg35xx-plus-panel", },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(spi, nv3052c_ids);
Signature · 1 line
2.46.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Ryan Walklin

The Anbernic RG35XX devices use an SPI LCD panel from an unknown OEM, with an NV3052C driver chip.

As discussed previously, the integrating vendor and device name are preferred instead of the OEM serial. A previous patch corrected the device tree binding and of_device_id in the NV3052C driver, however the spi_device_id also needs correction.

Correct the spi_device_id for the RG35XX panel.

Fixes 76dce2a9 ("drm: panel: nv3052c: Correct WL-355608-A8 panel compatible")
---
  drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-newvision-nv3052c.c +0 -0
index d3baccfe6286b..06e16a7c14a75 100644

drivers/gpu/drm/panel/panel-newvision-nv3052c.c static const struct nv3052c_panel_info wl_355608_a8_panel_info = { · line 923

Quoted 8 lines
drivers/gpu/drm/panel/panel-newvision-nv3052c.c +1 -1
@@ -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", },
-	{ "wl-355608-a8", },
+	{ "rg35xx-plus-panel", },
  	{ /* sentinel */ }
  };
  MODULE_DEVICE_TABLE(spi, nv3052c_ids);