[PATCH 1/2] dt-bindings: display: panel: Add Samsung AMS495QA01 panel bindings
Chris Morgan
macroalpha82 at gmail.com
Tue Sep 6 18:36:41 UTC 2022
From: Chris Morgan <macromorgan at hotmail.com>
Add documentation for the Samsung AMS495QA01 panel.
Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
---
.../display/panel/samsung,ams495qa01.yaml | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml b/Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml
new file mode 100644
index 000000000000..e7373846e7d8
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,ams495qa01.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung AMS495QA01 4.95in 960x544 DSI/SPI panel
+
+maintainers:
+ - Chris Morgan <macromorgan at hotmail.com>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: samsung,ams495qa01
+ reg: true
+ reset-gpios: true
+ elvdd-supply:
+ description: regulator that supplies voltage to the panel
+ enable-gpios: true
+ port: true
+ vdd-supply:
+ description: regulator that supplies voltage to panel logic
+
+required:
+ - compatible
+ - reg
+ - elvdd-supply
+ - vdd-supply
+
+additionalProperties: false
+
+examples:
+ - |
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ panel at 0 {
+ compatible = "samsung,ams495qa01";
+ reg = <0>;
+ backlight = <&backlight>;
+ elvdd-supply = <&vcc_sys>;
+ vdd-supply = <&vcc3v3_lcd0_n>;
+ };
+ };
+
+...
--
2.25.1
More information about the dri-devel
mailing list