potatogim / rpms / kernel

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