From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings
Date: Tue, 8 Dec 2015 21:41:37 -0600 [thread overview]
Message-ID: <20151209034137.GA15954@rob-hp-laptop> (raw)
In-Reply-To: <1449578711-6141-3-git-send-email-mcoquelin.stm32@gmail.com>
On Tue, Dec 08, 2015 at 01:45:04PM +0100, Maxime Coquelin wrote:
> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
> ---
> .../bindings/pinctrl/st,stm32-pinctrl.txt | 126 +++++++++++++++++++++
> 1 file changed, 126 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
> new file mode 100644
> index 0000000..7b4800c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
> @@ -0,0 +1,126 @@
> +* STM32 GPIO and Pin Mux/Config controller
> +
> +STMicroelectronics's STM32 MCUs intregrate a GPIO and Pin mux/config hardware
> +controller. It controls the input/output settings on the available pins and
> +also provides ability to multiplex and configure the output of various on-chip
> +controllers onto these pads.
> +
> +Pin controller node:
> +Required properies:
> + - compatible: value should be one of the following:
> + (a) "st,stm32f429-pinctrl"
> + - #address-cells: The value of this property must be 1
> + - #size-cells : The value of this property must be 1
> + - ranges : defines mapping between pin controller node (parent) to
> + gpio-bank node (children).
> + - pins-are-numbered: Specify the subnodes are using numbered pinmux to
> + specify pins.
> +
> +GPIO controller/bank node:
> +Required properties:
> + - gpio-controller : Indicates this device is a GPIO controller
> + - #gpio-cells : Should be two.
> + The first cell is the pin number
> + The second one is the polarity:
> + - 0 for active high
> + - 1 for active low
> + - reg : The gpio address range, relative to the pinctrl range
> + - clocks : clock that drives this bank
> + - st,bank-name : Should be a name string for this bank as specified in
> + the datasheet
How do you intend to use this? We should come up with something generic
or drop it.
Rob
next prev parent reply other threads:[~2015-12-09 3:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 12:45 [PATCH v3 0/9] Add STM32 pinctrl/GPIO driver Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 1/9] ARM: Kconfig: Introduce MACH_STM32F429 flag Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings Maxime Coquelin
2015-12-09 3:41 ` Rob Herring [this message]
2015-12-09 9:37 ` Maxime Coquelin
2015-12-11 16:48 ` Rob Herring
2015-12-08 12:45 ` [PATCH v3 3/9] includes: dt-bindings: Add STM32F429 pinctrl " Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 4/9] pinctrl: Add STM32 MCUs support Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 5/9] ARM: mach-stm32: Select pinctrl Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 6/9] ARM: dts: Add pinctrl node to STM32F429 Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 7/9] ARM: dts: Add USART1 pin config to STM32F429 boards Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 8/9] ARM: dts: Add leds support " Maxime Coquelin
2015-12-08 12:45 ` [PATCH v3 9/9] ARM: config: Enable GPIO Led driver in stm32_defconfig Maxime Coquelin
-- strict thread matches above, loose matches on Subject: below --
2015-12-11 8:24 [PATCH RESEND v3 0/9] Add STM32 pinctrl/GPIO driver Maxime Coquelin
2015-12-11 8:24 ` [PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings Maxime Coquelin
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=20151209034137.GA15954@rob-hp-laptop \
--to=robh@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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