lkml.org 
[lkml]   [2019]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 1/9] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings
    Date
    This patch adds documentation of device tree bindings for the
    STMicroelectronics Multi-Function eXpander (STMFX) MFD core.

    Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
    ---
    Documentation/devicetree/bindings/mfd/stmfx.txt | 28 +++++++++++++++++++++++++
    1 file changed, 28 insertions(+)
    create mode 100644 Documentation/devicetree/bindings/mfd/stmfx.txt

    diff --git a/Documentation/devicetree/bindings/mfd/stmfx.txt b/Documentation/devicetree/bindings/mfd/stmfx.txt
    new file mode 100644
    index 0000000..f0c2f7f
    --- /dev/null
    +++ b/Documentation/devicetree/bindings/mfd/stmfx.txt
    @@ -0,0 +1,28 @@
    +STMicroelectonics Multi-Function eXpander (STMFX) Core bindings
    +
    +ST Multi-Function eXpander (STMFX) is a slave controller using I2C for
    +communication with the main MCU. Its main features are GPIO expansion, main
    +MCU IDD measurement (IDD is the amount of current that flows through VDD) and
    +resistive touchscreen controller.
    +
    +Required properties:
    +- compatible: should be "st,stmfx-0300".
    +- reg: I2C slave address of the device.
    +- interrupts: interrupt specifier triggered by MFX_IRQ_OUT signal.
    + Please refer to ../interrupt-controller/interrupt.txt
    +
    +Optional properties:
    +- drive-open-drain: configure MFX_IRQ_OUT as open drain.
    +- vdd-supply: phandle of the regulator supplying STMFX.
    +
    +Example:
    +
    + stmfx: stmfx@42 {
    + compatible = "st,stmfx-0300";
    + reg = <0x42>;
    + interrupts = <8 IRQ_TYPE_EDGE_RISING>;
    + interrupt-parent = <&gpioi>;
    + vdd-supply = <&v3v3>;
    + };
    +
    +Please refer to ../pinctrl/pinctrl-stmfx.txt for STMFX GPIO expander function bindings.
    --
    2.7.4
    \
     
     \ /
      Last update: 2019-04-09 09:25    [W:3.245 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site