[PATCH v2 0/2] power: reset: Add Toradex Embedded Controller
From: Francesco Dolcini
Date: Mon Apr 14 2025 - 13:15:19 EST
From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
This series adds support for the Toradex Embedded Controller, currently used on
Toradex SMARC iMX95 and iMX8MP boards.
The EC provides board power-off, reset and GPIO expander functionalities.
We did send an RFC before,
https://lore.kernel.org/all/20250313144331.70591-1-francesco@xxxxxxxxxx/, with
reference to the discussion about implementing this as a MFD, we decided to
just have a power/reset driver, given we do not see a need to expand the
functionalities we already have.
v2: fix commit message
v1: https://lore.kernel.org/lkml/20250407114947.41421-1-francesco@xxxxxxxxxx/
Emanuele Ghidoli (2):
dt-bindings: power: reset: add toradex,smarc-ec
power: reset: add Toradex Embedded Controller
.../power/reset/toradex,smarc-ec.yaml | 52 ++++++
MAINTAINERS | 7 +
drivers/power/reset/Kconfig | 13 ++
drivers/power/reset/Makefile | 1 +
drivers/power/reset/tdx-ec-poweroff.c | 150 ++++++++++++++++++
5 files changed, 223 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/reset/toradex,smarc-ec.yaml
create mode 100644 drivers/power/reset/tdx-ec-poweroff.c
--
2.39.5