[PATCH v2 2/2] net: flexcan: add transceiver switch gpios support

Shawn Guo shawn.guo at linaro.org
Thu Jun 28 08:39:03 EDT 2012


On Thu, Jun 28, 2012 at 08:18:18PM +0800, Dong Aisheng wrote:
> > > 	can0: can at 80032000 {
> > > 		pinctrl-names = "default";
> > > 		pinctrl-0 = <&can0_pins_a>;
> > > 		phy-enable-gpios = <&gpio2 13 0>;
> > > 		status = "okay";
> > > 	};
> > > 
> > > 	can1: can at 80034000 {
> > > 		pinctrl-names = "default";
> > > 		pinctrl-0 = <&can1_pins_a>;
> > > 		status = "okay";
> > > 	};
> > 
> > Will this work if can0 is down and can1 is up?
> > 
> > Can we abstract the transceiver power as a regulator? Or a clock? :P
> > 
> Hmm, it may not be a power.
> For mx28evk, it's a STBY pin.
> So it may hard to abstract it as a regulator or clock.
> 
Yes.  It also reminds an error in the dts above.  phy-standby-gpios
should be used instead.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list