Skip to contentSkip to conversation

drm: panel: nv3052c: correct spi_device_id for RG35XX panel

PATCH RESEND Applied Ryan Walklin 3 participants 4 messages Oct 20, 2024 – Oct 26, 2024

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

PATCH RESEND 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.47.0
#1 lore raw
Quoted 8 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.

Quoted 4 lines

Correct the spi_device_id for the RG35XX panel.

Fixes 76dce2a9 ("drm: panel: nv3052c: Correct WL-355608-A8 panel compatible")

I had to fix the Fixes tag when applying the patch. It is recommended to use 12 chars of the commit id. For example in my ~/.gitconfig I have the following part, so git log --pretty=fixes gives me correct Fixes line:

[pretty]

        fixes = %C(auto)commit %H%Creset%nFixes: %h (\"%s\")%nAuthor: %aN <%aE>%nDate: %aD%nComitter-Date: %cD%n%n%w(0,4,4)%b
Quoted 21 lines
---
 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.47.0
Signature · 2 lines
With best wishes
Dmitry
#2 lore raw
In reply to Ryan Walklin
Quoted 9 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.

[...]

Applied to drm-misc-next, thanks!

[1/1] drm: panel: nv3052c: correct spi_device_id for RG35XX panel

      commit: 45608a3eb4902f32010a8328c0a01ccda4b38c9b

Best regards,

Signature · 2 lines
With best wishes
Dmitry
#3 lore raw

Hello,

Unfortunately, I've found that the recent Anbernic RG35XX Plus uses a new panel labeled YLM-LBV0345001H-V2, which is not compatible with the WL-355608-A8 in its initialization sequence.
Thus, the name rg35xx-plus-panel is no longer a unique identifier for the panel.

I think it should be renamed to anbernic,wl-355608-a8 to distinguish them, and anbernic,ylm-lbv0345001h-v2 should be added for the new panel.

Best regards,
kikuchan.

Quoted 22 lines · Dmitry Baryshkov
Quoted 9 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.

[...]

Applied to drm-misc-next, thanks!

[1/1] drm: panel: nv3052c: correct spi_device_id for RG35XX panel

      commit: 45608a3eb4902f32010a8328c0a01ccda4b38c9b

Best regards,
--
With best wishes
Dmitry