162306a36Sopenharmony_ci* Rohm BU21029 Touch Screen Controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci - compatible : must be "rohm,bu21029" 562306a36Sopenharmony_ci - reg : i2c device address of the chip (0x40 or 0x41) 662306a36Sopenharmony_ci - interrupt-parent : the phandle for the gpio controller 762306a36Sopenharmony_ci - interrupts : (gpio) interrupt to which the chip is connected 862306a36Sopenharmony_ci - rohm,x-plate-ohms : x-plate resistance in Ohm 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciOptional properties: 1162306a36Sopenharmony_ci - reset-gpios : gpio pin to reset the chip (active low) 1262306a36Sopenharmony_ci - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 1362306a36Sopenharmony_ci - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 1462306a36Sopenharmony_ci - touchscreen-max-pressure: maximum pressure value 1562306a36Sopenharmony_ci - vdd-supply : power supply for the controller 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciExample: 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci &i2c1 { 2062306a36Sopenharmony_ci /* ... */ 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci bu21029: bu21029@40 { 2362306a36Sopenharmony_ci compatible = "rohm,bu21029"; 2462306a36Sopenharmony_ci reg = <0x40>; 2562306a36Sopenharmony_ci interrupt-parent = <&gpio1>; 2662306a36Sopenharmony_ci interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 2762306a36Sopenharmony_ci reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; 2862306a36Sopenharmony_ci rohm,x-plate-ohms = <600>; 2962306a36Sopenharmony_ci touchscreen-size-x = <800>; 3062306a36Sopenharmony_ci touchscreen-size-y = <480>; 3162306a36Sopenharmony_ci touchscreen-max-pressure = <4095>; 3262306a36Sopenharmony_ci }; 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci /* ... */ 3562306a36Sopenharmony_ci }; 36