brcm2708: update to latest patches from the RPi foundation
[openwrt/staging/lynxis.git] / target / linux / brcm2708 / patches-4.19 / 950-0421-Input-ili210x-add-DT-binding-document.patch
1 From 5157a5c0fa2f7489e3ebf20dcbd9a7078ced6afd Mon Sep 17 00:00:00 2001
2 From: Samuel Hsu <hsu@distec.de>
3 Date: Mon, 8 Apr 2019 16:49:51 +0200
4 Subject: [PATCH 421/725] Input: ili210x - add DT binding document
5
6 commit 41a852e002e65ab7a1e6841b485d72d022e95df2 upstream
7
8 Add DT binding document for the Ilitek ILI210x and ILI251x
9 touchscreen controllers.
10
11 Signed-off-by: Marek Vasut <marex@denx.de>
12 Reviewed-by: Rob Herring <robh@kernel.org>
13 Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
14 ---
15 .../bindings/input/ilitek,ili2xxx.txt | 26 +++++++++++++++++++
16 1 file changed, 26 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
18
19 --- /dev/null
20 +++ b/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
21 @@ -0,0 +1,26 @@
22 +Ilitek ILI210x/ILI251x touchscreen controller
23 +
24 +Required properties:
25 +- compatible:
26 + ilitek,ili210x for ILI210x
27 + ilitek,ili251x for ILI251x
28 +
29 +- reg: The I2C address of the device
30 +
31 +- interrupts: The sink for the touchscreen's IRQ output
32 + See ../interrupt-controller/interrupts.txt
33 +
34 +Optional properties for main touchpad device:
35 +
36 +- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
37 +
38 +Example:
39 +
40 + touchscreen@41 {
41 + compatible = "ilitek,ili251x";
42 + reg = <0x41>;
43 + interrupt-parent = <&gpio4>;
44 + interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
45 + reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
46 + };
47 +