[RFC PATCH v1 0/2] platform: toradex: Add toradex embedded controller
From: Francesco Dolcini
Date: Thu Mar 13 2025 - 10:50:44 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, with more to come in the future.
The EC provides board power-off, reset and GPIO expander functionalities.
Sending it as an RFC to gather initial feedback on it before investing more
time in testing and adding the remaining functionalities, with that said both
the code and the binding are in condition to be wholly reviewed.
Emanuele Ghidoli (2):
dt-bindings: firmware: add toradex,embedded-controller
platform: toradex: add preliminary support for Embedded Controller
.../firmware/toradex,embedded-controller.yaml | 44 +++++
MAINTAINERS | 7 +
drivers/platform/Kconfig | 2 +
drivers/platform/Makefile | 1 +
drivers/platform/toradex/Kconfig | 18 ++
drivers/platform/toradex/Makefile | 1 +
drivers/platform/toradex/toradex-ec.c | 155 ++++++++++++++++++
7 files changed, 228 insertions(+)
create mode 100644 Documentation/devicetree/bindings/firmware/toradex,embedded-controller.yaml
create mode 100644 drivers/platform/toradex/Kconfig
create mode 100644 drivers/platform/toradex/Makefile
create mode 100644 drivers/platform/toradex/toradex-ec.c
--
2.39.5