treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / melfas_mip4.txt
blobb2ab5498e51900e887fab4d9b5239cccccec2ea9
1 * MELFAS MIP4 Touchscreen
3 Required 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
8 Optional properties:
9 - ce-gpios: GPIO connected to the CE (chip enable) pin of the chip
11 Example:
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         };