From: Philipp Zabel <p.zabel@pengutronix.de>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Banajit Goswami <bgoswami@quicinc.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Bartosz Golaszewski <brgl@bgdev.pl>,
Sean Anderson <sean.anderson@seco.com>
Subject: Re: [PATCH v2 1/4] reset: gpio: Add GPIO-based reset controller
Date: Mon, 08 Jan 2024 13:21:33 +0100 [thread overview]
Message-ID: <eb41618782e1cd80d469a65bcdbf640ebbfb4f5c.camel@pengutronix.de> (raw)
In-Reply-To: <20240105155918.279657-2-krzysztof.kozlowski@linaro.org>
On Fr, 2024-01-05 at 16:59 +0100, Krzysztof Kozlowski wrote:
> Add a simple driver to control GPIO-based resets using the reset
> controller API for the cases when the GPIOs are shared and reset should
> be coordinated. The driver is expected to be used by reset core
> framework for ad-hoc reset controllers.
I don't know how evil it is to set a parent-less platform device's
of_node to another device's node, but I like the simplicity of a
single-GPIO reset controller driver more that I had expected.
[...]
> diff --git a/drivers/reset/reset-gpio.c b/drivers/reset/reset-gpio.c
> new file mode 100644
> index 000000000000..cf0a867cbc5f
> --- /dev/null
> +++ b/drivers/reset/reset-gpio.c
> @@ -0,0 +1,121 @@
[...]
> +static void reset_gpio_of_args_put(void *data)
This should probably be called reset_gpio_of_node_put().
> +{
> + of_node_put(data);
> +}
[...]
regards
Philipp
next prev parent reply other threads:[~2024-01-08 12:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-05 15:59 [PATCH v2 0/4] reset: gpio: ASoC: shared GPIO resets Krzysztof Kozlowski
2024-01-05 15:59 ` [PATCH v2 1/4] reset: gpio: Add GPIO-based reset controller Krzysztof Kozlowski
2024-01-05 16:39 ` Biju Das
2024-01-06 15:28 ` Krzysztof Kozlowski
2024-01-07 10:46 ` Biju Das
2024-01-07 11:56 ` Krzysztof Kozlowski
2024-01-08 12:21 ` Philipp Zabel [this message]
2024-01-09 11:00 ` Krzysztof Kozlowski
2024-01-05 15:59 ` [PATCH v2 2/4] reset: Instantiate reset GPIO controller for shared reset-gpios Krzysztof Kozlowski
2024-01-08 12:17 ` Philipp Zabel
2024-01-09 10:59 ` Krzysztof Kozlowski
2024-01-09 11:58 ` Philipp Zabel
2024-01-11 9:48 ` Krzysztof Kozlowski
2024-01-05 15:59 ` [PATCH v2 3/4] ASoC: dt-bindings: qcom,wsa8840: Add reset-gpios for shared line Krzysztof Kozlowski
2024-01-05 15:59 ` [PATCH v2 4/4] ASoC: codecs: wsa884x: Allow sharing reset GPIO Krzysztof Kozlowski
[not found] ` <d86f0d2c-40fc-44d2-94f6-e67068e55594@alliedtelesis.co.nz>
2024-01-08 9:44 ` [PATCH v2 0/4] reset: gpio: ASoC: shared GPIO resets Krzysztof Kozlowski
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=eb41618782e1cd80d469a65bcdbf640ebbfb4f5c.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=alsa-devel@alsa-project.org \
--cc=andersson@kernel.org \
--cc=bgoswami@quicinc.com \
--cc=brgl@bgdev.pl \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=sean.anderson@seco.com \
--cc=srinivas.kandagatla@linaro.org \
--cc=tiwai@suse.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 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).