pengqianheng / rpms / kernel

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