2022-11-15 15:33:37

by Cosmin Tanislav

[permalink] [raw]
Subject: [PATCH] dt-bindings: iio: temperature: ltc2983: drop $ref for -nanoamp properties

Currently there are -nanoamp properties both with and without a $ref.
dt-schema has been modified to handle it as a standard unit, but the
change has been reverted since there were still occurrences of
-nanoamp properties with a $ref.
Remove this since it's the only occurrence left.

Signed-off-by: Cosmin Tanislav <[email protected]>
---
.../devicetree/bindings/iio/temperature/adi,ltc2983.yaml | 1 -
1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
index 44f8b0672f53..b69813f281da 100644
--- a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
+++ b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
@@ -325,7 +325,6 @@ patternProperties:
description:
Excitation current applied to the thermistor.
0 sets the sensor in auto-range mode.
- $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000,
500000, 1000000]
default: 0
--
2.38.1



2022-11-15 15:49:12

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: iio: temperature: ltc2983: drop $ref for -nanoamp properties

On 15/11/2022 16:16, Cosmin Tanislav wrote:
> Currently there are -nanoamp properties both with and without a $ref.
> dt-schema has been modified to handle it as a standard unit, but the
> change has been reverted since there were still occurrences of
> -nanoamp properties with a $ref.
> Remove this since it's the only occurrence left.
>
> Signed-off-by: Cosmin Tanislav <[email protected]>


Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof


2022-11-23 21:28:01

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: iio: temperature: ltc2983: drop $ref for -nanoamp properties

On Tue, 15 Nov 2022 16:21:13 +0100
Krzysztof Kozlowski <[email protected]> wrote:

> On 15/11/2022 16:16, Cosmin Tanislav wrote:
> > Currently there are -nanoamp properties both with and without a $ref.
> > dt-schema has been modified to handle it as a standard unit, but the
> > change has been reverted since there were still occurrences of
> > -nanoamp properties with a $ref.
> > Remove this since it's the only occurrence left.
> >
> > Signed-off-by: Cosmin Tanislav <[email protected]>
>
>
> Reviewed-by: Krzysztof Kozlowski <[email protected]>
>
> Best regards,
> Krzysztof

Applied
>