Message ID | 1440085556-4340-4-git-send-email-ulrich.hecht+renesas@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Simon Horman |
Headers | show |
Hi Uli, On Thu, Aug 20, 2015 at 5:45 PM, Ulrich Hecht <ulrich.hecht+renesas@gmail.com> wrote: > Clears bit 4 in IRQMR0 in the FPGA to enable the SMSC interrupt. > > Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> > Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > arch/arm/boot/dts/r8a7778-bockw.dts | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts > index 8a54076..73ba7de 100644 > --- a/arch/arm/boot/dts/r8a7778-bockw.dts > +++ b/arch/arm/boot/dts/r8a7778-bockw.dts > @@ -65,6 +65,23 @@ > }; > > &bsc { > + fpga@18200000 { > + /* Simplified description that only serves to enable the > + * ethernet controller. > + */ > + compatible = "pinctrl-single"; This needs CONFIG_PINCTRL_SINGLE=y in shmobile_defconfig and multi_v7_defconfig, right? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Aug 26, 2015 at 02:34:15PM +0200, Geert Uytterhoeven wrote: > Hi Uli, > > On Thu, Aug 20, 2015 at 5:45 PM, Ulrich Hecht > <ulrich.hecht+renesas@gmail.com> wrote: > > Clears bit 4 in IRQMR0 in the FPGA to enable the SMSC interrupt. > > > > Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> > > Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> > > --- > > arch/arm/boot/dts/r8a7778-bockw.dts | 20 ++++++++++++++++++++ > > 1 file changed, 20 insertions(+) > > > > diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts > > index 8a54076..73ba7de 100644 > > --- a/arch/arm/boot/dts/r8a7778-bockw.dts > > +++ b/arch/arm/boot/dts/r8a7778-bockw.dts > > @@ -65,6 +65,23 @@ > > }; > > > > &bsc { > > + fpga@18200000 { > > + /* Simplified description that only serves to enable the > > + * ethernet controller. > > + */ > > + compatible = "pinctrl-single"; > > This needs CONFIG_PINCTRL_SINGLE=y in shmobile_defconfig and > multi_v7_defconfig, right? Thanks, with that option enabled I was successfully able to test this series on top of v4.2-rc1. -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts index 8a54076..73ba7de 100644 --- a/arch/arm/boot/dts/r8a7778-bockw.dts +++ b/arch/arm/boot/dts/r8a7778-bockw.dts @@ -65,6 +65,23 @@ }; &bsc { + fpga@18200000 { + /* Simplified description that only serves to enable the + * ethernet controller. + */ + compatible = "pinctrl-single"; + reg = <0x18200030 2>; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-single,bit-per-mux; + pinctrl-single,register-width = <16>; + pinctrl-single,function-mask = <1>; + + irq_pins: fpga_irq_pins { + pinctrl-single,bits = <0 0 0x10>; + }; + }; + ethernet@18300000 { compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0x18300000 0x1000>; @@ -75,6 +92,9 @@ reg-io-width = <4>; vddvario-supply = <&fixedregulator3v3>; vdd33a-supply = <&fixedregulator3v3>; + + pinctrl-0 = <&irq_pins>; + pinctrl-names = "default"; }; };