aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2020-04-08 21:50:54 +0200
committerSam Ravnborg <sam@ravnborg.org>2020-04-15 18:05:45 +0200
commit19853af1e44e73910d9f264304eb08e6321f7f5a (patch)
tree05e6bb959ba0c993e8e46b9573f8c803df6cd31f /Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml
parentdt-bindings: display: convert samsung AMOLED to DT Schema (diff)
downloadwireguard-linux-19853af1e44e73910d9f264304eb08e6321f7f5a.tar.xz
wireguard-linux-19853af1e44e73910d9f264304eb08e6321f7f5a.zip
dt-bindings: display: convert samsung,s6d16d0 to DT Schema
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200408195109.32692-22-sam@ravnborg.org
Diffstat (limited to 'Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml')
-rw-r--r--Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml
new file mode 100644
index 000000000000..66d147496bc3
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,s6d16d0.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S6D16D0 4" 864x480 AMOLED panel
+
+maintainers:
+ - Linus Walleij <linus.walleij@linaro.org>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: samsung,s6d16d0
+
+ port: true
+ reg: true
+ reset-gpios: true
+
+ vdd1-supply:
+ description: I/O voltage supply
+
+required:
+ - compatible
+ - reg
+ - vdd1-supply
+ - reset-gpios
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "samsung,s6d16d0";
+ reg = <0>;
+ vdd1-supply = <&foo>;
+ reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&dsi_out>;
+ };
+ };
+ };
+ };
+
+...