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