lkml.org 
[lkml]   [2016]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/13] bindings: gpio-sx150x: Document "semtech,io-polarity" binding
    Date
    Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
    ---
    Documentation/devicetree/bindings/gpio/gpio-sx150x.txt | 9 +++++++++
    1 file changed, 9 insertions(+)

    diff --git a/Documentation/devicetree/bindings/gpio/gpio-sx150x.txt b/Documentation/devicetree/bindings/gpio/gpio-sx150x.txt
    index c809acb..02b92ae 100644
    --- a/Documentation/devicetree/bindings/gpio/gpio-sx150x.txt
    +++ b/Documentation/devicetree/bindings/gpio/gpio-sx150x.txt
    @@ -26,6 +26,15 @@ The GPIO expander can optionally be used as an interrupt controller, in
    which case it uses the default two cell specifier as described in
    Documentation/devicetree/bindings/interrupt-controller/interrupts.txt.

    +Optional properties:
    +
    +- semtech,io-polarity: A bit-mask which enables polarity inversion for
    + each IO line in the expander. Setting the bit
    + at position n inverts the polarity of that IO
    + line, while clearing it results in normal
    + polarity. For chips with fewer than 16 IO pins,
    + high-end bits are ignored.
    +
    Example:

    i2c_gpio_expander@20{
    --
    2.5.5
    \
     
     \ /
      Last update: 2016-10-17 16:31    [W:2.220 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site