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