dt-bindings: iio: temperature: ltc2983: drop $ref for -nanoamp properties

Message ID 20221115151653.393559-1-cosmin.tanislav@analog.com
State New
Headers
Series dt-bindings: iio: temperature: ltc2983: drop $ref for -nanoamp properties |

Commit Message

Cosmin Tanislav Nov. 15, 2022, 3:16 p.m. UTC
  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 <cosmin.tanislav@analog.com>
---
 .../devicetree/bindings/iio/temperature/adi,ltc2983.yaml         | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Jonathan Cameron Nov. 23, 2022, 9:03 p.m. UTC | #1
On Tue, 15 Nov 2022 16:21:13 +0100
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 <cosmin.tanislav@analog.com>  
> 
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Best regards,
> Krzysztof

Applied
>
  

Patch

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