]> git.baikalelectronics.ru Git - kernel.git/commit
phy: phy-can-transceiver: Add support for setting mux
authorAswath Govindraju <a-govindraju@ti.com>
Fri, 8 Apr 2022 11:13:16 +0000 (16:43 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 11 Apr 2022 14:44:10 +0000 (20:14 +0530)
commite15c7293dd109278e139f975e29218229a55ea20
tree7143c92883a7f6b4ba36c7541a953cb18984f91c
parentdbb008736a8c113ef1e12b4e4b4351fac2a15ede
phy: phy-can-transceiver: Add support for setting mux

On some boards, for routing CAN signals from controller to transceiver,
muxes might need to be set. Therefore, add support for setting the mux by
reading the mux-states property from the device tree node.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Link: https://lore.kernel.org/r/20220408111316.21189-1-a-govindraju@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Kconfig
drivers/phy/phy-can-transceiver.c