diff options
author | Thierry Reding <treding@nvidia.com> | 2013-11-22 13:19:55 -0500 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-12-17 12:09:40 -0500 |
commit | d95f95eb96c511b39bf9c854217d7dddb6d06755 (patch) | |
tree | 472c4f0e2ee2bb3032bc2e9b7cf1c0e656b9be26 | |
parent | 43394d2fc8f6776c8971ab09544a93359acbe88b (diff) |
of: Add simple panel device tree binding
This binding specifies a set of common properties for display panels. It
can be used as a basis by bindings for specific panels.
Bindings for three specific panels are provided to show how the simple
panel binding can be used.
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
4 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/panel/auo,b101aw03.txt b/Documentation/devicetree/bindings/panel/auo,b101aw03.txt new file mode 100644 index 000000000000..72e088a4fb3a --- /dev/null +++ b/Documentation/devicetree/bindings/panel/auo,b101aw03.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | AU Optronics Corporation 10.1" WSVGA TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "auo,b101aw03" | ||
5 | |||
6 | This binding is compatible with the simple-panel binding, which is specified | ||
7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/panel/chunghwa,claa101wb03.txt b/Documentation/devicetree/bindings/panel/chunghwa,claa101wb03.txt new file mode 100644 index 000000000000..0ab2c05a4c22 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/chunghwa,claa101wb03.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | Chunghwa Picture Tubes Ltd. 10.1" WXGA TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "chunghwa,claa101wb03" | ||
5 | |||
6 | This binding is compatible with the simple-panel binding, which is specified | ||
7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/panel/panasonic,vvx10f004b00.txt b/Documentation/devicetree/bindings/panel/panasonic,vvx10f004b00.txt new file mode 100644 index 000000000000..d328b0341bf4 --- /dev/null +++ b/Documentation/devicetree/bindings/panel/panasonic,vvx10f004b00.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | Panasonic Corporation 10.1" WUXGA TFT LCD panel | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "panasonic,vvx10f004b00" | ||
5 | |||
6 | This binding is compatible with the simple-panel binding, which is specified | ||
7 | in simple-panel.txt in this directory. | ||
diff --git a/Documentation/devicetree/bindings/panel/simple-panel.txt b/Documentation/devicetree/bindings/panel/simple-panel.txt new file mode 100644 index 000000000000..1341bbf4aa3d --- /dev/null +++ b/Documentation/devicetree/bindings/panel/simple-panel.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | Simple display panel | ||
2 | |||
3 | Required properties: | ||
4 | - power-supply: regulator to provide the supply voltage | ||
5 | |||
6 | Optional properties: | ||
7 | - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing | ||
8 | - enable-gpios: GPIO pin to enable or disable the panel | ||
9 | - backlight: phandle of the backlight device attached to the panel | ||
10 | |||
11 | Example: | ||
12 | |||
13 | panel: panel { | ||
14 | compatible = "cptt,claa101wb01"; | ||
15 | ddc-i2c-bus = <&panelddc>; | ||
16 | |||
17 | power-supply = <&vdd_pnl_reg>; | ||
18 | enable-gpios = <&gpio 90 0>; | ||
19 | |||
20 | backlight = <&backlight>; | ||
21 | }; | ||