diff mbox series

[v2,2/3] dt-bindings: panel: Document Frida FRD350H54004 LCD panel

Message ID 20191202154123.64139-2-paul@crapouillou.net (mailing list archive)
State New, archived
Headers show
Series [v2,1/3] dt-bindings: vendor-prefixes: Add Shenzhen Frida LCD Co., Ltd. | expand

Commit Message

Paul Cercueil Dec. 2, 2019, 3:41 p.m. UTC
Add bindings documentation for the Frida 3.5" (320x240 pixels) 24-bit
TFT LCD panel.

v2: Switch documentation from plain text to YAML

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 .../display/panel/frida,frd350h54004.yaml     | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml

Comments

Rob Herring Dec. 13, 2019, 11:29 p.m. UTC | #1
On Mon, Dec 02, 2019 at 04:41:22PM +0100, Paul Cercueil wrote:
> Add bindings documentation for the Frida 3.5" (320x240 pixels) 24-bit
> TFT LCD panel.
> 
> v2: Switch documentation from plain text to YAML
> 
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> ---
>  .../display/panel/frida,frd350h54004.yaml     | 31 +++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml
> 
> diff --git a/Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml b/Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml
> new file mode 100644
> index 000000000000..a29c3daf0c78
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml
> @@ -0,0 +1,31 @@
> +# SPDX-License-Identifier: GPL-2.0

Dual license new bindings please:

(GPL-2.0-only OR BSD-2-Clause)

With that,

Reviewed-by: Rob Herring <robh@kernel.org>

> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/frida,frd350h54004.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Frida 3.5" (320x240 pixels) 24-bit TFT LCD panel
> +
> +maintainers:
> +  - Paul Cercueil <paul@crapouillou.net>
> +  - Thierry Reding <thierry.reding@gmail.com>
> +
> +allOf:
> +  - $ref: panel-common.yaml#
> +
> +properties:
> +  compatible:
> +    const: frida,frd350h54004
> +
> +  power-supply: true
> +  backlight: true
> +  enable-gpios: true
> +  port: true
> +
> +additionalProperties: false
> +
> +required:
> +  - compatible
> +  - power-supply
> +
> +...
> -- 
> 2.24.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml b/Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml
new file mode 100644
index 000000000000..a29c3daf0c78
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/frida,frd350h54004.yaml
@@ -0,0 +1,31 @@ 
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/frida,frd350h54004.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Frida 3.5" (320x240 pixels) 24-bit TFT LCD panel
+
+maintainers:
+  - Paul Cercueil <paul@crapouillou.net>
+  - Thierry Reding <thierry.reding@gmail.com>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    const: frida,frd350h54004
+
+  power-supply: true
+  backlight: true
+  enable-gpios: true
+  port: true
+
+additionalProperties: false
+
+required:
+  - compatible
+  - power-supply
+
+...