diff mbox series

[1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel

Message ID bc69f06adb9e5e590ae58bdb47717699a0b404ff.1574959312.git.jsarha@ti.com
State Superseded, archived
Headers show
Series [1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel | expand

Checks

Context Check Description
robh/checkpatch success
robh/dt-meta-schema fail build log

Commit Message

Jyri Sarha Nov. 28, 2019, 4:45 p.m. UTC
Add DT schema binding for Rocktech Displays Limited RK101II01D-CT
10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and
capacitive touch panel.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
 .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml

Comments

Jyri Sarha Nov. 28, 2019, 5:23 p.m. UTC | #1
On 28/11/2019 18:45, Jyri Sarha wrote:
> Add DT schema binding for Rocktech Displays Limited RK101II01D-CT
> 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and
> capacitive touch panel.
> 
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
>  .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++
>  1 file changed, 48 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml
> 
> diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml
> new file mode 100644
> index 000000000000..09caeee8701d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml
> @@ -0,0 +1,48 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml#
Argh, at least one copy-paste error here:          ^^^^^^^^^^^^^^^^^^^^^

So not to be applied as such.

BR,
Jyri

/me wonders why he always sees these only right after sending the patch.

> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels
> +
> +maintainers:
> +  - Jyri Sarha <jsarha@ti.com>
> +  - Thierry Reding <thierry.reding@gmail.com>
> +
> +allOf:
> +  - $ref: panel-common.yaml#
> +
> +description: |
> +  Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels
> +  with LVDS interface, LED Backlight and capacitive touch panel. For
> +  touch screen details see "goodix,gt928" in:
> +  Documentation/devicetree/bindings/input/touchscreen/goodix.txt
> +
> +properties:
> +  compatible:
> +    const: rocktech,rk101ii01d-ct
> +
> +  reset-gpios: true
> +  enable-gpios: true
> +  backlight: true
> +  port: true
> +
> +required:
> +  - compatible
> +  - power-supply
> +
> +examples:
> +  - |
> +        display0 {
> +                compatible = "rocktech,rk101ii01d-ct";
> +                backlight = <&lcd_bl>;
> +                enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>;
> +                power-supply = <&dummy_supply>;
> +
> +                port {
> +                        lcd_in0: endpoint {
> +                                remote-endpoint = <&oldi_out0>;
> +                        };
> +                };
> +        };
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml
new file mode 100644
index 000000000000..09caeee8701d
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml
@@ -0,0 +1,48 @@ 
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels
+
+maintainers:
+  - Jyri Sarha <jsarha@ti.com>
+  - Thierry Reding <thierry.reding@gmail.com>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+description: |
+  Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels
+  with LVDS interface, LED Backlight and capacitive touch panel. For
+  touch screen details see "goodix,gt928" in:
+  Documentation/devicetree/bindings/input/touchscreen/goodix.txt
+
+properties:
+  compatible:
+    const: rocktech,rk101ii01d-ct
+
+  reset-gpios: true
+  enable-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - power-supply
+
+examples:
+  - |
+        display0 {
+                compatible = "rocktech,rk101ii01d-ct";
+                backlight = <&lcd_bl>;
+                enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>;
+                power-supply = <&dummy_supply>;
+
+                port {
+                        lcd_in0: endpoint {
+                                remote-endpoint = <&oldi_out0>;
+                        };
+                };
+        };