ftm4_ts.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FTS Capacitive touch screen controller (FingerTipS)
  2. ----------------
  3. Required properties:
  4. - compatible: "stm,ftm4_fts"
  5. - stm,irq_gpio: Interrupt GPIO
  6. - stm,irq_type: Type of IRQ (edge/level and high/low)
  7. - stm,num_lines: Number of RX(SenseChannelLength), TX(ForceChannelLength)
  8. - stm,max_coords: Maximum X/Y values reported to the client
  9. - stm,regulator_dvdd: 1.8V digital supply
  10. - stm,regulator_avdd: 3.3V analog supply
  11. - stm,firmware_name: Firmware file to load
  12. Optional properties:
  13. - stm,switch_gpio: Used to control external I2C switch
  14. Node should be a child node to a relevant I2C bus.
  15. Example:
  16. &qupv3_se2_i2c {
  17. ftm4_fts@49 {
  18. status = "ok";
  19. compatible = "stm,ftm4_fts";
  20. reg = <0x49>;
  21. pinctrl-names = "on_state", "off_state";
  22. pinctrl-0 = <&ts_active>;
  23. pinctrl-1 = <&ts_suspend>;
  24. stm,switch_gpio= <&tlmm 128 0>;
  25. stm,irq_gpio = <&tlmm 125 0>;
  26. stm,irq_type = <0x2004>; /* Trigger high */
  27. stm,num_lines = <32 16>;
  28. stm,max_coords = <1440 2880>;
  29. stm,regulator_dvdd = "pm8998_l14";
  30. stm,regulator_avdd = "pm8998_l19";
  31. stm,firmware_name = "ftm4_fw.ftb";
  32. };
  33. };