Message ID | 1358889025-8530-4-git-send-email-gregory.clement@free-electrons.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Jan 22, 2013 at 10:10 PM, Gregory CLEMENT <gregory.clement@free-electrons.com> wrote: > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port > expansion IC to provide 40-bit parallel input/output GPIOs. This patch > enable the use of this expander on the Mirabox. > > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > Acked-by: Linus Walleij <linus.walleij@linaro.org> So as requested I leave this patch for now, tell me if you want it applied through pinctrl. Yours, Linus Walleij
Linus, On Fri, Jan 25, 2013 at 09:17:57AM +0100, Linus Walleij wrote: > On Tue, Jan 22, 2013 at 10:10 PM, Gregory CLEMENT > <gregory.clement@free-electrons.com> wrote: > > > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box > > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port > > expansion IC to provide 40-bit parallel input/output GPIOs. This patch > > enable the use of this expander on the Mirabox. > > > > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > > Acked-by: Linus Walleij <linus.walleij@linaro.org> > > So as requested I leave this patch for now, tell me if you want it > applied through pinctrl. Which branch did you put the first two on? I'm not seeing them. thx, Jason.
On Fri, Jan 25, 2013 at 1:46 PM, Jason Cooper <jason@lakedaemon.net> wrote: > On Fri, Jan 25, 2013 at 09:17:57AM +0100, Linus Walleij wrote: >> On Tue, Jan 22, 2013 at 10:10 PM, Gregory CLEMENT >> <gregory.clement@free-electrons.com> wrote: >> >> > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box >> > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port >> > expansion IC to provide 40-bit parallel input/output GPIOs. This patch >> > enable the use of this expander on the Mirabox. >> > >> > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> >> > Acked-by: Linus Walleij <linus.walleij@linaro.org> >> >> So as requested I leave this patch for now, tell me if you want it >> applied through pinctrl. > > Which branch did you put the first two on? I'm not seeing them. Not pushed yet, take it easy. Yours, Linus Walleij
On Fri, Jan 25, 2013 at 1:55 PM, Linus Walleij <linus.walleij@linaro.org> wrote: > On Fri, Jan 25, 2013 at 1:46 PM, Jason Cooper <jason@lakedaemon.net> wrote: >> On Fri, Jan 25, 2013 at 09:17:57AM +0100, Linus Walleij wrote: >>> On Tue, Jan 22, 2013 at 10:10 PM, Gregory CLEMENT >>> <gregory.clement@free-electrons.com> wrote: >>> >>> > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box >>> > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port >>> > expansion IC to provide 40-bit parallel input/output GPIOs. This patch >>> > enable the use of this expander on the Mirabox. >>> > >>> > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> >>> > Acked-by: Linus Walleij <linus.walleij@linaro.org> >>> >>> So as requested I leave this patch for now, tell me if you want it >>> applied through pinctrl. >> >> Which branch did you put the first two on? I'm not seeing them. > > Not pushed yet, take it easy. Or yeah, they are there: http://git.kernel.org/?p=linux/kernel/git/linusw/linux-gpio.git;a=shortlog;h=refs/heads/devel Yours, Linus Walleij
On Fri, Jan 25, 2013 at 01:55:04PM +0100, Linus Walleij wrote: > On Fri, Jan 25, 2013 at 1:46 PM, Jason Cooper <jason@lakedaemon.net> wrote: > > On Fri, Jan 25, 2013 at 09:17:57AM +0100, Linus Walleij wrote: > >> On Tue, Jan 22, 2013 at 10:10 PM, Gregory CLEMENT > >> <gregory.clement@free-electrons.com> wrote: > >> > >> > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box > >> > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port > >> > expansion IC to provide 40-bit parallel input/output GPIOs. This patch > >> > enable the use of this expander on the Mirabox. > >> > > >> > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > >> > Acked-by: Linus Walleij <linus.walleij@linaro.org> > >> > >> So as requested I leave this patch for now, tell me if you want it > >> applied through pinctrl. > > > > Which branch did you put the first two on? I'm not seeing them. > > Not pushed yet, take it easy. Ahh, ok. Sorry, I wasn't trying to rush you. I didn't check the timestamps. Just saw it in my inbox this morning and decided to work on it before going to work. I'll check later, thx, Jason.
On Fri, Jan 25, 2013 at 01:57:51PM +0100, Linus Walleij wrote: > On Fri, Jan 25, 2013 at 1:55 PM, Linus Walleij <linus.walleij@linaro.org> wrote: > > On Fri, Jan 25, 2013 at 1:46 PM, Jason Cooper <jason@lakedaemon.net> wrote: > >> On Fri, Jan 25, 2013 at 09:17:57AM +0100, Linus Walleij wrote: > >>> On Tue, Jan 22, 2013 at 10:10 PM, Gregory CLEMENT > >>> <gregory.clement@free-electrons.com> wrote: > >>> > >>> > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box > >>> > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port > >>> > expansion IC to provide 40-bit parallel input/output GPIOs. This patch > >>> > enable the use of this expander on the Mirabox. > >>> > > >>> > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > >>> > Acked-by: Linus Walleij <linus.walleij@linaro.org> > >>> > >>> So as requested I leave this patch for now, tell me if you want it > >>> applied through pinctrl. > >> > >> Which branch did you put the first two on? I'm not seeing them. > > > > Not pushed yet, take it easy. > > Or yeah, they are there: > http://git.kernel.org/?p=linux/kernel/git/linusw/linux-gpio.git;a=shortlog;h=refs/heads/devel Ahh, I had your pinctrl tree as a remote, but not gpio. Fixed, thanks. Jason.
On Tue, Jan 22, 2013 at 10:10:25PM +0100, Gregory CLEMENT wrote: > The Globalscale Mirabox platform can be connected to the JTAG/GPIO box > through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port > expansion IC to provide 40-bit parallel input/output GPIOs. This patch > enable the use of this expander on the Mirabox. > > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > Acked-by: Linus Walleij <linus.walleij@linaro.org> > --- > arch/arm/boot/dts/armada-370-mirabox.dts | 10 ++++++++++ > 1 file changed, 10 insertions(+) Applied to mvebu/dt_deps with a dependency on gpio/for-next for: 89f5df0 gpio: pca953x: add support for pca9505 f5f0b7a gpio: pca953x: make the register access by GPIO bank thx, Jason.
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts index 3b40713..d9b32d3 100644 --- a/arch/arm/boot/dts/armada-370-mirabox.dts +++ b/arch/arm/boot/dts/armada-370-mirabox.dts @@ -52,5 +52,15 @@ phy = <&phy1>; phy-mode = "rgmii-id"; }; + i2c@d0011000 { + status = "okay"; + clock-frequency = <100000>; + pca9505: pca9505@25 { + compatible = "nxp,pca9505"; + gpio-controller; + #gpio-cells = <2>; + reg = <0x25>; + }; + }; }; };