2023-12-12 20:09:56

by David Heidelberg

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

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 <[email protected]>
---
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


2023-12-13 01:34:27

by Jessica Zhang

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



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 <[email protected]>

Acked-by: Jessica Zhang <[email protected]>

> ---
> 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
>

2023-12-13 06:45:59

by Krzysztof Kozlowski

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

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 <[email protected]>
> ---
> 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 <[email protected]>

Best regards,
Krzysztof

2023-12-13 10:54:06

by Neil Armstrong

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

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

--
Neil