From: Matheus Castello <matheus@castello.eng.br>
To: stefan.wahren@i2se.com, eric@anholt.net
Cc: linus.walleij@linaro.org, robh+dt@kernel.org,
mark.rutland@arm.com, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Matheus Castello <matheus@castello.eng.br>
Subject: [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support
Date: Fri, 9 Mar 2018 13:13:58 -0400 [thread overview]
Message-ID: <1520615640-9153-2-git-send-email-matheus@castello.eng.br> (raw)
In-Reply-To: <1520615640-9153-1-git-send-email-matheus@castello.eng.br>
Added generic pin configuration and multiplexing support,
and shoud be preferred than brcm legacy one.
Signed-off-by: Matheus Castello <matheus@castello.eng.br>
---
.../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt b/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
index 2569866..58b4720 100644
--- a/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
@@ -36,6 +36,25 @@ listed. In other words, a subnode that lists only a mux function implies no
information about any pull configuration. Similarly, a subnode that lists only
a pul parameter implies no information about the mux function.
+This driver supports the generic pin multiplexing and configuration
+bindings. For details on each properties, you can refer to
+./pinctrl-bindings.txt.
+
+Required sub-node properties:
+ - pins
+ - function
+
+Optional sub-node properties:
+ - bias-disable
+ - bias-pull-up
+ - bias-pull-down
+ - output-high
+ - output-low
+
+Legacy pin configuration and multiplexing binding:
+*** (Its use is deprecated, use generic multiplexing and configuration
+bindings instead)
+
Required subnode-properties:
- brcm,pins: An array of cells. Each cell contains the ID of a pin. Valid IDs
are the integer GPIO IDs; 0==GPIO0, 1==GPIO1, ... 53==GPIO53.
--
2.7.4
next prev parent reply other threads:[~2018-03-09 17:13 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1519321475-973-1-git-send-email-matheus@castello.eng.br>
2018-03-02 10:14 ` [PATCH] pinctrl: bc2835: Add brcm,level property Linus Walleij
2018-03-03 14:21 ` Stefan Wahren
2018-03-05 2:29 ` [PATCH v2 0/3] pinctrl: bcm2835: " Matheus Castello
2018-03-05 2:29 ` [PATCH v2 1/3] pinctrl: bcm2835: switch to GENERIC_PINCONF Matheus Castello
2018-03-07 11:51 ` Stefan Wahren
2018-03-05 2:29 ` [PATCH v2 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding Matheus Castello
2018-03-05 23:21 ` Eric Anholt
2018-03-07 3:28 ` Matheus Castello
2018-03-05 2:29 ` [PATCH v2 3/3] pinctrl: bcm2835: Add support for output-low output-high properties Matheus Castello
2018-03-07 11:58 ` [PATCH v2 0/3] pinctrl: bcm2835: Add brcm,level property Stefan Wahren
2018-03-08 0:12 ` Matheus Castello
2018-03-08 8:00 ` Stefan Wahren
2018-03-08 19:47 ` Matheus Castello
2018-03-09 4:16 ` [PATCH v3 " Matheus Castello
2018-03-09 4:16 ` [PATCH v3 1/3] pinctrl: bcm2835: Add support for generic pinctrl binding Matheus Castello
2018-03-09 4:16 ` [PATCH v3 2/3] pinctrl: bcm2835: Add support for output-low output-high properties Matheus Castello
2018-03-09 4:16 ` [PATCH v3 3/3] pinctrl: bcm2835: Update docs about generic pinctrl bindings support Matheus Castello
2018-03-09 11:46 ` Stefan Wahren
2018-03-09 17:13 ` [PATCH v4 0/3] pinctrl: bcm2835: Add generic pinctrl support Matheus Castello
2018-03-09 17:13 ` Matheus Castello [this message]
2018-03-18 12:48 ` [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: " Rob Herring
2018-03-18 15:23 ` Matheus Castello
2018-04-11 4:58 ` [PATCH v5 0/3] pinctrl: bcm2835: " Matheus Castello
2018-04-11 4:58 ` [PATCH v5 1/3] dt-bindings: pinctrl: bcm2835-gpio: " Matheus Castello
2018-04-11 16:02 ` Eric Anholt
2018-04-16 15:06 ` Rob Herring
2018-04-26 12:21 ` Linus Walleij
2018-04-11 4:58 ` [PATCH v5 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding Matheus Castello
2018-04-21 10:30 ` Stefan Wahren
2018-04-22 12:44 ` Stefan Wahren
2018-04-26 12:24 ` Linus Walleij
2018-04-11 4:58 ` [PATCH v5 3/3] pinctrl: bcm2835: Add support for output-low output-high properties Matheus Castello
2018-04-26 12:25 ` Linus Walleij
2018-04-29 19:28 ` [PATCH v6 0/3] bcm2835: Add generic pinctrl support Matheus Castello
2018-04-29 19:28 ` [PATCH v6 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding Matheus Castello
2018-04-29 19:28 ` [PATCH v6 3/3] pinctrl: bcm2835: Add support for output-low output-high properties Matheus Castello
2018-05-01 0:42 ` [PATCH v7 0/3] bcm2835: Add generic pinctrl support Matheus Castello
2018-05-01 0:42 ` [PATCH v7 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding Matheus Castello
2018-05-03 17:38 ` Stefan Wahren
2018-05-12 9:08 ` Stefan Wahren
2018-05-16 12:00 ` Linus Walleij
2018-05-01 0:42 ` [PATCH v7 3/3] pinctrl: bcm2835: Add support for output-low output-high properties Matheus Castello
2018-05-16 12:02 ` Linus Walleij
2018-03-09 17:13 ` [PATCH v4 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding Matheus Castello
2018-03-12 18:03 ` Eric Anholt
2018-03-09 17:14 ` [PATCH v4 3/3] pinctrl: bcm2835: Add support for output-low output-high properties Matheus Castello
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=1520615640-9153-2-git-send-email-matheus@castello.eng.br \
--to=matheus@castello.eng.br \
--cc=devicetree@vger.kernel.org \
--cc=eric@anholt.net \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=stefan.wahren@i2se.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;
as well as URLs for NNTP newsgroup(s).