Pablo Greco ceb317
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Pablo Greco ceb317
From: Icenowy Zheng <icenowy@aosc.io>
Pablo Greco ceb317
Date: Mon, 16 Mar 2020 21:35:00 +0800
Pablo Greco ceb317
Subject: [PATCH] dt-bindings: panel: add binding for Xingbangda XBD599 panel
Pablo Greco ceb317
Pablo Greco ceb317
Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel.
Pablo Greco ceb317
Pablo Greco ceb317
Add its device tree binding.
Pablo Greco ceb317
Pablo Greco ceb317
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Pablo Greco ceb317
---
Pablo Greco ceb317
 .../display/panel/xingbangda,xbd599.yaml      | 50 +++++++++++++++++++
Pablo Greco ceb317
 1 file changed, 50 insertions(+)
Pablo Greco ceb317
 create mode 100644 Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml
Pablo Greco ceb317
Pablo Greco ceb317
diff --git a/Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml b/Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml
Pablo Greco ceb317
new file mode 100644
Pablo Greco ceb317
index 000000000000..b27bcf11198f
Pablo Greco ceb317
--- /dev/null
Pablo Greco ceb317
+++ b/Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml
Pablo Greco ceb317
@@ -0,0 +1,50 @@
Pablo Greco ceb317
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Pablo Greco ceb317
+%YAML 1.2
Pablo Greco ceb317
+---
Pablo Greco ceb317
+$id: http://devicetree.org/schemas/display/panel/xingbangda,xbd599.yaml#
Pablo Greco ceb317
+$schema: http://devicetree.org/meta-schemas/core.yaml#
Pablo Greco ceb317
+
Pablo Greco ceb317
+title: Xingbangda XBD599 5.99in MIPI-DSI LCD panel
Pablo Greco ceb317
+
Pablo Greco ceb317
+maintainers:
Pablo Greco ceb317
+  - Icenowy Zheng <icenowy@aosc.io>
Pablo Greco ceb317
+
Pablo Greco ceb317
+allOf:
Pablo Greco ceb317
+  - $ref: panel-common.yaml#
Pablo Greco ceb317
+
Pablo Greco ceb317
+properties:
Pablo Greco ceb317
+  compatible:
Pablo Greco ceb317
+    const: xingbangda,xbd599
Pablo Greco ceb317
+  reg: true
Pablo Greco ceb317
+  backlight: true
Pablo Greco ceb317
+  reset-gpios: true
Pablo Greco ceb317
+  vcc-supply:
Pablo Greco ceb317
+    description: regulator that supplies the VCC voltage
Pablo Greco ceb317
+  iovcc-supply:
Pablo Greco ceb317
+    description: regulator that supplies the IOVCC voltage
Pablo Greco ceb317
+
Pablo Greco ceb317
+required:
Pablo Greco ceb317
+  - compatible
Pablo Greco ceb317
+  - reg
Pablo Greco ceb317
+  - backlight
Pablo Greco ceb317
+  - vcc-supply
Pablo Greco ceb317
+  - iovcc-supply
Pablo Greco ceb317
+
Pablo Greco ceb317
+additionalProperties: false
Pablo Greco ceb317
+
Pablo Greco ceb317
+examples:
Pablo Greco ceb317
+  - |
Pablo Greco ceb317
+    dsi {
Pablo Greco ceb317
+        #address-cells = <1>;
Pablo Greco ceb317
+        #size-cells = <0>;
Pablo Greco ceb317
+
Pablo Greco ceb317
+        panel@0 {
Pablo Greco ceb317
+            compatible = "xingbangda,xbd599";
Pablo Greco ceb317
+            reg = <0>;
Pablo Greco ceb317
+            backlight = <&backlight>;
Pablo Greco ceb317
+            iovcc-supply = <&reg_dldo2>;
Pablo Greco ceb317
+            vcc-supply = <&reg_ldo_io0>;
Pablo Greco ceb317
+        };
Pablo Greco ceb317
+    };
Pablo Greco ceb317
+
Pablo Greco ceb317
+...
Pablo Greco ceb317
-- 
Pablo Greco ceb317
2.28.0
Pablo Greco ceb317