1Device tree bindings for Zinitx BT541 touchscreen controller
2
3Required properties:
4
5 - compatible		: Should be "zinitix,bt541"
6 - reg			: I2C address of the chip. Should be 0x20
7 - interrupts		: Interrupt to which the chip is connected
8
9Optional properties:
10
11 - vdd-supply		: Analog power supply regulator on VCCA pin
12 - vddo-supply		: Digital power supply regulator on VDD pin
13 - zinitix,mode		: Mode of reporting touch points. Some modes may not work
14			  with a particular ts firmware for unknown reasons. Available
15			  modes are 1 and 2. Mode 2 is the default and preferred.
16
17The touchscreen-* properties are documented in touchscreen.txt in this
18directory.
19
20Example:
21
22	i2c@00000000 {
23		/* ... */
24
25		bt541@20 {
26			compatible = "zinitix,bt541";
27			reg = <0x20>;
28			interrupt-parent = <&msmgpio>;
29			interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
30			pinctrl-names = "default";
31			pinctrl-0 = <&tsp_default>;
32			vdd-supply = <&reg_vdd_tsp>;
33			vddo-supply = <&pm8916_l6>;
34			touchscreen-size-x = <540>;
35			touchscreen-size-y = <960>;
36			zinitix,mode = <2>;
37		};
38
39		/* ... */
40	};
41