[PATCH 08/11] dt-bindings: Document the Raspberry Pi Touchscreen nodes.
Eric Anholt
eric at anholt.net
Wed Dec 14 11:47:19 PST 2016
This doesn't yet cover input, but the driver does get the display
working when the firmware is disabled from talking to our I2C lines.
Signed-off-by: Eric Anholt <eric at anholt.net>
---
.../display/panel/raspberrypi,touchscreen.txt | 45 ++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/raspberrypi,touchscreen.txt
diff --git a/Documentation/devicetree/bindings/display/panel/raspberrypi,touchscreen.txt b/Documentation/devicetree/bindings/display/panel/raspberrypi,touchscreen.txt
new file mode 100644
index 000000000000..fd328c52706b
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/raspberrypi,touchscreen.txt
@@ -0,0 +1,45 @@
+This binding covers the official 7" (800x480) Raspberry Pi touchscreen
+panel.
+
+This DSI panel contains:
+
+- TC358762 DSI->DPI bridge
+- Atmel microcontroller on I2C for power sequencing the DSI bridge and
+ controlling backlight
+- Touchscreen controller on I2C for touch input
+
+and the binding currently covers the DSI display parts but not its
+touch input.
+
+Required properties:
+- compatible: Must be "raspberrypi,touchscreen"
+- raspberrypi,touchscreen-bridge:
+ Handle to the I2C device for Atmel microcontroller
+
+Example:
+
+dsi1: dsi at 7e700000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ <...>
+
+ pitouchscreen: panel at 0 {
+ compatible = "raspberrypi,touchscreen";
+ reg = <0>;
+
+ raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
+ };
+};
+
+i2c_dsi: i2c {
+ compatible = "i2c-gpio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ gpios = <&gpio 28 0
+ &gpio 29 0>;
+
+ pitouchscreen_bridge: bridge at 45 {
+ compatible = "raspberrypi,touchscreen-bridge-i2c";
+ reg = <0x45>;
+ };
+};
--
2.11.0
More information about the linux-rpi-kernel
mailing list