WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / bu21029.txt
blob8daa0e868a8fa1e59ca99b00882cb3cf852ace34
1 * Rohm BU21029 Touch Screen Controller
3 Required properties:
4  - compatible              : must be "rohm,bu21029"
5  - reg                     : i2c device address of the chip (0x40 or 0x41)
6  - interrupt-parent        : the phandle for the gpio controller
7  - interrupts              : (gpio) interrupt to which the chip is connected
8  - rohm,x-plate-ohms       : x-plate resistance in Ohm
10 Optional properties:
11  - reset-gpios             : gpio pin to reset the chip (active low)
12  - touchscreen-size-x      : horizontal resolution of touchscreen (in pixels)
13  - touchscreen-size-y      : vertical resolution of touchscreen (in pixels)
14  - touchscreen-max-pressure: maximum pressure value
15  - vdd-supply              : power supply for the controller
17 Example:
19         &i2c1 {
20                 /* ... */
22                 bu21029: bu21029@40 {
23                         compatible = "rohm,bu21029";
24                         reg = <0x40>;
25                         interrupt-parent = <&gpio1>;
26                         interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
27                         reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>;
28                         rohm,x-plate-ohms = <600>;
29                         touchscreen-size-x = <800>;
30                         touchscreen-size-y = <480>;
31                         touchscreen-max-pressure = <4095>;
32                 };
34                 /* ... */
35         };