xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* MELFAS MIP4 Touchscreen
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: must be "melfas,mip4_ts"
5*4882a593Smuzhiyun- reg: I2C slave address of the chip (0x48 or 0x34)
6*4882a593Smuzhiyun- interrupts: interrupt to which the chip is connected
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOptional properties:
9*4882a593Smuzhiyun- ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun	i2c@00000000 {
13*4882a593Smuzhiyun		touchscreen: melfas_mip4@48 {
14*4882a593Smuzhiyun			compatible = "melfas,mip4_ts";
15*4882a593Smuzhiyun			reg = <0x48>;
16*4882a593Smuzhiyun			interrupt-parent = <&gpio>;
17*4882a593Smuzhiyun			interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
18*4882a593Smuzhiyun			ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
19*4882a593Smuzhiyun		};
20*4882a593Smuzhiyun	};
21