linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] MCAN: Add support for implementing transceiver as a phy
@ 2021-04-15 15:06 Aswath Govindraju
  2021-04-15 15:06 ` [PATCH 1/2] dt-bindings: net: can: Document transceiver implementation as phy Aswath Govindraju
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Aswath Govindraju @ 2021-04-15 15:06 UTC (permalink / raw)
  Cc: linux-kernel, devicetree, linux-can, netdev, Marc Kleine-Budde,
	Wolfgang Grandegger, Rob Herring, David S . Miller,
	Jakub Kicinski, Chandrasekar Ramakrishnan,
	Kishon Vijay Abraham I, Lokesh Vutla, Vignesh Raghavendra,
	Grygorii Strashko, Aswath Govindraju

The following series of patches add support for implementing the
transceiver as a phy of m_can_platform driver.

TCAN1042 has a standby signal that needs to be pulled high for
sending/receiving messages[1]. TCAN1043 has a enable signal along with
standby signal that needs to be pulled up for sending/receiving
messages[2], and other combinations of the two lines can be used to put the
transceiver in different states to reduce power consumption. On boards
like the AM654-idk and J721e-evm these signals are controlled using gpios.

These gpios are set in phy driver, and the transceiver can be put in
different states using phy API. The phy driver is added in the series [3].

[1] - https://www.ti.com/lit/ds/symlink/tcan1042h.pdf
[2] - https://www.ti.com/lit/ds/symlink/tcan1043-q1.pdf
[3] - https://lore.kernel.org/patchwork/project/lkml/list/?series=495365

Faiz Abbas (2):
  dt-bindings: net: can: Document transceiver implementation as phy
  can: m_can: Add support for transceiver as phy

 .../devicetree/bindings/net/can/bosch,m_can.yaml    |  3 +++
 drivers/net/can/m_can/m_can.c                       | 10 ++++++++++
 drivers/net/can/m_can/m_can.h                       |  2 ++
 drivers/net/can/m_can/m_can_platform.c              | 13 +++++++++++++
 4 files changed, 28 insertions(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-15 15:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 15:06 [PATCH 0/2] MCAN: Add support for implementing transceiver as a phy Aswath Govindraju
2021-04-15 15:06 ` [PATCH 1/2] dt-bindings: net: can: Document transceiver implementation as phy Aswath Govindraju
2021-04-15 15:06 ` [PATCH 2/2] can: m_can: Add support for transceiver " Aswath Govindraju
2021-04-15 15:14 ` [PATCH 0/2] MCAN: Add support for implementing transceiver as a phy Aswath Govindraju
2021-04-15 15:47 ` Aswath Govindraju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).