36 lines · plain
1* Rohm BU21029 Touch Screen Controller2 3Required 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 controller7 - interrupts : (gpio) interrupt to which the chip is connected8 - rohm,x-plate-ohms : x-plate resistance in Ohm9 10Optional 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 value15 - vdd-supply : power supply for the controller16 17Example:18 19 &i2c1 {20 /* ... */21 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 };33 34 /* ... */35 };36