lkml.org 
[lkml]   [2011]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 9/9] ARM: highbank: add interrupt properties to gpio nodes
    On Wed, Dec 14, 2011 at 8:28 AM, Rob Herring <robherring2@gmail.com> wrote:
    > From: Rob Herring <rob.herring@calxeda.com>
    >
    > Add interrupt-controller properties to pl061 gpio nodes so gpio lines can
    > function as interrupts.
    >
    > Signed-off-by: Rob Herring <rob.herring@calxeda.com>

    Acked-by: Grant Likely <grant.likely@secretlab.ca>

    > ---
    >  arch/arm/boot/dts/highbank.dts |    9 ++++++++-
    >  1 files changed, 8 insertions(+), 1 deletions(-)
    >
    > diff --git a/arch/arm/boot/dts/highbank.dts b/arch/arm/boot/dts/highbank.dts
    > index aeb1a75..dfe2b49 100644
    > --- a/arch/arm/boot/dts/highbank.dts
    > +++ b/arch/arm/boot/dts/highbank.dts
    > @@ -89,7 +89,6 @@
    >                        #size-cells = <0>;
    >                        #address-cells = <1>;
    >                        interrupt-controller;
    > -                       interrupt-parent;
    >                        reg = <0xfff11000 0x1000>,
    >                              <0xfff10100 0x100>;
    >                };
    > @@ -129,6 +128,8 @@
    >                        #gpio-cells = <2>;
    >                        compatible = "arm,pl061", "arm,primecell";
    >                        gpio-controller;
    > +                       interrupt-controller;
    > +                       #interrupt-cells = <2>;
    >                        reg = <0xfff30000 0x1000>;
    >                        interrupts = <0 14 4>;
    >                };
    > @@ -137,6 +138,8 @@
    >                        #gpio-cells = <2>;
    >                        compatible = "arm,pl061", "arm,primecell";
    >                        gpio-controller;
    > +                       interrupt-controller;
    > +                       #interrupt-cells = <2>;
    >                        reg = <0xfff31000 0x1000>;
    >                        interrupts = <0 15 4>;
    >                };
    > @@ -145,6 +148,8 @@
    >                        #gpio-cells = <2>;
    >                        compatible = "arm,pl061", "arm,primecell";
    >                        gpio-controller;
    > +                       interrupt-controller;
    > +                       #interrupt-cells = <2>;
    >                        reg = <0xfff32000 0x1000>;
    >                        interrupts = <0 16 4>;
    >                };
    > @@ -153,6 +158,8 @@
    >                        #gpio-cells = <2>;
    >                        compatible = "arm,pl061", "arm,primecell";
    >                        gpio-controller;
    > +                       interrupt-controller;
    > +                       #interrupt-cells = <2>;
    >                        reg = <0xfff33000 0x1000>;
    >                        interrupts = <0 17 4>;
    >                };
    > --
    > 1.7.5.4
    >



    --
    Grant Likely, B.Sc., P.Eng.
    Secret Lab Technologies Ltd.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-12-14 22:43    [W:0.027 / U:124.300 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site