Message ID | 20200108104746.1765-2-m.felsch@pengutronix.de |
---|---|
State | New |
Headers | show |
Series | Add DA9062 GPIO support | expand |
On Wed, Jan 8, 2020 at 11:48 AM Marco Felsch <m.felsch@pengutronix.de> wrote: > Add gpio device documentation to make the da9062 gpios available for > users. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> > Reviewed-by: Rob Herring <robh@kernel.org> > Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On Wed, 08 Jan 2020, Marco Felsch wrote: > Add gpio device documentation to make the da9062 gpios available for > users. > > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> > Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> > Reviewed-by: Rob Herring <robh@kernel.org> > Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org> > --- > Changelog: > > v2: > - remove sub-node documentation > - squash gpio properties into mfd documentation > --- > Documentation/devicetree/bindings/mfd/da9062.txt | 10 ++++++++++ > 1 file changed, 10 insertions(+) Applied, thanks.
diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt index bc4b59de6a55..857af982c88f 100644 --- a/Documentation/devicetree/bindings/mfd/da9062.txt +++ b/Documentation/devicetree/bindings/mfd/da9062.txt @@ -13,6 +13,7 @@ da9062-rtc : : Real-Time Clock da9062-onkey : : On Key da9062-watchdog : : Watchdog Timer da9062-thermal : : Thermal +da9062-gpio : : GPIOs The DA9061 PMIC consists of: @@ -38,6 +39,15 @@ Required properties: See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for further information on IRQ bindings. +Optional properties: + +- gpio-controller : Marks the device as a gpio controller. +- #gpio-cells : Should be two. The first cell is the pin number and the + second cell is used to specify the gpio polarity. + +See Documentation/devicetree/bindings/gpio/gpio.txt for further information on +GPIO bindings. + Sub-nodes: - regulators : This node defines the settings for the LDOs and BUCKs.