Hi,
On 05/10/2020 13:38:27-0500, Rob Herring wrote:
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
index bc2c7e53a28e..60e93e86ad9d 100644
--- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
@@ -68,6 +68,8 @@ required:
- clocks
- clock-names
+unevaluatedProperties: false
This one could be additionalProperties: false after adding start-year to
the properties
quoted hunk ↗ jump to hunk
+
examples:
- |
#include <dt-bindings/clock/jz4740-cgu.h>diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
index 76bbf8b7555b..d51b236939bf 100644
--- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml
@@ -74,6 +74,8 @@ allOf:
items:
- const: rtc
+unevaluatedProperties: false
This one can be simply additionalProperties: false
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com