[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240224160550.03f7138a@jic23-huawei>
Date: Sat, 24 Feb 2024 16:05:50 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Marco Felsch <m.felsch@...gutronix.de>
Cc: puranjay12@...il.com, lars@...afoo.de, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH v2 1/2] dt-bindings: iio: ti,tmp117: add vcc supply
binding
On Mon, 19 Feb 2024 14:11:13 +0100
Marco Felsch <m.felsch@...gutronix.de> wrote:
> From: Thomas Haemmerle <thomas.haemmerle@...ca-geosystems.com>
>
> Add the binding to specify the vcc supply. We can't make it required
> since this would break the backward compatibility.
>
> Reviewed-by: Conor Dooley <conor.dooley@...rochip.com>
> Signed-off-by: Thomas Haemmerle <thomas.haemmerle@...ca-geosystems.com>
> Signed-off-by: Marco Felsch <m.felsch@...gutronix.de>
Series applied to the togreg branch of iio.git and pushed out as testing
for 0-day to see if it can find anything we missed.
Jonathan
> ---
> v2:
> - mark vcc-supply as required
>
> .../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
> index 8c6d7735e875..33f2e9c5bd81 100644
> --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
> +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
> @@ -24,9 +24,13 @@ properties:
> reg:
> maxItems: 1
>
> + vcc-supply:
> + description: provide VCC power to the sensor.
> +
> required:
> - compatible
> - reg
> + - vcc-supply
>
> additionalProperties: false
>
> @@ -39,5 +43,6 @@ examples:
> tmp117@48 {
> compatible = "ti,tmp117";
> reg = <0x48>;
> + vcc-supply = <&pmic_reg_3v3>;
> };
> };
Powered by blists - more mailing lists