synaptics_i2c_rmi4.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Synaptics touch controller
  2. Required properties:
  3. - compatible : should be "synaptics,rmi4"
  4. - reg : i2c slave address of the device
  5. - interrupt-parent : parent of interrupt
  6. - interrupts : touch sample interrupt to indicate presense or release
  7. of fingers on the panel.
  8. - synaptics,irq-gpio : irq gpio
  9. - synaptics,reset-gpio : reset gpio
  10. Optional property:
  11. - vdd-supply : Analog power supply needed to power device
  12. - vcc_i2c-supply : Power source required to pull up i2c bus
  13. - synaptics,i2c-pull-up : specify to indicate pull up is needed
  14. - synaptics,disable-gpios : specify to disable gpios in suspend (power saving)
  15. - synaptics,button-map : virtual key code mappings to be used
  16. - synaptics,x-flip : modify orientation of the x axis
  17. - synaptics,y-flip : modify orientation of the y axis
  18. - synaptics,panel-coords : touch panel min x, min y, max x and
  19. max y resolution
  20. - synaptics,display-coords : display min x, min y, max x and
  21. max y resolution
  22. - synaptics,reset-delay : reset delay for controller (ms), default 100
  23. - synaptics,fw-image-name : name of firmware .img file in /etc/firmware
  24. - synaptics,power-down : fully power down regulators in suspend
  25. - synaptics,do-lockdown : perform one time lockdown procedure
  26. Example:
  27. i2c@f9927000 { /* BLSP1 QUP5 */
  28. cell-index = <5>;
  29. compatible = "qcom,i2c-qup";
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. reg-names = "qup_phys_addr";
  33. reg = <0xf9927000 0x1000>;
  34. interrupt-names = "qup_err_intr";
  35. interrupts = <0 99 0>;
  36. gpios = <&msmgpio 19 0>, /* SCL */
  37. <&msmgpio 18 0>; /* SDA */
  38. qcom,i2c-bus-freq = <100000>;
  39. qcom,i2c-src-freq = <19200000>;
  40. synaptics@20 {
  41. compatible = "synaptics,rmi4"
  42. reg = <0x20>;
  43. interrupt-parent = <&msmgpio>;
  44. interrupts = <17 0x2>;
  45. vdd-supply = <&pm8226_l19>;
  46. vcc_i2c-supply = <&pm8226_lvs1>;
  47. synaptics,reset-gpio = <&msmgpio 16 0x00>;
  48. synaptics,irq-gpio = <&msmgpio 17 0x00>;
  49. synaptics,button-map = [8B 66 9E];
  50. synaptics,i2c-pull-up;
  51. };
  52. };