[PATCH v5 5/9] Documentation: dt-bindings: Add IRQ related properties of STM32 pinctrl

Linus Walleij linus.walleij at linaro.org
Tue Sep 13 01:18:20 PDT 2016


On Fri, Sep 9, 2016 at 4:42 PM, Alexandre TORGUE
<alexandre.torgue at st.com> wrote:

> Signed-off-by: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Acked-by: Rob Herring <robh at kernel.org>
> Signed-off-by: Alexandre TORGUE <alexandre.torgue at st.com>
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
> index 587bffb..a0eed99 100644
> --- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt
> @@ -14,6 +14,9 @@ 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: phandle of the syscfg node used for IRQ mux selection.

Actually this doc is incomplete.

This is a phandle + offset, not just a phandle.

It is a small detail so I don't care much, either send a patch to
fix up this doc (I have already merged it) or patch the driver
to not retrieve the offset and instead use
#define SYSCFG_OFFSET 0x08
or something...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list