diff mbox series

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

Message ID 20231212200934.99262-1-david@ixit.cz (mailing list archive)
State New, archived
Headers show
Series [v2] dt-bindings: panel-simple-dsi: move LG 5" HD TFT LCD panel into DSI yaml | expand

Commit Message

David Heidelberg Dec. 12, 2023, 8:09 p.m. UTC
Originally was in the panel-simple, but belongs to panel-simple-dsi.

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

Resolves the following warning:
```
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
```

Fixes: 310abcea76e9 ("dt-bindings: display: convert simple lg panels to DT Schema")
Signed-off-by: David Heidelberg <david@ixit.cz>
---
v2: added Fixes tag (thx to Jessica)

 .../devicetree/bindings/display/panel/panel-simple-dsi.yaml     | 2 ++
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jessica Zhang Dec. 13, 2023, 1:33 a.m. UTC | #1
On 12/12/2023 12:09 PM, 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.
> 
> Resolves the following warning:
> ```
> 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
> ```
> 
> Fixes: 310abcea76e9 ("dt-bindings: display: convert simple lg panels to DT Schema")
> Signed-off-by: David Heidelberg <david@ixit.cz>

Acked-by: Jessica Zhang <quic_jesszhan@quicinc.com>

> ---
> v2: added Fixes tag (thx to Jessica)
> 
>   .../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
>
Krzysztof Kozlowski Dec. 13, 2023, 6:45 a.m. UTC | #2
On 12/12/2023 21:09, 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.
> 
> Resolves the following warning:
> ```
> 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
> ```
> 
> Fixes: 310abcea76e9 ("dt-bindings: display: convert simple lg panels to DT Schema")
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> v2: added Fixes tag (thx to Jessica)
> 
>  .../devicetree/bindings/display/panel/panel-simple-dsi.yaml     | 2 ++
>  .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 --
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Neil Armstrong Dec. 13, 2023, 10:53 a.m. UTC | #3
Hi,

On Tue, 12 Dec 2023 21:09:17 +0100, 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.
> 
> Resolves the following warning:
> ```
> 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
> ```
> 
> [...]

Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes)

[1/1] dt-bindings: panel-simple-dsi: move LG 5" HD TFT LCD panel into DSI yaml
      https://cgit.freedesktop.org/drm/drm-misc/commit/?id=fa97e21e74df5ef63a442e4cfd13fd113fc8196e
diff mbox series

Patch

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