* [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property
@ 2022-06-06 21:22 Rob Herring
2022-06-07 11:04 ` Krzysztof Kozlowski
2022-06-07 12:42 ` Guenter Roeck
0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2022-06-06 21:22 UTC (permalink / raw)
To: Guenter Roeck, Jean Delvare, Krzysztof Kozlowski, Camel Guo
Cc: Krzysztof Kozlowski, linux-hwmon, devicetree, linux-kernel
'ti,n-factor' is a scalar type, so 'items' should not be used as that is
for arrays/matrix.
A pending meta-schema change will catch future cases.
Fixes: bd90c5b93950 ("dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x")
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
index fe0ac08faa1a..0e8ddf0ad789 100644
--- a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
+++ b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
@@ -40,9 +40,8 @@ properties:
value to be used for converting remote channel measurements to
temperature.
$ref: /schemas/types.yaml#/definitions/int32
- items:
- minimum: -128
- maximum: 127
+ minimum: -128
+ maximum: 127
ti,beta-compensation:
description:
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property
2022-06-06 21:22 [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property Rob Herring
@ 2022-06-07 11:04 ` Krzysztof Kozlowski
2022-06-07 12:42 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-07 11:04 UTC (permalink / raw)
To: Rob Herring, Guenter Roeck, Jean Delvare, Krzysztof Kozlowski, Camel Guo
Cc: linux-hwmon, devicetree, linux-kernel
On 06/06/2022 23:22, Rob Herring wrote:
> 'ti,n-factor' is a scalar type, so 'items' should not be used as that is
> for arrays/matrix.
>
> A pending meta-schema change will catch future cases.
>
> Fixes: bd90c5b93950 ("dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x")
> Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property
2022-06-06 21:22 [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property Rob Herring
2022-06-07 11:04 ` Krzysztof Kozlowski
@ 2022-06-07 12:42 ` Guenter Roeck
1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2022-06-07 12:42 UTC (permalink / raw)
To: Rob Herring
Cc: Jean Delvare, Krzysztof Kozlowski, Camel Guo,
Krzysztof Kozlowski, linux-hwmon, devicetree, linux-kernel
On Mon, Jun 06, 2022 at 04:22:22PM -0500, Rob Herring wrote:
> 'ti,n-factor' is a scalar type, so 'items' should not be used as that is
> for arrays/matrix.
>
> A pending meta-schema change will catch future cases.
>
> Fixes: bd90c5b93950 ("dt-bindings: hwmon: Add TMP401, TMP411 and TMP43x")
> Signed-off-by: Rob Herring <robh@kernel.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Applied.
Thanks,
Guenter
> ---
> Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
> index fe0ac08faa1a..0e8ddf0ad789 100644
> --- a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml
> @@ -40,9 +40,8 @@ properties:
> value to be used for converting remote channel measurements to
> temperature.
> $ref: /schemas/types.yaml#/definitions/int32
> - items:
> - minimum: -128
> - maximum: 127
> + minimum: -128
> + maximum: 127
>
> ti,beta-compensation:
> description:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-07 12:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 21:22 [PATCH] dt-bindings: hwmon: ti,tmp401: Drop 'items' from 'ti,n-factor' property Rob Herring
2022-06-07 11:04 ` Krzysztof Kozlowski
2022-06-07 12:42 ` Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.