phy: phy-can-transceiver: Add support for generic CAN transceiver driver
authorAswath Govindraju <a-govindraju@ti.com>
Mon, 10 May 2021 05:10:05 +0000 (10:40 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Jun 2021 05:50:17 +0000 (11:20 +0530)
commita4a86d273ff1b6f7551c67908556fd91c9affd22
tree3c95526cc9bbc942fa0d10ee8e412c0a114f662c
parentad92330614b93933088764e9098ebaec042bada6
phy: phy-can-transceiver: Add support for generic CAN transceiver driver

The driver adds support for generic CAN transceivers. Currently
the modes supported by this driver are standby and normal modes for TI
TCAN1042 and TCAN1043 CAN transceivers.

The transceiver is modelled as a phy with pins controlled by gpios, to put
the transceiver in various device functional modes. It also gets the phy
attribute max_link_rate for the usage of CAN drivers.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20210510051006.11393-4-a-govindraju@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
MAINTAINERS
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-can-transceiver.c [new file with mode: 0644]