Message ID | 1523422726-7910-2-git-send-email-matheus@castello.eng.br |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [v5,1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support | expand |
Matheus Castello <matheus@castello.eng.br> writes: > Added generic pin configuration and multiplexing support, > and should be preferred than brcm legacy one. > > Signed-off-by: Matheus Castello <matheus@castello.eng.br> > --- > .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) All 3 patches are: Reviewed-by: Eric Anholt <eric@anholt.net> Thanks for doing this!
On Wed, Apr 11, 2018 at 12:58:44AM -0400, Matheus Castello wrote: > Added generic pin configuration and multiplexing support, > and should be preferred than brcm legacy one. > > Signed-off-by: Matheus Castello <matheus@castello.eng.br> > --- > .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) Reviewed-by: Rob Herring <robh@kernel.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Apr 11, 2018 at 6:58 AM, Matheus Castello <matheus@castello.eng.br> wrote: > Added generic pin configuration and multiplexing support, > and should be preferred than brcm legacy one. > > Signed-off-by: Matheus Castello <matheus@castello.eng.br> Patch applied with Eric's and Rob's ACKs. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt b/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt index 2569866..51fe305 100644 --- a/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt @@ -36,6 +36,24 @@ 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. +The BCM2835 pin configuration and multiplexing supports the generic 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.
Added generic pin configuration and multiplexing support, and should be preferred than brcm legacy one. Signed-off-by: Matheus Castello <matheus@castello.eng.br> --- .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html