Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Document the Raspberry Pi Touchscreen nodes.

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@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170927193654.12609-3-eric@anholt.net

+49
+49
Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.txt
··· 1 + This binding covers the official 7" (800x480) Raspberry Pi touchscreen 2 + panel. 3 + 4 + This DSI panel contains: 5 + 6 + - TC358762 DSI->DPI bridge 7 + - Atmel microcontroller on I2C for power sequencing the DSI bridge and 8 + controlling backlight 9 + - Touchscreen controller on I2C for touch input 10 + 11 + and this binding covers the DSI display parts but not its touch input. 12 + 13 + Required properties: 14 + - compatible: Must be "raspberrypi,7inch-touchscreen-panel" 15 + - reg: Must be "45" 16 + - port: See panel-common.txt 17 + 18 + Example: 19 + 20 + dsi1: dsi@7e700000 { 21 + #address-cells = <1>; 22 + #size-cells = <0>; 23 + <...> 24 + 25 + port { 26 + dsi_out_port: endpoint { 27 + remote-endpoint = <&panel_dsi_port>; 28 + }; 29 + }; 30 + }; 31 + 32 + i2c_dsi: i2c { 33 + compatible = "i2c-gpio"; 34 + #address-cells = <1>; 35 + #size-cells = <0>; 36 + gpios = <&gpio 28 0 37 + &gpio 29 0>; 38 + 39 + lcd@45 { 40 + compatible = "raspberrypi,7inch-touchscreen-panel"; 41 + reg = <0x45>; 42 + 43 + port { 44 + panel_dsi_port: endpoint { 45 + remote-endpoint = <&dsi_out_port>; 46 + }; 47 + }; 48 + }; 49 + };