xref: /linux/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt (revision be709d48329a500621d2a05835283150ae137b45)
1* Rohm BU21013 Touch Screen
2
3Required properties:
4 - compatible              : "rohm,bu21013_tp"
5 - reg                     :  I2C device address
6
7Optional properties:
8 - touch-gpio              : GPIO pin registering a touch event
9 - <supply_name>-supply    : Phandle to a regulator supply
10 - rohm,touch-max-x        : Maximum outward permitted limit in the X axis
11 - rohm,touch-max-y        : Maximum outward permitted limit in the Y axis
12 - rohm,flip-x             : Flip touch coordinates on the X axis
13 - rohm,flip-y             : Flip touch coordinates on the Y axis
14
15Example:
16
17	i2c@80110000 {
18		bu21013_tp@5c {
19			compatible = "rohm,bu21013_tp";
20			reg = <0x5c>;
21			touch-gpio = <&gpio2 20 0x4>;
22			avdd-supply = <&ab8500_ldo_aux1_reg>;
23
24			rohm,touch-max-x = <384>;
25			rohm,touch-max-y = <704>;
26			rohm,flip-y;
27		};
28	};
29