WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / raspberrypi,7inch-touchscreen.yaml
blob22a083f7bc8e95fb293bb8274f0b8952481fe2f3
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/raspberrypi,7inch-touchscreen.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: The official 7" (800x480) Raspberry Pi touchscreen
9 maintainers:
10   - Eric Anholt <eric@anholt.net>
11   - Thierry Reding <thierry.reding@gmail.com>
13 description: |+
14   This DSI panel contains:
16   - TC358762 DSI->DPI bridge
17   - Atmel microcontroller on I2C for power sequencing the DSI bridge and
18     controlling backlight
19   - Touchscreen controller on I2C for touch input
21   and this binding covers the DSI display parts but not its touch input.
23 properties:
24   compatible:
25     const: raspberrypi,7inch-touchscreen-panel
27   reg:
28     const: 0x45
30   port: true
32 required:
33   - compatible
34   - reg
35   - port
37 additionalProperties: false
39 examples:
40   - |+
41     dsi1: dsi {
42       #address-cells = <1>;
43       #size-cells = <0>;
45       port {
46         dsi_out_port: endpoint {
47           remote-endpoint = <&panel_dsi_port>;
48         };
49       };
50     };
52     i2c_dsi: i2c {
53       compatible = "i2c-gpio";
54       #address-cells = <1>;
55       #size-cells = <0>;
56       scl-gpios = <&gpio 28 0>;
57       sda-gpios = <&gpio 29 0>;
59       lcd@45 {
60         compatible = "raspberrypi,7inch-touchscreen-panel";
61         reg = <0x45>;
63         port {
64           panel_dsi_port: endpoint {
65             remote-endpoint = <&dsi_out_port>;
66           };
67         };
68       };
69     };
71 ...