* [PATCH] dt-bindings: thermal: uniphier: Use unevaluatedProperties and common bindings
@ 2022-04-07 7:45 Kunihiko Hayashi
2022-04-13 18:56 ` Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: Kunihiko Hayashi @ 2022-04-07 7:45 UTC (permalink / raw)
To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui,
Rob Herring, Krzysztof Kozlowski
Cc: Masami Hiramatsu, linux-pm, devicetree, linux-arm-kernel,
linux-kernel, Kunihiko Hayashi
This adds common bindings thermal-sensor.yaml and this is preferred for
unevaluatedProperties instead of additionalProperties.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
.../bindings/thermal/socionext,uniphier-thermal.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
index c5b25ce44956..537c93da1397 100644
--- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
@@ -14,6 +14,9 @@ description: |
maintainers:
- Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
+allOf:
+ - $ref: "thermal-sensor.yaml#"
+
properties:
compatible:
enum:
@@ -40,7 +43,7 @@ required:
- interrupts
- "#thermal-sensor-cells"
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: thermal: uniphier: Use unevaluatedProperties and common bindings
2022-04-07 7:45 [PATCH] dt-bindings: thermal: uniphier: Use unevaluatedProperties and common bindings Kunihiko Hayashi
@ 2022-04-13 18:56 ` Rob Herring
2022-04-15 1:15 ` Kunihiko Hayashi
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2022-04-13 18:56 UTC (permalink / raw)
To: Kunihiko Hayashi
Cc: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui,
Krzysztof Kozlowski, Masami Hiramatsu, linux-pm, devicetree,
linux-arm-kernel, linux-kernel
On Thu, Apr 07, 2022 at 04:45:33PM +0900, Kunihiko Hayashi wrote:
> This adds common bindings thermal-sensor.yaml and this is preferred for
> unevaluatedProperties instead of additionalProperties.
>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---
> .../bindings/thermal/socionext,uniphier-thermal.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
> index c5b25ce44956..537c93da1397 100644
> --- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
> +++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
> @@ -14,6 +14,9 @@ description: |
> maintainers:
> - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
>
> +allOf:
> + - $ref: "thermal-sensor.yaml#"
No advantage to adding this as this schema still has to define the value
for "#thermal-sensor-cells".
> +
> properties:
> compatible:
> enum:
> @@ -40,7 +43,7 @@ required:
> - interrupts
> - "#thermal-sensor-cells"
>
> -additionalProperties: false
> +unevaluatedProperties: false
>
> examples:
> - |
> --
> 2.25.1
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: thermal: uniphier: Use unevaluatedProperties and common bindings
2022-04-13 18:56 ` Rob Herring
@ 2022-04-15 1:15 ` Kunihiko Hayashi
0 siblings, 0 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2022-04-15 1:15 UTC (permalink / raw)
To: Rob Herring
Cc: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui,
Krzysztof Kozlowski, Masami Hiramatsu, linux-pm, devicetree,
linux-arm-kernel, linux-kernel
Hi Rob,
On 2022/04/14 3:56, Rob Herring wrote:
> On Thu, Apr 07, 2022 at 04:45:33PM +0900, Kunihiko Hayashi wrote:
>> This adds common bindings thermal-sensor.yaml and this is preferred for
>> unevaluatedProperties instead of additionalProperties.
>>
>> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
>> ---
>> .../bindings/thermal/socionext,uniphier-thermal.yaml | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git
> a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yam
> l
> b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yam
> l
>> index c5b25ce44956..537c93da1397 100644
>> ---
> a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yam
> l
>> +++
> b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yam
> l
>> @@ -14,6 +14,9 @@ description: |
>> maintainers:
>> - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
>>
>> +allOf:
>> + - $ref: "thermal-sensor.yaml#"
>
> No advantage to adding this as this schema still has to define the value
> for "#thermal-sensor-cells".
I see. Certainly it's not time to add the common schema yet.
I withdraw this patch.
Thank you,
---
Best Regards
Kunihiko Hayashi
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-15 1:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-07 7:45 [PATCH] dt-bindings: thermal: uniphier: Use unevaluatedProperties and common bindings Kunihiko Hayashi
2022-04-13 18:56 ` Rob Herring
2022-04-15 1:15 ` Kunihiko Hayashi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).