1 * MELFAS MIP4 Touchscreen 1 * MELFAS MIP4 Touchscreen 2 2 3 Required properties: 3 Required properties: 4 - compatible: must be "melfas,mip4_ts" 4 - compatible: must be "melfas,mip4_ts" 5 - reg: I2C slave address of the chip (0x48 or 5 - reg: I2C slave address of the chip (0x48 or 0x34) 6 - interrupts: interrupt to which the chip is c 6 - interrupts: interrupt to which the chip is connected 7 7 8 Optional properties: 8 Optional properties: 9 - ce-gpios: GPIO connected to the CE (chip ena 9 - ce-gpios: GPIO connected to the CE (chip enable) pin of the chip 10 10 11 Example: 11 Example: 12 i2c@00000000 { 12 i2c@00000000 { 13 touchscreen: melfas_mip4@48 { 13 touchscreen: melfas_mip4@48 { 14 compatible = "melfas,m 14 compatible = "melfas,mip4_ts"; 15 reg = <0x48>; 15 reg = <0x48>; 16 interrupt-parent = <&g 16 interrupt-parent = <&gpio>; 17 interrupts = <0 IRQ_TY 17 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; 18 ce-gpios = <&gpio 0 GP 18 ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 19 }; 19 }; 20 }; 20 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.