From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Fabio Estevam <festevam@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
NXP Linux Team <linux-imx@nxp.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH 3/8] AMR: dts: imx28-m28evk: populate fixed regulators
Date: Wed, 26 Jul 2023 15:15:30 +0200 [thread overview]
Message-ID: <453c362a-c9bf-1cd4-187c-8916ed406c64@linaro.org> (raw)
In-Reply-To: <CAOMZO5C1JN7w+LhK-J0_ttKVopyeRq6VmCpAHujN_tGPMobotA@mail.gmail.com>
On 26/07/2023 15:08, Fabio Estevam wrote:
> Patches 1, 2, 3, and 4 have a typo in the Subject: s/AMR/ARM.
>
> On Wed, Jul 26, 2023 at 4:03 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
>>
>> Fixed regulators put under "regulators" node will not be populated,
>> unless simple-bus or something similar is used. Drop the "regulators"
>> wrapper node to fix this.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>> arch/arm/boot/dts/nxp/mxs/imx28-m28evk.dts | 45 ++++++++++------------
>> 1 file changed, 20 insertions(+), 25 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-m28evk.dts b/arch/arm/boot/dts/nxp/mxs/imx28-m28evk.dts
>> index e350d57a4cec..6bf26f386a5e 100644
>> --- a/arch/arm/boot/dts/nxp/mxs/imx28-m28evk.dts
>> +++ b/arch/arm/boot/dts/nxp/mxs/imx28-m28evk.dts
>> @@ -18,33 +18,28 @@ backlight {
>> default-brightness-level = <6>;
>> };
>>
>> - regulators {
>> - reg_vddio_sd0: regulator@1 {
>> - compatible = "regulator-fixed";
>> - reg = <1>;
>> - regulator-name = "vddio-sd0";
>> - regulator-min-microvolt = <3300000>;
>> - regulator-max-microvolt = <3300000>;
>> - gpio = <&gpio3 28 0>;
>> - };
>> + reg_vddio_sd0: regulator-1 {
>
> It should be better to write:
>
> reg_vddio_sd0: regulator-vddio-sd0 {
>
> regulator-1 is not very descriptive.
Node names should be generic, not descriptive. These are old sources, so
they do not use fully override-by-phandle/label style, thus with
existing naming I reduce the chances of wrong overrides in some other
board or DTSI.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-07-26 13:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 7:03 [PATCH 1/8] AMR: dts: imx6sx-nitrogen6sx: drop incorrect regulator clock-names Krzysztof Kozlowski
2023-07-26 7:03 ` [PATCH 2/8] AMR: dts: imx6ull-colibri: drop incorrect regulator regulator-type Krzysztof Kozlowski
2023-07-26 7:03 ` [PATCH 3/8] AMR: dts: imx28-m28evk: populate fixed regulators Krzysztof Kozlowski
2023-07-26 13:08 ` Fabio Estevam
2023-07-26 13:15 ` Krzysztof Kozlowski [this message]
2023-07-26 7:03 ` [PATCH 4/8] AMR: dts: imx50-kobo-aura: switch to enable-gpios Krzysztof Kozlowski
2023-07-26 7:03 ` [PATCH 5/8] ARM: dts: imx23: drop incorrect reg in fixed regulators Krzysztof Kozlowski
2023-07-26 7:03 ` [PATCH 6/8] ARM: dts: imx25: " Krzysztof Kozlowski
2023-07-26 7:03 ` [PATCH 7/8] ARM: dts: imx27: " Krzysztof Kozlowski
2023-07-26 7:03 ` [PATCH 8/8] ARM: dts: imx28: " Krzysztof Kozlowski
2023-07-30 13:44 ` [PATCH 1/8] AMR: dts: imx6sx-nitrogen6sx: drop incorrect regulator clock-names Shawn Guo
2023-07-30 17:47 ` 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=453c362a-c9bf-1cd4-187c-8916ed406c64@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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
all inboxes | Powered by JetHome®