From: Marco Felsch <m.felsch@pengutronix.de>
To: support.opensource@diasemi.com, lee.jones@linaro.org,
robh+dt@kernel.org, linus.walleij@linaro.org,
Adam.Thomson.Opensource@diasemi.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel@pengutronix.de, linux-gpio@vger.kernel.org,
Rob Herring <robh@kernel.org>
Subject: [PATCH v4 1/3] dt-bindings: mfd: da9062: add gpio bindings
Date: Wed, 8 Jan 2020 11:47:44 +0100 [thread overview]
Message-ID: <20200108104746.1765-2-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20200108104746.1765-1-m.felsch@pengutronix.de>
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(+)
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.
--
2.20.1
next prev parent reply other threads:[~2020-01-08 10:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 10:47 [PATCH v4 0/3] Add DA9062 GPIO support Marco Felsch
2020-01-08 10:47 ` Marco Felsch [this message]
2020-01-13 20:34 ` [PATCH v4 1/3] dt-bindings: mfd: da9062: add gpio bindings Linus Walleij
2020-01-17 9:45 ` Lee Jones
2020-01-08 10:47 ` [PATCH v4 2/3] mfd: da9062: add support for the DA9062 GPIOs in the core Marco Felsch
2020-01-17 9:45 ` Lee Jones
2020-01-08 10:47 ` [PATCH v4 3/3] pinctrl: da9062: add driver support Marco Felsch
2020-01-15 16:29 ` Marco Felsch
2020-01-17 8:16 ` Linus Walleij
2020-01-17 8:45 ` Marco Felsch
2020-01-17 9:57 ` Adam Thomson
2020-02-18 11:07 ` Marco Felsch
2020-02-19 16:17 ` Linus Walleij
2020-01-17 8:46 ` [PATCH v4 0/3] Add DA9062 GPIO support Marco Felsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200108104746.1765-2-m.felsch@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=Adam.Thomson.Opensource@diasemi.com \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=support.opensource@diasemi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®