[PATCH v3 0/8] mfd: Add support for NXP MC33978/MC34978 MSDI

Oleksij Rempel posted 8 patches 1 month ago
Only 7 patches received!
There is a newer version of this series
.../devicetree/bindings/mfd/nxp,mc33978.yaml  | 112 +++
.../bindings/pinctrl/nxp,mc33978-pinctrl.yaml |  82 ++
drivers/gpio/gpiolib.c                        |  32 +-
drivers/hwmon/Kconfig                         |  10 +
drivers/hwmon/Makefile                        |   1 +
drivers/hwmon/mc33978-hwmon.c                 | 430 +++++++++
drivers/mfd/Kconfig                           |  15 +
drivers/mfd/Makefile                          |   2 +
drivers/mfd/mc33978.c                         | 870 ++++++++++++++++++
drivers/mux/Kconfig                           |  14 +
drivers/mux/Makefile                          |   2 +
drivers/mux/mc33978-mux.c                     | 119 +++
drivers/pinctrl/Kconfig                       |  14 +
drivers/pinctrl/Makefile                      |   1 +
drivers/pinctrl/core.c                        |  25 +-
drivers/pinctrl/pinconf.c                     |  18 +-
drivers/pinctrl/pinctrl-mc33978.c             | 749 +++++++++++++++
include/linux/mfd/mc33978.h                   |  86 ++
18 files changed, 2557 insertions(+), 25 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/nxp,mc33978.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/nxp,mc33978-pinctrl.yaml
create mode 100644 drivers/hwmon/mc33978-hwmon.c
create mode 100644 drivers/mfd/mc33978.c
create mode 100644 drivers/mux/mc33978-mux.c
create mode 100644 drivers/pinctrl/pinctrl-mc33978.c
create mode 100644 include/linux/mfd/mc33978.h
[PATCH v3 0/8] mfd: Add support for NXP MC33978/MC34978 MSDI
Posted by Oleksij Rempel 1 month ago
This series adds support for the NXP MC33978/MC34978 Multiple Switch Detection
Interface (MSDI) via the MFD framework.

Architecture overview:
* mfd: Core driver handling 2-frame pipelined SPI, regulator sequencing, and
  linear irq_domain. Harvests status bits from SPI MISO MSB.
* pinctrl: Exposes 22 physical switch inputs as standard GPIOs. Proxies IRQs to
  the MFD domain.
* hwmon: Exposes thermal limits, VBATP/VDDQ voltage boundaries, and dynamic
  fault alarms.
* mux: Controls the 24-to-1 AMUX routing analog signals (switch voltages,
  temperature, VBATP) to an external ADC.

Initial pinctrl implementation by David Jander, reworked into this MFD
architecture.

Best regards,
Oleksij

David Jander (1):
  pinctrl: add NXP MC33978/MC34978 pinctrl driver

Oleksij Rempel (6):
  dt-bindings: mfd: add NXP MC33978/MC34978 MSDI
  mfd: add NXP MC33978/MC34978 core driver
  pinctrl: core: Make pin group callbacks optional
  gpio: gpiolib: fix allocation order in hierarchical IRQ domains
  hwmon: add NXP MC33978/MC34978 driver
  mux: add NXP MC33978/MC34978 AMUX driver

 .../devicetree/bindings/mfd/nxp,mc33978.yaml  | 112 +++
 .../bindings/pinctrl/nxp,mc33978-pinctrl.yaml |  82 ++
 drivers/gpio/gpiolib.c                        |  32 +-
 drivers/hwmon/Kconfig                         |  10 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/mc33978-hwmon.c                 | 430 +++++++++
 drivers/mfd/Kconfig                           |  15 +
 drivers/mfd/Makefile                          |   2 +
 drivers/mfd/mc33978.c                         | 870 ++++++++++++++++++
 drivers/mux/Kconfig                           |  14 +
 drivers/mux/Makefile                          |   2 +
 drivers/mux/mc33978-mux.c                     | 119 +++
 drivers/pinctrl/Kconfig                       |  14 +
 drivers/pinctrl/Makefile                      |   1 +
 drivers/pinctrl/core.c                        |  25 +-
 drivers/pinctrl/pinconf.c                     |  18 +-
 drivers/pinctrl/pinctrl-mc33978.c             | 749 +++++++++++++++
 include/linux/mfd/mc33978.h                   |  86 ++
 18 files changed, 2557 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/nxp,mc33978.yaml
 create mode 100644 Documentation/devicetree/bindings/pinctrl/nxp,mc33978-pinctrl.yaml
 create mode 100644 drivers/hwmon/mc33978-hwmon.c
 create mode 100644 drivers/mfd/mc33978.c
 create mode 100644 drivers/mux/mc33978-mux.c
 create mode 100644 drivers/pinctrl/pinctrl-mc33978.c
 create mode 100644 include/linux/mfd/mc33978.h

--
2.47.3
Re: (subset) [PATCH v3 0/8] mfd: Add support for NXP MC33978/MC34978 MSDI
Posted by Bartosz Golaszewski 4 weeks ago
On Mon, 09 Mar 2026 14:49:11 +0100, Oleksij Rempel wrote:
> This series adds support for the NXP MC33978/MC34978 Multiple Switch Detection
> Interface (MSDI) via the MFD framework.
> 
> Architecture overview:
> * mfd: Core driver handling 2-frame pipelined SPI, regulator sequencing, and
>   linear irq_domain. Harvests status bits from SPI MISO MSB.
> * pinctrl: Exposes 22 physical switch inputs as standard GPIOs. Proxies IRQs to
>   the MFD domain.
> * hwmon: Exposes thermal limits, VBATP/VDDQ voltage boundaries, and dynamic
>   fault alarms.
> * mux: Controls the 24-to-1 AMUX routing analog signals (switch voltages,
>   temperature, VBATP) to an external ADC.
> 
> [...]

Applied, thanks!

[4/7] gpio: gpiolib: fix allocation order in hierarchical IRQ domains
      https://git.kernel.org/brgl/c/a23463beb3d52815e5f8e61998f5c94f13274544

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>