mms114.txt 949 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * MELFAS MMS114/MMS152 touchscreen controller
  2. Required properties:
  3. - compatible: should be one of:
  4. - "melfas,mms114"
  5. - "melfas,mms152"
  6. - reg: I2C address of the chip
  7. - interrupts: interrupt to which the chip is connected
  8. - touchscreen-size-x: See [1]
  9. - touchscreen-size-y: See [1]
  10. Optional properties:
  11. - touchscreen-fuzz-x: See [1]
  12. - touchscreen-fuzz-y: See [1]
  13. - touchscreen-fuzz-pressure: See [1]
  14. - touchscreen-inverted-x: See [1]
  15. - touchscreen-inverted-y: See [1]
  16. - touchscreen-swapped-x-y: See [1]
  17. [1]: Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt
  18. Example:
  19. i2c@00000000 {
  20. /* ... */
  21. touchscreen@48 {
  22. compatible = "melfas,mms114";
  23. reg = <0x48>;
  24. interrupts = <39 0>;
  25. touchscreen-size-x = <720>;
  26. touchscreen-size-y = <1280>;
  27. touchscreen-fuzz-x = <10>;
  28. touchscreen-fuzz-y = <10>;
  29. touchscreen-fuzz-pressure = <10>;
  30. touchscreen-inverted-x;
  31. touchscreen-inverted-y;
  32. };
  33. /* ... */
  34. };