[PATCH RFC v2 0/4] MUX: Add support for reading enable state from DT

Aswath Govindraju a-govindraju at ti.com
Mon Nov 22 04:56:20 PST 2021


- 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 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 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                            | 20 ++++++++++++--
 drivers/phy/phy-can-transceiver.c             | 26 +++++++++++++++++++
 include/linux/mux/consumer.h                  |  1 +
 include/linux/mux/driver.h                    |  1 +
 7 files changed, 56 insertions(+), 4 deletions(-)

-- 
2.17.1




More information about the linux-phy mailing list