Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / bu21013.txt
blobca5a2c86480cff1ec8f68168a9f7c94c1a29ef01
1 * Rohm BU21013 Touch Screen
3 Required properties:
4  - compatible              : "rohm,bu21013_tp"
5  - reg                     :  I2C device address
7 Optional 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
15 Example:
17         i2c@80110000 {
18                 bu21013_tp@0x5c {
19                         compatible = "rohm,bu21013_tp";
20                         reg = <0x5c>;
21                         touch-gpio = <&gpio2 20 0x4>;
22                         avdd-supply = <&ab8500_ldo_aux1_reg>;
24                         rohm,touch-max-x = <384>;
25                         rohm,touch-max-y = <704>;
26                         rohm,flip-y;
27                 };
28         };