From: Krzysztof Kozlowski <krzk@kernel.org>
To: jeff_chang@richtek.com, lgirdwood@gmail.com, broonie@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: rt5133: Add RT5133 PMIC regulator Support
Date: Thu, 17 Jul 2025 16:41:07 +0200 [thread overview]
Message-ID: <1dd13d22-b8c5-42af-8584-f123bd43db6c@kernel.org> (raw)
In-Reply-To: <20250717081623.2674579-1-jeff_chang@richtek.com>
On 17/07/2025 10:16, jeff_chang@richtek.com wrote:
> From: Jeff Chang <jeff_chang@richtek.com>
>
> RT5133 is an intefrated chip. It includes 8 LDOs and 3 GPOs that
> can be used to drive output high/low purpose. The dependency of the
> GPO block is internally LDO1 Voltage. If LDO1 voltage output disabled,
> GPO cannot be used to drive output high. It need to pay more attention
> on the usage.
>
> Signed-off-by: Jeff Chang <jeff_chang@richtek.com>
> ---
> .../bindings/regulator/richtek,rt5133.yaml | 164 +++++
Please run scripts/checkpatch.pl on the patches and fix reported
warnings. After that, run also 'scripts/checkpatch.pl --strict' on the
patches and (probably) fix more warnings. Some warnings can be ignored,
especially from --strict run, but the code here looks like it needs a
fix. Feel free to get in touch if the warning is not clear.
<form letter>
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about `b4 prep --auto-to-cc` if you added new
patches to the patchset.
You missed at least devicetree list (maybe more), so this won't be
tested by automated tooling. Performing review on untested code might be
a waste of time.
Please kindly resend and include all necessary To/Cc entries.
</form letter>
...
> +
> +static const struct of_device_id __maybe_unused rt5133_ofid_tbls[] = {
> + { .compatible = "richtek,rt5133", },
> + { }
> +};
> +MODULE_DEVICE_TABLE(of, rt5133_ofid_tbls);
> +
> +static struct i2c_driver rt5133_driver = {
> + .driver = {
> + .name = "rt5133",
> + .owner = THIS_MODULE,
That's old template (like 12 yo one) you are using.
Maybe below will be helpful to find more of such artifacts:
Please run standard kernel tools for static analysis, like coccinelle,
smatch and sparse, and fix reported warnings. Also please check for
warnings when building with W=1. Most of these commands (checks or W=1
build) can build specific targets, like some directory, to narrow the
scope to only your code. The code here looks like it needs a fix. Feel
free to get in touch if the warning is not clear.
Best regards,
Krzysztof
prev parent reply other threads:[~2025-07-17 14:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-17 8:16 jeff_chang
2025-07-17 11:17 ` Mark Brown
2025-07-17 14:41 ` Krzysztof Kozlowski [this message]
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=1dd13d22-b8c5-42af-8584-f123bd43db6c@kernel.org \
--to=krzk@kernel.org \
--cc=broonie@kernel.org \
--cc=jeff_chang@richtek.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.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®