treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / stmfx.txt
blobf0c2f7fcf5c7f05d908d10107e778a52f49bf1b2
1 STMicroelectonics Multi-Function eXpander (STMFX) Core bindings
3 ST Multi-Function eXpander (STMFX) is a slave controller using I2C for
4 communication with the main MCU. Its main features are GPIO expansion, main
5 MCU IDD measurement (IDD is the amount of current that flows through VDD) and
6 resistive touchscreen controller.
8 Required properties:
9 - compatible: should be "st,stmfx-0300".
10 - reg: I2C slave address of the device.
11 - interrupts: interrupt specifier triggered by MFX_IRQ_OUT signal.
12   Please refer to ../interrupt-controller/interrupt.txt
14 Optional properties:
15 - drive-open-drain: configure MFX_IRQ_OUT as open drain.
16 - vdd-supply: phandle of the regulator supplying STMFX.
18 Example:
20         stmfx: stmfx@42 {
21                 compatible = "st,stmfx-0300";
22                 reg = <0x42>;
23                 interrupts = <8 IRQ_TYPE_EDGE_RISING>;
24                 interrupt-parent = <&gpioi>;
25                 vdd-supply = <&v3v3>;
26         };
28 Please refer to ../pinctrl/pinctrl-stmfx.txt for STMFX GPIO expander function bindings.