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)
commite4d4371253029528c02bfb43a46c252e1c3d035f
tree7143c92883a7f6b4ba36c7541a953cb18984f91c
parent3123109284176b1532874591f7c81f3837bbdc17
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