13a658f23SZhu Yi* Rohm BU21029 Touch Screen Controller
23a658f23SZhu Yi
33a658f23SZhu YiRequired properties:
43a658f23SZhu Yi - compatible              : must be "rohm,bu21029"
53a658f23SZhu Yi - reg                     : i2c device address of the chip (0x40 or 0x41)
63a658f23SZhu Yi - interrupt-parent        : the phandle for the gpio controller
73a658f23SZhu Yi - interrupts              : (gpio) interrupt to which the chip is connected
83a658f23SZhu Yi - rohm,x-plate-ohms       : x-plate resistance in Ohm
93a658f23SZhu Yi
103a658f23SZhu YiOptional properties:
113a658f23SZhu Yi - reset-gpios             : gpio pin to reset the chip (active low)
123a658f23SZhu Yi - touchscreen-size-x      : horizontal resolution of touchscreen (in pixels)
133a658f23SZhu Yi - touchscreen-size-y      : vertical resolution of touchscreen (in pixels)
143a658f23SZhu Yi - touchscreen-max-pressure: maximum pressure value
153a658f23SZhu Yi - vdd-supply              : power supply for the controller
163a658f23SZhu Yi
173a658f23SZhu YiExample:
183a658f23SZhu Yi
193a658f23SZhu Yi	&i2c1 {
203a658f23SZhu Yi		/* ... */
213a658f23SZhu Yi
223a658f23SZhu Yi		bu21029: bu21029@40 {
233a658f23SZhu Yi			compatible = "rohm,bu21029";
243a658f23SZhu Yi			reg = <0x40>;
253a658f23SZhu Yi			interrupt-parent = <&gpio1>;
263a658f23SZhu Yi			interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
273a658f23SZhu Yi			reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>;
283a658f23SZhu Yi			rohm,x-plate-ohms = <600>;
293a658f23SZhu Yi			touchscreen-size-x = <800>;
303a658f23SZhu Yi			touchscreen-size-y = <480>;
313a658f23SZhu Yi			touchscreen-max-pressure = <4095>;
323a658f23SZhu Yi		};
333a658f23SZhu Yi
343a658f23SZhu Yi		/* ... */
353a658f23SZhu Yi	};
36