Re: [PATCH] dt-bindings: panel-simple-dsi: move LG 5" HD TFT LCD panel into DSI yaml

From: David Heidelberg
Date: Tue Dec 12 2023 - 15:10:30 EST


Good catch, thank you! Sent v2.

David

On 12/12/2023 20:41, Jessica Zhang wrote:


On 12/12/2023 9:53 AM, David Heidelberg wrote:
Originally was in the panel-simple, but belongs to panel-simple-dsi.

See arch/arm/boot/dts/nvidia/tegra114-roth.dts for more details.

Fixes:
```
arch/arm/boot/dts/tegra114-roth.dt.yaml: panel@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
         From schema: Documentation/devicetree/bindings/display/panel/panel-simple.yaml
```

Hi David,

Would "Fixes: 310abcea76e9 ("dt-bindings: display: convert simple lg panels to DT Schema")" be appropriate here?

Thanks,

Jessica Zhang


Signed-off-by: David Heidelberg <david@xxxxxxx>
---
.../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 ++
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 --
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
index 73674baea75d..f9160d7bac3c 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
@@ -42,6 +42,8 @@ properties:
        - lg,acx467akm-7
          # LG Corporation 7" WXGA TFT LCD panel
        - lg,ld070wx3-sl01
+        # LG Corporation 5" HD TFT LCD panel
+      - lg,lh500wx1-sd03
          # One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
        - osddisplays,osd101t2587-53ts
          # Panasonic 10" WUXGA TFT LCD panel
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index 2021aa82871a..634a10c6f2dd 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -212,8 +212,6 @@ properties:
        - lemaker,bl035-rgb-002
          # LG 7" (800x480 pixels) TFT LCD panel
        - lg,lb070wv8
-        # LG Corporation 5" HD TFT LCD panel
-      - lg,lh500wx1-sd03
          # LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel
        - lg,lp079qx1-sp0v
          # LG 9.7" (2048x1536 pixels) TFT LCD panel
--
2.43.0

--
David Heidelberg