diff options
author | Aswath Govindraju <a-govindraju@ti.com> | 2021-05-10 10:40:05 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-06-14 11:20:17 +0530 |
commit | a4a86d273ff1b6f7551c67908556fd91c9affd22 (patch) | |
tree | 3c95526cc9bbc942fa0d10ee8e412c0a114f662c /drivers/phy/Kconfig | |
parent | ad92330614b93933088764e9098ebaec042bada6 (diff) | |
download | lwn-a4a86d273ff1b6f7551c67908556fd91c9affd22.tar.gz lwn-a4a86d273ff1b6f7551c67908556fd91c9affd22.zip |
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>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r-- | drivers/phy/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 54c1f2f0985f..7dd35f1b9cc5 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -61,6 +61,15 @@ config USB_LGM_PHY interface to interact with USB GEN-II and USB 3.x PHY that is part of the Intel network SOC. +config PHY_CAN_TRANSCEIVER + tristate "CAN transceiver PHY" + select GENERIC_PHY + help + This option enables support for CAN transceivers as a PHY. This + driver provides function for putting the transceivers in various + functional modes using gpios and sets the attribute max link + rate, for CAN drivers. + source "drivers/phy/allwinner/Kconfig" source "drivers/phy/amlogic/Kconfig" source "drivers/phy/broadcom/Kconfig" |