Message ID | 1531821387-29845-2-git-send-email-ludovic.Barre@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi add Rob, I forgotten rob's mail. On 07/17/2018 11:56 AM, Ludovic Barre wrote: > From: Ludovic Barre <ludovic.barre@st.com> > > This patch adds mask parameter to define IRQ mux field. > This field could vary depend of IRQ mux selection register. > This parameter is needed if the mask is different of 0xf. > > Signed-off-by: Ludovic Barre <ludovic.barre@st.com> > --- > Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt > index 9a06e1f..4d60119 100644 > --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt > +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt > @@ -39,9 +39,10 @@ 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. > + - st,syscfg: Should be phandle/offset/mask. > + -The phandle to the syscon node which includes IRQ mux selection register. > + -The offset of the IRQ mux selection register > + -The field mask of IRQ mux, needed if different of 0xf. > - gpio-ranges: Define a dedicated mapping between a pin-controller and > a gpio controller. Format is <&phandle a b c> with: > -(phandle): phandle of pin-controller. >
On 07/17/2018 11:56 AM, Ludovic Barre wrote: > From: Ludovic Barre <ludovic.barre@st.com> > > This patch adds mask parameter to define IRQ mux field. > This field could vary depend of IRQ mux selection register. > This parameter is needed if the mask is different of 0xf. > > Signed-off-by: Ludovic Barre <ludovic.barre@st.com> > --- > Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt > index 9a06e1f..4d60119 100644 > --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt > +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt > @@ -39,9 +39,10 @@ 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. > + - st,syscfg: Should be phandle/offset/mask. > + -The phandle to the syscon node which includes IRQ mux selection register. > + -The offset of the IRQ mux selection register > + -The field mask of IRQ mux, needed if different of 0xf. > - gpio-ranges: Define a dedicated mapping between a pin-controller and > a gpio controller. Format is <&phandle a b c> with: > -(phandle): phandle of pin-controller. > Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
On Tue, Jul 17, 2018 at 11:56 AM Ludovic Barre <ludovic.Barre@st.com> wrote: > From: Ludovic Barre <ludovic.barre@st.com> > > This patch adds mask parameter to define IRQ mux field. > This field could vary depend of IRQ mux selection register. > This parameter is needed if the mask is different of 0xf. > > Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Patch applied with Alexandre's ACK. Yours, Linus Walleij
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt index 9a06e1f..4d60119 100644 --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt @@ -39,9 +39,10 @@ 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. + - st,syscfg: Should be phandle/offset/mask. + -The phandle to the syscon node which includes IRQ mux selection register. + -The offset of the IRQ mux selection register + -The field mask of IRQ mux, needed if different of 0xf. - gpio-ranges: Define a dedicated mapping between a pin-controller and a gpio controller. Format is <&phandle a b c> with: -(phandle): phandle of pin-controller.