[PATCH] ARM: at91: at91sam9x5: sets NPCS0 (PA14) back to GPIO

Alexandre Belloni alexandre.belloni at free-electrons.com
Fri Jul 25 01:50:14 PDT 2014


On 25/07/2014 at 10:36:45 +0200, Boris Brezillon wrote :
> Hi Alexandre,
> 
> On Fri, 25 Jul 2014 10:30:54 +0200
> Alexandre Belloni <alexandre.belloni at free-electrons.com> wrote:
> 
> > Hi,
> > 
> > On 25/07/2014 at 08:14:40 +0200, Jiří Prchal wrote :
> > > I'm using custom board. My spi node:
> > > 			spi0: spi at f0000000 {
> > 
> > You should override the pinctrl here as you are using gpios for the cs.
> > 				pinctrl-0 = <&pinctrl_spi0_custom>;
> 
> I guess you meant:
> 			pinctrl-0 <&pinctrl_spi0 &pinctrl_spi0_custom>;
> 

Sure, you are right

> I suggested the same thing, however I'm pretty sure this is not the
> source of the problem. As I said, gpio_request already mux the
> associated pin to GPIO function.
> 
> Best Regards,
> 
> Boris
> 
> 
> -- 
> Boris Brezillon, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list