bu21013.txt 830 B

1234567891011121314151617181920212223242526272829
  1. * Rohm BU21013 Touch Screen
  2. Required properties:
  3. - compatible : "rohm,bu21013_tp"
  4. - reg : I2C device address
  5. Optional properties:
  6. - touch-gpio : GPIO pin registering a touch event
  7. - <supply_name>-supply : Phandle to a regulator supply
  8. - rohm,touch-max-x : Maximum outward permitted limit in the X axis
  9. - rohm,touch-max-y : Maximum outward permitted limit in the Y axis
  10. - rohm,flip-x : Flip touch coordinates on the X axis
  11. - rohm,flip-y : Flip touch coordinates on the Y axis
  12. Example:
  13. i2c@80110000 {
  14. bu21013_tp@0x5c {
  15. compatible = "rohm,bu21013_tp";
  16. reg = <0x5c>;
  17. touch-gpio = <&gpio2 20 0x4>;
  18. avdd-supply = <&ab8500_ldo_aux1_reg>;
  19. rohm,touch-max-x = <384>;
  20. rohm,touch-max-y = <704>;
  21. rohm,flip-y;
  22. };
  23. };