From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alina Yu <alina_yu@richtek.com>,
lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
johnny_lai@richtek.com, cy_huang@richtek.com
Subject: Re: [PATCH 1/2] regulator: dt-bindings: rtq2208: Add property to get ldo of RTQ2208 is adjustable or not
Date: Mon, 29 Apr 2024 12:37:32 +0200 [thread overview]
Message-ID: <1b86b755-62cf-4990-9c7c-29444038d17f@linaro.org> (raw)
In-Reply-To: <1714385807-22393-2-git-send-email-alina_yu@richtek.com>
On 29/04/2024 12:16, Alina Yu wrote:
> Since there is no way to check is ldo is adjustable or not.
> 'richtek,use-fix-dvs' is added for that. user is supposed to know whether vout of ldo is adjustable.
1. Please wrap commit message according to Linux coding style /
submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
2. Start sentences with capital letters. LDO is acronym.
3. Constraints already tell you that, don't they? Explain why they are
not enough and you need new property.
>
> Signed-off-by: Alina Yu <alina_yu@richtek.com>
> ---
> .../devicetree/bindings/regulator/richtek,rtq2208.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml
> index 609c066..3951679 100644
> --- a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml
> +++ b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml
> @@ -75,6 +75,14 @@ properties:
> description:
> regulator description for ldo[1-2].
>
> + properties:
> + richtek,use-fix-dvs:
> + type: boolean
> + description: |
> + ldo vout ability is determined by this setting. If it's set, the voltage is unadjustable.
> + There is no risk-free method for software to determine whether the ldo vout is fixed or not.
> + Therefore, it can only be done in this way.
Wrap according to Linux style (as expressed in Linux coding style document).
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-04-29 10:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-29 10:16 [PATCH 0/2] Fix rtq2208 buck ramp_delay and ldo discharge and dvs setting Alina Yu
2024-04-29 10:16 ` [PATCH 1/2] regulator: dt-bindings: rtq2208: Add property to get ldo of RTQ2208 is adjustable or not Alina Yu
2024-04-29 10:37 ` Krzysztof Kozlowski [this message]
2024-04-29 16:09 ` Mark Brown
2024-04-29 10:16 ` [PATCH 2/2] regulator: rtq2208: Fix RTQ2208 buck ramp delay and ldo vout setting and segmentaion fault when devm_of_regulator_put_matches is called Alina Yu
2024-04-29 16:13 ` Mark Brown
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=1b86b755-62cf-4990-9c7c-29444038d17f@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alina_yu@richtek.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cy_huang@richtek.com \
--cc=devicetree@vger.kernel.org \
--cc=johnny_lai@richtek.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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®