Re: [PATCH 2/3] ARM: zynq: DT: Add interrupt-controller property to GPIO
From: Moritz Fischer
Date: Fri Oct 23 2015 - 12:53:42 EST
On Fri, Oct 23, 2015 at 9:25 AM, Soren Brinkmann
<soren.brinkmann@xxxxxxxxxx> wrote:
> GPIO can be used as interrupt-controller. Add the missing properties to
> the GPIO node.
>
> Signed-off-by: Soren Brinkmann <soren.brinkmann@xxxxxxxxxx>
> ---
> arch/arm/boot/dts/zynq-7000.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
> index 1a5220e05109..fe1a5d0cf03b 100644
> --- a/arch/arm/boot/dts/zynq-7000.dtsi
> +++ b/arch/arm/boot/dts/zynq-7000.dtsi
> @@ -101,6 +101,8 @@
> #gpio-cells = <2>;
> clocks = <&clkc 42>;
> gpio-controller;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> interrupt-parent = <&intc>;
> interrupts = <0 20 4>;
> reg = <0xe000a000 0x1000>;
> --
> 2.6.2.3.ga463a5b
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Moritz Fischer <moritz.fischer@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/