LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Emil Renner Berthing <kernel@esmil.dk>
To: Lee Jones <lee.jones@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Emil Renner Berthing <kernel@esmil.dk>,
	devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 4/4] mfd: tps65086: Add cell entry for reset driver
Date: Tue, 27 Jul 2021 11:25:54 +0200	[thread overview]
Message-ID: <20210727092554.1059305-5-kernel@esmil.dk> (raw)
In-Reply-To: <20210727092554.1059305-1-kernel@esmil.dk>

The only way to reset the BeagleV Starlight v0.9 board[1] properly is to
tell the PMIC to reset itself which will then assert the external reset
lines of the SoC, USB hub and ethernet phy.

This adds an mfd cell entry for the reset driver doing just that.

[1] https://github.com/beagleboard/beaglev-starlight

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
---
 drivers/mfd/tps65086.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/tps65086.c b/drivers/mfd/tps65086.c
index cc3478ee9a64..3bd5728844a0 100644
--- a/drivers/mfd/tps65086.c
+++ b/drivers/mfd/tps65086.c
@@ -24,6 +24,7 @@
 static const struct mfd_cell tps65086_cells[] = {
 	{ .name = "tps65086-regulator", },
 	{ .name = "tps65086-gpio", },
+	{ .name = "tps65086-reset", },
 };
 
 static const struct regmap_range tps65086_yes_ranges[] = {
-- 
2.32.0


  parent reply	other threads:[~2021-07-27  9:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27  9:25 [PATCH v2 0/4] BeagleV Starlight reset support Emil Renner Berthing
2021-07-27  9:25 ` [PATCH v2 1/4] dt-bindings: mfd: convert tps65086.txt to YAML Emil Renner Berthing
2021-08-02 19:43   ` Rob Herring
2021-08-16 12:40   ` Lee Jones
2021-07-27  9:25 ` [PATCH v2 2/4] mfd: tps65086: Make interrupt line optional Emil Renner Berthing
2021-08-16 12:40   ` Lee Jones
2021-07-27  9:25 ` [PATCH v2 3/4] power: reset: Add TPS65086 restart driver Emil Renner Berthing
2021-08-16 13:13   ` Sebastian Reichel
2021-07-27  9:25 ` Emil Renner Berthing [this message]
2021-08-16 12:41   ` [PATCH v2 4/4] mfd: tps65086: Add cell entry for reset driver Lee Jones

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=20210727092554.1059305-5-kernel@esmil.dk \
    --to=kernel@esmil.dk \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --subject='Re: [PATCH v2 4/4] mfd: tps65086: Add cell entry for reset driver' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).