[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250422132602.GA1092156-robh@kernel.org>
Date: Tue, 22 Apr 2025 08:26:02 -0500
From: Rob Herring <robh@...nel.org>
To: Peter Korsgaard <peter@...sgaard.com>
Cc: Jean Delvare <jdelvare@...e.com>, Guenter Roeck <linux@...ck-us.net>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>, linux-hwmon@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] dt-bindings: hwmon: ti,tmp102: document optional V+
supply property
On Thu, Apr 17, 2025 at 08:04:25PM +0200, Peter Korsgaard wrote:
> TMP102 is powered by its V+ supply, document it. The property is called
> "vcc-supply" since the plus sign (+) is not a valid property character.
Wouldn't "vplus-supply" or "vp-supply" work?
>
> Signed-off-by: Peter Korsgaard <peter@...sgaard.com>
> ---
> Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
> index 7e5b62a0215dd..4c89448eba0dc 100644
> --- a/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp102.yaml
> @@ -23,6 +23,9 @@ properties:
> "#thermal-sensor-cells":
> const: 1
>
> + vcc-supply:
> + description: Power supply for tmp102
> +
> required:
> - compatible
> - reg
> @@ -42,6 +45,7 @@ examples:
> reg = <0x48>;
> interrupt-parent = <&gpio7>;
> interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
> + vcc-supply = <&supply>;
> #thermal-sensor-cells = <1>;
> };
> };
> --
> 2.39.5
>
Powered by blists - more mailing lists