Re: [PATCH v4 1/2] dt-bindings: hwmon: Add Eswin EIC7700 PVT sensor
From: Krzysztof Kozlowski
Date: Sun May 03 2026 - 08:04:14 EST
On Thu, Apr 30, 2026 at 02:44:44PM +0800, hehuan1@xxxxxxxxxxxxxxxxxx wrote:
> +
> + label:
> + enum:
> + - pvt0
> + - pvt1
No, label is user-visible name. Can be whatever user decides.
Please read writing bindings - instance IDs are not allowed.
> +
> + resets:
> + maxItems: 1
> +
> + '#thermal-sensor-cells':
> + const: 0
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - interrupts
> + - label
> + - resets
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + pvt@50b00000 {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
If you cannot find a name matching your device, please check in kernel
sources for similar cases or you can grow the spec (via pull request to
DT spec repo).
Best regards,
Krzysztof