bu21029.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. * Rohm BU21029 Touch Screen Controller
  2. Required properties:
  3. - compatible : must be "rohm,bu21029"
  4. - reg : i2c device address of the chip (0x40 or 0x41)
  5. - interrupt-parent : the phandle for the gpio controller
  6. - interrupts : (gpio) interrupt to which the chip is connected
  7. - rohm,x-plate-ohms : x-plate resistance in Ohm
  8. Optional properties:
  9. - reset-gpios : gpio pin to reset the chip (active low)
  10. - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
  11. - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
  12. - touchscreen-max-pressure: maximum pressure value
  13. - vdd-supply : power supply for the controller
  14. Example:
  15. &i2c1 {
  16. /* ... */
  17. bu21029: bu21029@40 {
  18. compatible = "rohm,bu21029";
  19. reg = <0x40>;
  20. interrupt-parent = <&gpio1>;
  21. interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
  22. reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>;
  23. rohm,x-plate-ohms = <600>;
  24. touchscreen-size-x = <800>;
  25. touchscreen-size-y = <480>;
  26. touchscreen-max-pressure = <4095>;
  27. };
  28. /* ... */
  29. };