All of lore.kernel.org
 help / color / mirror / Atom feed
From: "thermal-bot for Johan Jonker" <tip-bot2@linutronix.de>
To: linux-pm@vger.kernel.org
Cc: Johan Jonker <jbx6244@gmail.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	rui.zhang@intel.com, amitk@kernel.org
Subject: [thermal: thermal/next] thermal/drivers/rockchip_thermal: Allow more resets for tsadc node
Date: Mon, 18 Oct 2021 11:45:51 -0000	[thread overview]
Message-ID: <163455755179.25758.6510823420851766419.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20210930110517.14323-3-jbx6244@gmail.com>

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     02832ed8ae2c8b130efea4e43d3ecac50b4b7933
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//02832ed8ae2c8b130efea4e43d3ecac50b4b7933
Author:        Johan Jonker <jbx6244@gmail.com>
AuthorDate:    Thu, 30 Sep 2021 13:05:16 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Sun, 17 Oct 2021 00:15:09 +02:00

thermal/drivers/rockchip_thermal: Allow more resets for tsadc node

The tsadc node in rk356x.dtsi has more resets then currently supported
by the rockchip_thermal.c driver, so use
devm_reset_control_array_get() to reset them all.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20210930110517.14323-3-jbx6244@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/thermal/rockchip_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c
index 657d84b..dc3a9c2 100644
--- a/drivers/thermal/rockchip_thermal.c
+++ b/drivers/thermal/rockchip_thermal.c
@@ -1383,7 +1383,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev)
 	if (IS_ERR(thermal->regs))
 		return PTR_ERR(thermal->regs);
 
-	thermal->reset = devm_reset_control_get(&pdev->dev, "tsadc-apb");
+	thermal->reset = devm_reset_control_array_get(&pdev->dev, false, false);
 	if (IS_ERR(thermal->reset)) {
 		error = PTR_ERR(thermal->reset);
 		dev_err(&pdev->dev, "failed to get tsadc reset: %d\n", error);

  reply	other threads:[~2021-10-18 11:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 11:05 [PATCH v2 1/4] dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml Johan Jonker
2021-09-30 11:05 ` Johan Jonker
2021-09-30 11:05 ` Johan Jonker
2021-09-30 11:05 ` [PATCH v2 2/4] dt-bindings: thermal: remove redundant comments from rockchip-thermal.yaml Johan Jonker
2021-09-30 11:05   ` Johan Jonker
2021-09-30 11:05   ` Johan Jonker
2021-10-18 11:45   ` [thermal: thermal/next] " thermal-bot for Johan Jonker
2021-09-30 11:05 ` [PATCH v2 3/4] thermal: rockchip_thermal: allow more resets for tsadc node Johan Jonker
2021-09-30 11:05   ` Johan Jonker
2021-09-30 11:05   ` Johan Jonker
2021-10-18 11:45   ` thermal-bot for Johan Jonker [this message]
2021-09-30 11:05 ` [PATCH v2 4/4] arm64: dts: fix resets in tsadc node for rk356x.dtsi Johan Jonker
2021-09-30 11:05   ` Johan Jonker
2021-09-30 11:05   ` Johan Jonker
2021-10-06 21:13 ` [PATCH v2 1/4] dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml Rob Herring
2021-10-06 21:13   ` Rob Herring
2021-10-06 21:13   ` Rob Herring
2021-10-18 11:45 ` [thermal: thermal/next] " thermal-bot for Johan Jonker
2021-10-18 18:20 ` (subset) [PATCH v2 1/4] " Heiko Stuebner
2021-10-18 18:20   ` Heiko Stuebner
2021-10-18 18:20   ` Heiko Stuebner

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=163455755179.25758.6510823420851766419.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=amitk@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=jbx6244@gmail.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.