[PATCH v2 1/2] dt-bindings: iio: adc: Add binding for Nuvoton NCT720x ADCs
Krzysztof Kozlowski
krzk at kernel.org
Tue Dec 3 20:25:16 AEDT 2024
On 03/12/2024 10:15, Eason Yang wrote:
> This adds a binding specification for the Nuvoton NCT7201/NCT7202
Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95
A nit, subject: drop second/last, redundant "bindings". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
>
> Signed-off-by: Eason Yang <j2anfernee at gmail.com>
> ---
> .../bindings/iio/adc/nuvoton,nct720x.yaml | 40 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 41 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/adc/nuvoton,nct720x.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/nuvoton,nct720x.yaml b/Documentation/devicetree/bindings/iio/adc/nuvoton,nct720x.yaml
> new file mode 100644
> index 000000000000..2ed1e15b953b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/nuvoton,nct720x.yaml
> @@ -0,0 +1,40 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/adc/nuvoton,nct720x.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Nuvoton nct7202 and similar ADCs
> +
> +maintainers:
> + - Eason Yang <j2anfernee at gmail.com>
> +
> +description: |
> + Family of ADCs with i2c interface.
> +
> +properties:
> + compatible:
> + enum:
> + - nuvoton,nct7201
> + - nuvoton,nct7202
> +
> + reg:
> + maxItems: 1
No other properties? No resources?
I think you skipped quite a lot from previous review.
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + nct7202 at 1d {
Nothing improved here.
<form letter>
This is a friendly reminder during the review process.
It seems my or other reviewer's previous comments were not fully
addressed. Maybe the feedback got lost between the quotes, maybe you
just forgot to apply it. Please go back to the previous discussion and
either implement all requested changes or keep discussing them.
Thank you.
</form letter>
Best regards,
Krzysztof
More information about the openbmc
mailing list