[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260128-amperage-handstand-36fa4b3ec447@spud>
Date: Wed, 28 Jan 2026 17:51:13 +0000
From: Conor Dooley <conor@...nel.org>
To: hehuan1@...incomputing.com
Cc: linux@...ck-us.net, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, p.zabel@...gutronix.de,
linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, ningyu@...incomputing.com,
linmin@...incomputing.com, pinkesh.vaghela@...fochips.com,
luyulin@...incomputing.com
Subject: Re: [PATCH v2 1/2] dt-bindings: hwmon: Add Eswin EIC7700 PVT sensor
On Wed, Jan 28, 2026 at 06:16:36PM +0800, hehuan1@...incomputing.com wrote:
> From: Huan He <hehuan1@...incomputing.com>
>
> Add device tree binding documentation for ESWIN EIC7700 Process, Voltage
> and Temperature sensor.
>
> The EIC7700 SoC integrates two PVT instances for monitoring SoC and DDR
> power domains respectively.
>
> Signed-off-by: Yulin Lu <luyulin@...incomputing.com>
> Signed-off-by: Huan He <hehuan1@...incomputing.com>
> ---
> .../bindings/hwmon/eswin,eic7700-pvt.yaml | 70 +++++++++++++++++++
> 1 file changed, 70 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml b/Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml
> new file mode 100644
> index 000000000000..f4ba228924fe
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/eswin,eic7700-pvt.yaml
> @@ -0,0 +1,70 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/eswin,eic7700-pvt.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ESWIN EIC7700 PVT Sensor
> +
> +maintainers:
> + - Yulin Lu <luyulin@...incomputing.com>
> + - Huan He <hehuan1@...incomputing.com>
> +
> +description:
> + ESWIN EIC7700 SoC integrates embedded process, voltage and temperature
> + sensors to monitor the internal SoC environment. The system includes two
> + PVT sensor instances. The PVT0 monitors the main SoC power domain. The
> + PVT1 sensor monitors the DDR core power domain.
> +
> +allOf:
> + - $ref: /schemas/hwmon/hwmon-common.yaml#
FYI, including this is kinda pointless because you have the label
property defined below and your "additionalProperties: false" blocks
shunt-resistor-micro-ohms from being used.
> +
> +properties:
> + compatible:
> + const: eswin,eic7700-pvt
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + label:
> + description:
> + Human readable identifier used to distinguish between different PVT
> + instances. Typically "pvt0" for SoC PVT sensor and "pvt1" for DDR
> + core PVT sensor.
> +
> + resets:
> + maxItems: 1
> +
> + '#thermal-sensor-cells':
> + description: Thermal sensor cells if used for thermal sensoring.
You can drop this description if there's a resend, common properties
used in the obvious way don't need any more info.
Reviewed-by: Conor Dooley <conor.dooley@...rochip.com>
pw-bot: not-applicable
Cheers,
Conor.
> + const: 0
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - interrupts
> + - label
> + - resets
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + pvt@...00000 {
> + compatible = "eswin,eic7700-pvt";
> + reg = <0x50b00000 0x10000>;
> + clocks = <&clocks 244>;
> + interrupts = <349>;
> + interrupt-parent = <&plic>;
> + label = "pvt0";
> + resets = <&reset 111>;
> + #thermal-sensor-cells = <0>;
> + };
> +...
> --
> 2.25.1
>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists