18c2ecf20Sopenharmony_ci* Rohm BU21029 Touch Screen Controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible : must be "rohm,bu21029" 58c2ecf20Sopenharmony_ci - reg : i2c device address of the chip (0x40 or 0x41) 68c2ecf20Sopenharmony_ci - interrupt-parent : the phandle for the gpio controller 78c2ecf20Sopenharmony_ci - interrupts : (gpio) interrupt to which the chip is connected 88c2ecf20Sopenharmony_ci - rohm,x-plate-ohms : x-plate resistance in Ohm 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciOptional properties: 118c2ecf20Sopenharmony_ci - reset-gpios : gpio pin to reset the chip (active low) 128c2ecf20Sopenharmony_ci - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 138c2ecf20Sopenharmony_ci - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 148c2ecf20Sopenharmony_ci - touchscreen-max-pressure: maximum pressure value 158c2ecf20Sopenharmony_ci - vdd-supply : power supply for the controller 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciExample: 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci &i2c1 { 208c2ecf20Sopenharmony_ci /* ... */ 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci bu21029: bu21029@40 { 238c2ecf20Sopenharmony_ci compatible = "rohm,bu21029"; 248c2ecf20Sopenharmony_ci reg = <0x40>; 258c2ecf20Sopenharmony_ci interrupt-parent = <&gpio1>; 268c2ecf20Sopenharmony_ci interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 278c2ecf20Sopenharmony_ci reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; 288c2ecf20Sopenharmony_ci rohm,x-plate-ohms = <600>; 298c2ecf20Sopenharmony_ci touchscreen-size-x = <800>; 308c2ecf20Sopenharmony_ci touchscreen-size-y = <480>; 318c2ecf20Sopenharmony_ci touchscreen-max-pressure = <4095>; 328c2ecf20Sopenharmony_ci }; 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci /* ... */ 358c2ecf20Sopenharmony_ci }; 36