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

Lothar Waßmann LW at KARO-electronics.de
Thu Jun 28 08:19:29 EDT 2012


Shawn Guo writes:
> On Thu, Jun 28, 2012 at 07:41:10PM +0800, Shawn Guo wrote:
> > On Thu, Jun 28, 2012 at 01:29:19PM +0200, Marc Kleine-Budde wrote:
> > > I mean which name is more precise, do these gpio enable/standy a "phy"
> > > or a "transceiver". For example:
> > > http://www.nxp.com/documents/application_note/AN00094.pdf, this document
> > > says: TJA1041/1041A high speed CAN transceiver.
> > > 
> > Isn't term "phy" (physical interface) generally meant to be the same
> > thing as "transceiver"?  I just happened to like the shorter one as
> > what Hui did in his patch.
> > 
> > But it does not really matter to me, will change the name since you
> > care about it.
> > 
> Do you care the variable name also?  If so, we will get:
> 
>         int transceiver_en_gpio;
>         int transceiver_stby_gpio;
>         bool transceiver_en_high;
>         bool transceiver_stby_high;
> 
> So everything becomes long :)
> 
'xcvr' is a common acronym for 'transceiver'.


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________



More information about the linux-arm-kernel mailing list