On Thu, Apr 07, 2022 at 04:45:33PM +0900, Kunihiko Hayashi wrote:I see. Certainly it's not time to add the common schema yet.
This adds common bindings thermal-sensor.yaml and this is preferred fora/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yam
unevaluatedProperties instead of additionalProperties.
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx>
---
.../bindings/thermal/socionext,uniphier-thermal.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
l
b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yam
l
index c5b25ce44956..537c93da1397 100644a/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@xxxxxxxxxxxxx>
+allOf:
+ - $ref: "thermal-sensor.yaml#"
No advantage to adding this as this schema still has to define the value
for "#thermal-sensor-cells".