melfas_mip4.txt 589 B

12345678910111213141516171819202122
  1. * MELFAS MIP4 Touchscreen
  2. Required properties:
  3. - compatible: must be "melfas,mip4_ts"
  4. - reg: I2C slave address of the chip (0x48 or 0x34)
  5. - interrupt-parent: interrupt controller to which the chip is connected
  6. - interrupts: interrupt to which the chip is connected
  7. Optional properties:
  8. - ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
  9. Example:
  10. i2c@00000000 {
  11. touchscreen: melfas_mip4@48 {
  12. compatible = "melfas,mip4_ts";
  13. reg = <0x48>;
  14. interrupt-parent = <&gpio>;
  15. interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
  16. ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
  17. };
  18. };