Devicetree
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Emanuele Ghidoli <ghidoliemanuele@gmail.com>,
	Francesco Dolcini <francesco@dolcini.it>,
	Sebastian Reichel <sre@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Francesco Dolcini <francesco.dolcini@toradex.com>,
	Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/2] power: reset: Add Toradex Embedded Controller
Date: Mon,  7 Apr 2025 13:49:45 +0200	[thread overview]
Message-ID: <20250407114947.41421-1-francesco@dolcini.it> (raw)

From: Francesco Dolcini <francesco.dolcini@toradex.com>

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@dolcini.it/, 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.

Emanuele Ghidoli (2):
  dt-bindings: firmware: 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


             reply	other threads:[~2025-04-07 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 11:49 Francesco Dolcini [this message]
2025-04-07 11:49 ` [PATCH v1 1/2] dt-bindings: firmware: add toradex,smarc-ec Francesco Dolcini
2025-04-07 16:12   ` Conor Dooley
2025-04-07 16:14   ` Conor Dooley
2025-04-07 11:49 ` [PATCH v1 2/2] power: reset: add Toradex Embedded Controller Francesco Dolcini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250407114947.41421-1-francesco@dolcini.it \
    --to=francesco@dolcini.it \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=emanuele.ghidoli@toradex.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=ghidoliemanuele@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox