summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorRobert Chiras <robert.chiras@nxp.com>2020-06-19 11:20:49 +0300
committerRobert Chiras <robert.chiras@nxp.com>2020-08-21 15:32:12 +0300
commitf30a36c4921933aa9d41b5ecc1543dcf654e72b9 (patch)
tree740ba7a97a3b8b1144358022d7658b6b5d4bf12a /Documentation/devicetree
parente15e046b8fceb6ae7c94d0ad78ef00a7432efb7b (diff)
MLK-24334-2: dt-bindings: display: panel: Add support for WKS 101wx001 panel
Add dt-bindings documentation for WKS 101wx001 paralel LCD panel. Signed-off-by: Robert Chiras <robert.chiras@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/display/panel/wks,101wx001.yaml62
1 files changed, 62 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/wks,101wx001.yaml b/Documentation/devicetree/bindings/display/panel/wks,101wx001.yaml
new file mode 100644
index 000000000000..bc17dfcd80e3
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/wks,101wx001.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/wks,101wx001.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: WKS 101WX001 10.1" WXGA TFT LCD panel
+
+description:
+ The WKS 101WX001 is a 10.1" WXGA (1280 x 800) TFT LCD panel with a 24-bit RGB
+ parallel data interface.
+
+maintainers:
+ - Robert Chiras <robert.chiras@nxp.com>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: wks,101wx001
+
+ label: false
+ port: true
+
+ vcc-supply:
+ description: 5v analog power regulator
+
+ blctr-gpios:
+ description: GPIO used for BL_CNTR pin, controlling the panel backlight
+ (this is not a pwm backlight, it's only a GPIO controlled
+ backlight)
+ maxItems: 1
+
+ pinctrl-assert-gpios:
+ description: Default states for various gpios used as selectors for on-board
+ muxes
+
+required:
+ - compatible
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ panel {
+ compatible = "wks,101wx001";
+ blctr-gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
+ pinctrl-assert-gpios = <&gpiob 3 GPIO_ACTIVE_LOW>,
+ <&gpiob 4 GPIO_ACTIVE_LOW>,
+ <&gpiob 6 GPIO_ACTIVE_LOW>,
+ <&gpiob 7 GPIO_ACTIVE_LOW>,
+ <&gpiob 8 GPIO_ACTIVE_LOW>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&lcdif_out>;
+ };
+ };
+ };