[RFC PATCH v2 0/2] Extend mmio-mux driver to configure mux with new DT property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series extends mmio-mux driver's capability to configure driver in
with extended property.

In current driver implementation, driver is parsing register's offset,
mask and value from two different device tree property which makes it
complex to specify a specific register or set of registers. Introducing
mux-reg-masks-states will make it easier to specify the same values for
particular register or set of registers.

This series is based on linux next tagged next-20250303.

Link to v1:
https://lore.kernel.org/r/20250227202206.2551305-1-c-vankar@xxxxxx/

Changes from v1 to v2:
- Updated dt-bindings for the required conditions as suggested by Conor
  Dooley and Andrew Davis.
- Modified driver changes as pointed out by Andrew Davis.

Chintan Vankar (2):
  devicetree: bindings: mux: reg-mux: Update bindings for reg-mux for
    new property
  mux: mmio: Extend mmio-mux driver to configure mux with new DT
    property

 .../devicetree/bindings/mux/reg-mux.yaml      |  28 +++-
 drivers/mux/mmio.c                            | 144 ++++++++++++++----
 2 files changed, 141 insertions(+), 31 deletions(-)

-- 
2.34.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux