From: Krzysztof Kozlowski <krzk@kernel.org>
To: Fabrizio Lamarque <fl.scratchpad@gmail.com>, linux-iio@vger.kernel.org
Cc: "Nuno Sá" <noname.nuno@gmail.com>, "Jonathan Cameron" <jic23@kernel.org>
Subject: Re: [PATCH 3/3] iio: adc: ad7192: Clarify binding documentation
Date: Thu, 13 Apr 2023 16:21:33 +0200 [thread overview]
Message-ID: <0e86cb99-dfea-5a89-3301-894a90f0964a@kernel.org> (raw)
In-Reply-To: <CAPJMGm7mgSi4-Td+8XMqBWLj_tiSVrbxVP7WYbhZnL+_8jJhng@mail.gmail.com>
On 13/04/2023 10:36, Fabrizio Lamarque wrote:
> Added undocumented properties:
Use imperative.
https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95
>
> - adi,clock-xtal
> - adi,int-clock-output-enable
>
> Removed clocks from required properties.
Why?
> Renamed avdd-supply to vreg-supply, while keeping backward compatibility
> (deprecated avdd-supply).
Why?
Use subject prefixes matching the subsystem (which you can get for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching).
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.
You decided to ignore quite a lot of entries, but most important - also
lists, so it won't even be tested.
>
> Signed-off-by: Fabrizio Lamarque <fl.scratchpad@gmail.com>
> ---
> .../bindings/iio/adc/adi,ad7192.yaml | 28 +++++++++++++++----
Bindings are always separate patches.
> drivers/iio/adc/ad7192.c | 18 ++++++------
> 2 files changed, 32 insertions(+), 14 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> index d521d516088b..5dc7a7eea5f9 100644
> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml
> @@ -32,7 +32,9 @@ properties:
>
> clocks:
> maxItems: 1
> - description: phandle to the master clock (mclk)
> + description: |
> + phandle to the external master clock (mclk). If not defined, internal
> + clock is selected.
>
> clock-names:
> items:
> @@ -45,7 +47,23 @@ properties:
> description: DVdd voltage supply
>
> avdd-supply:
> - description: AVdd voltage supply
> + description: Phandle to reference voltage regulator. Use
> vref-supply instead.
Corrupted patch.
Run checkpatch, test your patches with dt_binding_check. This really
needs a lot of work.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-04-13 14:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 8:26 [PATCH v2 0/3] iio: adc: ad7192: Functional fixes Fabrizio Lamarque
2023-04-13 8:28 ` [PATCH v2 1/3] iio: adc: ad7192: Fix null pointer dereference on probe Fabrizio Lamarque
2023-04-13 8:33 ` [PATCH 2/3] iio: adc: ad7192: Fix internal/external clock selection Fabrizio Lamarque
2023-04-13 8:36 ` [PATCH 3/3] iio: adc: ad7192: Clarify binding documentation Fabrizio Lamarque
2023-04-13 10:15 ` Nuno Sá
2023-04-13 10:47 ` Fabrizio Lamarque
2023-04-13 11:23 ` Nuno Sá
2023-04-13 14:21 ` Krzysztof Kozlowski [this message]
2023-04-13 16:07 ` Fabrizio Lamarque
2023-04-13 16:35 ` Krzysztof Kozlowski
2023-04-13 18:19 ` Fabrizio Lamarque
2023-04-14 9:18 ` Krzysztof Kozlowski
2023-04-14 10:42 ` Fabrizio Lamarque
2023-04-15 16:38 ` Jonathan Cameron
2023-04-26 10:45 ` Fabrizio Lamarque
2023-05-01 16:03 ` Jonathan Cameron
2023-04-13 10:04 ` [PATCH 2/3] iio: adc: ad7192: Fix internal/external clock selection Nuno Sá
2023-04-15 16:39 ` Jonathan Cameron
2023-04-13 10:03 ` [PATCH v2 1/3] iio: adc: ad7192: Fix null pointer dereference on probe Nuno Sá
2023-04-15 16:41 ` Jonathan Cameron
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=0e86cb99-dfea-5a89-3301-894a90f0964a@kernel.org \
--to=krzk@kernel.org \
--cc=fl.scratchpad@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=noname.nuno@gmail.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