Message ID | 1457576219-7971-3-git-send-email-stefan@agner.ch (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Mar 09, 2016 at 06:16:43PM -0800, Stefan Agner wrote: > Signed-off-by: Stefan Agner <stefan@agner.ch> So this patch cannot be applied before the fsl,vf610-gpc driver gets landed on mainline. Shawn > --- > arch/arm/boot/dts/vfxxx.dtsi | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi > index 5e49fbd..909988d 100644 > --- a/arch/arm/boot/dts/vfxxx.dtsi > +++ b/arch/arm/boot/dts/vfxxx.dtsi > @@ -88,7 +88,7 @@ > #address-cells = <1>; > #size-cells = <1>; > compatible = "simple-bus"; > - interrupt-parent = <&mscm_ir>; > + interrupt-parent = <&gpc>; > ranges; > > aips0: aips-bus@40000000 { > @@ -475,6 +475,14 @@ > reg = <0x4006e000 0x1000>; > interrupts = <96 IRQ_TYPE_LEVEL_HIGH>; > }; > + > + gpc: gpc@4006c000 { > + compatible = "fsl,vf610-gpc"; > + reg = <0x4006c000 0x1000>; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupt-parent = <&mscm_ir>; > + }; > }; > > aips1: aips-bus@40080000 { > -- > 2.7.2 > >
On 2016-03-31 01:21, Shawn Guo wrote: > On Wed, Mar 09, 2016 at 06:16:43PM -0800, Stefan Agner wrote: >> Signed-off-by: Stefan Agner <stefan@agner.ch> > > So this patch cannot be applied before the fsl,vf610-gpc driver gets > landed on mainline. Yes! -- Stefan >> --- >> arch/arm/boot/dts/vfxxx.dtsi | 10 +++++++++- >> 1 file changed, 9 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi >> index 5e49fbd..909988d 100644 >> --- a/arch/arm/boot/dts/vfxxx.dtsi >> +++ b/arch/arm/boot/dts/vfxxx.dtsi >> @@ -88,7 +88,7 @@ >> #address-cells = <1>; >> #size-cells = <1>; >> compatible = "simple-bus"; >> - interrupt-parent = <&mscm_ir>; >> + interrupt-parent = <&gpc>; >> ranges; >> >> aips0: aips-bus@40000000 { >> @@ -475,6 +475,14 @@ >> reg = <0x4006e000 0x1000>; >> interrupts = <96 IRQ_TYPE_LEVEL_HIGH>; >> }; >> + >> + gpc: gpc@4006c000 { >> + compatible = "fsl,vf610-gpc"; >> + reg = <0x4006c000 0x1000>; >> + interrupt-controller; >> + #interrupt-cells = <2>; >> + interrupt-parent = <&mscm_ir>; >> + }; >> }; >> >> aips1: aips-bus@40080000 { >> -- >> 2.7.2 >> >>
diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 5e49fbd..909988d 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -88,7 +88,7 @@ #address-cells = <1>; #size-cells = <1>; compatible = "simple-bus"; - interrupt-parent = <&mscm_ir>; + interrupt-parent = <&gpc>; ranges; aips0: aips-bus@40000000 { @@ -475,6 +475,14 @@ reg = <0x4006e000 0x1000>; interrupts = <96 IRQ_TYPE_LEVEL_HIGH>; }; + + gpc: gpc@4006c000 { + compatible = "fsl,vf610-gpc"; + reg = <0x4006c000 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&mscm_ir>; + }; }; aips1: aips-bus@40080000 {
Signed-off-by: Stefan Agner <stefan@agner.ch> --- arch/arm/boot/dts/vfxxx.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)