[PATCH v2 2/2] net: flexcan: add transceiver switch gpios support
Dong Aisheng
aisheng.dong at freescale.com
Thu Jun 28 07:39:03 EDT 2012
On Thu, Jun 28, 2012 at 12:31:56PM +0200, Marc Kleine-Budde wrote:
> On 06/28/2012 05:21 AM, Shawn Guo wrote:
> > The flexcan driver has function pointer transceiver_switch defined in
> > flexcan_platform_data for platform codes to hook up their transceiver
> > switch implementation. However this does not cope with device tree
> > probe.
> >
> > It's been observed that platforms mostly use gpios to control the
> > switch of flexcan transceiver, like enable and standby. The patch
> > adds transceiver switch gpios support into flexcan driver, so that
> > platforms booting from device tree can just define properties
> > phy-enable-gpios and phy-standby-gpios to have flexcan driver control
> > the gpios.
>
> Hmm I'm wondering if transceiver or phy is the correct name here. In
> platform_data it's called transceiver_switch.
>
Hmm, i also had this wondering.
I quote some info from the spec like:
"The MC33902 is a high speed CAN physical interface. The device
includes an internal 5.0 V supply for the CAN bus transceiver, and
requires only a connection to a battery line."
Maybe transceiver is more close to spec.
Regards
Dong Aisheng
More information about the linux-arm-kernel
mailing list