From: Rashmica Gupta <rashmica.g@gmail•com>
To: linus.walleij@linaro•org
Cc: Mark Rutland <mark.rutland@arm•com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger•kernel.org>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-aspeed@lists•ozlabs.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@vger•kernel.org>,
Andrew Jeffery <andrew@aj•id.au>,
open list <linux-kernel@vger•kernel.org>,
Bartosz Golaszewski <bgolaszewski@baylibre•com>,
Rob Herring <robh+dt@kernel•org>, Joel Stanley <joel@jms•id.au>,
Rashmica Gupta <rashmica.g@gmail•com>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-arm-kernel@lists•infradead.org>
Subject: [PATCH v3 1/5] dt-bindings: gpio: aspeed: Update documentation with ast2600 controllers
Date: Fri, 6 Sep 2019 16:25:47 +1000 [thread overview]
Message-ID: <20190906062547.13264-1-rashmica.g@gmail.com> (raw)
The ast2600 is a new generation of SoC from ASPEED. Similarly to the
ast2400 and ast2500, it has a GPIO controller for it's 3.3V GPIO pins.
Additionally, it has a GPIO controller for 36 1.8V GPIO pins. We use
the ngpio property to differentiate between these controllers.
Signed-off-by: Rashmica Gupta <rashmica.g@gmail•com>
---
Documentation/devicetree/bindings/gpio/gpio-aspeed.txt | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt
index 7e9b586770b0..b2033fc3a71a 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt
@@ -2,7 +2,8 @@ Aspeed GPIO controller Device Tree Bindings
-------------------------------------------
Required properties:
-- compatible : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio"
+- compatible : Either "aspeed,ast2400-gpio", "aspeed,ast2500-gpio",
+ or "aspeed,ast2600-gpio".
- #gpio-cells : Should be two
- First cell is the GPIO line number
@@ -17,7 +18,9 @@ Required properties:
Optional properties:
-- clocks : A phandle to the clock to use for debounce timings
+- clocks : A phandle to the clock to use for debounce timings
+- ngpios : Number of GPIOs controlled by this controller. Should be set
+ when there are multiple GPIO controllers on a SoC (ast2600).
The gpio and interrupt properties are further described in their respective
bindings documentation:
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-09-06 6:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-06 6:25 Rashmica Gupta [this message]
2019-09-11 10:03 ` [PATCH v3 1/5] dt-bindings: gpio: aspeed: Update documentation with ast2600 controllers Linus Walleij
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=20190906062547.13264-1-rashmica.g@gmail.com \
--to=rashmica.g@gmail$(echo .)com \
--cc=andrew@aj$(echo .)id.au \
--cc=bgolaszewski@baylibre$(echo .)com \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=joel@jms$(echo .)id.au \
--cc=linus.walleij@linaro$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-aspeed@lists$(echo .)ozlabs.org \
--cc=linux-gpio@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=mark.rutland@arm$(echo .)com \
--cc=robh+dt@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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