2019-06-24 22:11:20

by Rob Herring

[permalink] [raw]
Subject: [PATCH v2 09/15] dt-bindings: display: Convert tfc,s9700rtwv43tr-01b panel to DT schema

Convert the tfc,s9700rtwv43tr-01b panel binding to DT schema.

Cc: Heiko Stuebner <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: [email protected]
Signed-off-by: Rob Herring <[email protected]>
---
.../display/panel/tfc,s9700rtwv43tr-01b.txt | 15 ----------
.../display/panel/tfc,s9700rtwv43tr-01b.yaml | 30 +++++++++++++++++++
2 files changed, 30 insertions(+), 15 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt
create mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml

diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt
deleted file mode 100644
index dfb572f085eb..000000000000
--- a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with
-resistive touch
-
-The panel is found on TI AM335x-evm.
-
-Required properties:
-- compatible: should be "tfc,s9700rtwv43tr-01b"
-- power-supply: See panel-common.txt
-
-Optional properties:
-- enable-gpios: GPIO pin to enable or disable the panel, if there is one
-- backlight: phandle of the backlight device attached to the panel
-
-This binding is compatible with the simple-panel binding, which is specified
-in simple-panel.txt in this directory.
diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml
new file mode 100644
index 000000000000..614f4a8d8403
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml
@@ -0,0 +1,30 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/tfc,s9700rtwv43tr-01b.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch
+
+maintainers:
+ - Jyri Sarha <[email protected]>
+ - Thierry Reding <[email protected]>
+
+description: |+
+ The panel is found on TI AM335x-evm.
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: tfc,s9700rtwv43tr-01b
+
+ enable-gpios: true
+ backlight: true
+
+required:
+ - compatible
+ - power-supply
+
+...
--
2.20.1


2019-06-25 07:59:24

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH v2 09/15] dt-bindings: display: Convert tfc,s9700rtwv43tr-01b panel to DT schema

On Mon, Jun 24, 2019 at 03:56:43PM -0600, Rob Herring wrote:
> Convert the tfc,s9700rtwv43tr-01b panel binding to DT schema.
>
> Cc: Heiko Stuebner <[email protected]>
> Cc: Thierry Reding <[email protected]>
> Cc: Sam Ravnborg <[email protected]>
> Cc: Maxime Ripard <[email protected]>
> Cc: Laurent Pinchart <[email protected]>
> Cc: [email protected]
> Signed-off-by: Rob Herring <[email protected]>
> ---
> .../display/panel/tfc,s9700rtwv43tr-01b.txt | 15 ----------
> .../display/panel/tfc,s9700rtwv43tr-01b.yaml | 30 +++++++++++++++++++
> 2 files changed, 30 insertions(+), 15 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt
> create mode 100644 Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt
> deleted file mode 100644
> index dfb572f085eb..000000000000
> --- a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.txt
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with
> -resistive touch
> -
> -The panel is found on TI AM335x-evm.
> -
> -Required properties:
> -- compatible: should be "tfc,s9700rtwv43tr-01b"
> -- power-supply: See panel-common.txt
> -
> -Optional properties:
> -- enable-gpios: GPIO pin to enable or disable the panel, if there is one
> -- backlight: phandle of the backlight device attached to the panel
> -
> -This binding is compatible with the simple-panel binding, which is specified
> -in simple-panel.txt in this directory.
> diff --git a/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml
> new file mode 100644
> index 000000000000..614f4a8d8403
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/tfc,s9700rtwv43tr-01b.yaml
> @@ -0,0 +1,30 @@
> +# SPDX-License-Identifier: GPL-2.0
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/tfc,s9700rtwv43tr-01b.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: TFC S9700RTWV43TR-01B 7" Three Five Corp 800x480 LCD panel with resistive touch
> +
> +maintainers:
> + - Jyri Sarha <[email protected]>
> + - Thierry Reding <[email protected]>
> +
> +description: |+
> + The panel is found on TI AM335x-evm.
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + compatible:
> + const: tfc,s9700rtwv43tr-01b
> +
> + enable-gpios: true
> + backlight: true

There's the same remark than on patch 6. Once figured out,
Reviewed-by: Maxime Ripard <[email protected]>

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


Attachments:
(No filename) (2.92 kB)
signature.asc (235.00 B)
Download all attachments