Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1504895
| From | Alexandre TORGUE <alexandre.torgue@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] pinctrl: stm32: move gpio irqs binding to optional |
| Date | 2016-10-20 15:30 +0200 |
| Message-ID | <sulzY-84O-37@gated-at.bofh.it> (permalink) |
| References | <sulzY-84O-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
stm32 pinctrl driver could be probed even if no interrupt controller
is defined to manage gpio irqs. Entries related to gpio irq management
are moved to optional.
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
index f9753c4..b24583a 100644
--- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
@@ -14,11 +14,6 @@ Required properies:
- #size-cells : The value of this property must be 1
- ranges : defines mapping between pin controller node (parent) to
gpio-bank node (children).
- - interrupt-parent: phandle of the interrupt parent to which the external
- GPIO interrupts are forwarded to.
- - st,syscfg: Should be phandle/offset pair. The phandle to the syscon node
- which includes IRQ mux selection register, and the offset of the IRQ mux
- selection register.
- pins-are-numbered: Specify the subnodes are using numbered pinmux to
specify pins.
@@ -37,6 +32,11 @@ Required properties:
Optional properties:
- reset: : Reference to the reset controller
+ - interrupt-parent: phandle of the interrupt parent to which the external
+ GPIO interrupts are forwarded to.
+ - st,syscfg: Should be phandle/offset pair. The phandle to the syscon node
+ which includes IRQ mux selection register, and the offset of the IRQ mux
+ selection register.
Example:
#include <dt-bindings/pinctrl/stm32f429-pinfunc.h>
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] STM32 pinctrl: remove dependency between pinctrl driver and device tree Alexandre TORGUE <alexandre.torgue@st.com> - 2016-10-20 15:30 +0200
[PATCH 2/2] pinctrl: stm32: move gpio irqs binding to optional Alexandre TORGUE <alexandre.torgue@st.com> - 2016-10-20 15:30 +0200
Re: [PATCH 2/2] pinctrl: stm32: move gpio irqs binding to optional Linus Walleij <linus.walleij@linaro.org> - 2016-10-24 02:00 +0200
csiph-web