[PATCH RFC v3 0/4] MUX: Add support for reading enable state from DT
From: Aswath Govindraju
Date: Tue Nov 23 2021 - 03:13:13 EST
- The following series of patches add support for reading the state of the
mux to be set for enabling given device.
- As these are RFC patches I have combined them into a single series for
better understanding of the reason behind making this change.
Changes since v2:
- Fixed changes in phy-can-transceiver based on comments
- added select MULTIPLEXER in drivers/phy/Kconfig
- Changed the implemetation of getting state by adding new apis
Changes since v1:
- Added support for reading the enable state from DT instead of hardcoding
the state to be set to 1.
- Made relavent changes in the bindings
Link to v2:
- https://patchwork.kernel.org/project/linux-phy/list/?series=583917
Link to v1,
- https://patchwork.kernel.org/project/linux-phy/list/?series=578863&state=*
Aswath Govindraju (4):
dt-bindings: mux: Increase the number of arguments in mux-controls
dt-bindings: phy: ti,tcan104x-can: Document mux-controls property
mux: Add support for reading mux enable state from DT
phy: phy-can-transceiver: Add support for setting mux
.../devicetree/bindings/mux/gpio-mux.yaml | 2 +-
.../bindings/mux/mux-controller.yaml | 2 +-
.../bindings/phy/ti,tcan104x-can.yaml | 8 +
drivers/mux/core.c | 146 +++++++++++++++++-
drivers/phy/Kconfig | 1 +
drivers/phy/phy-can-transceiver.c | 22 +++
include/linux/mux/consumer.h | 19 ++-
include/linux/mux/driver.h | 13 ++
8 files changed, 206 insertions(+), 7 deletions(-)
--
2.17.1