openwrt/target/linux/d1/patches-6.1/0016-dt-bindings-display-Add-Sitronix-ST7701s-panel-bindi.patch

48 lines
1.2 KiB
Diff
Raw Normal View History

From d290546a88694dde6d2f64a973cd62ff2c69e27e Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Fri, 12 Aug 2022 01:59:35 -0500
Subject: [PATCH 016/117] dt-bindings: display: Add Sitronix ST7701s panel
binding
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
.../display/panel/sitronix,st7701s.yaml | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7701s.yaml
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701s.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/sitronix,st7701s.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sitronix ST7701 based LCD panels
+
+maintainers:
+ - Samuel Holland <samuel@sholland.org>
+
+description: |
+ Panel used on Lichee RV 86 Panel
+
+allOf:
+ - $ref: panel-common.yaml#
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+properties:
+ compatible:
+ items:
+ - const: sitronix,st7701s
+
+ backlight: true
+
+ reset-gpios: true
+
+required:
+ - compatible
+ - reset-gpios
+
+unevaluatedProperties: false