Thread (26 messages) 26 messages, 4 authors, 2022-08-17

Re: [PATCH v3 1/4] regulator: dt-bindings: Add Allwinner D1 LDOs

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-16 11:06:24
Also in: linux-arm-kernel, linux-sunxi, lkml

On 15/08/2022 07:34, Samuel Holland wrote:
+  reg:
+    maxItems: 1
+
+  nvmem-cells:
+    items:
+      - description: NVMEM cell for the calibrated bandgap reference trim value
+
+  nvmem-cell-names:
+    items:
+      - const: bg_trim
+
+patternProperties:
+  "^(a|hp)ldo$":
+    type: object
+    $ref: regulator.yaml#
+    unevaluatedProperties: false
+
+required:
+  - compatible
+  - reg
+  - nvmem-cells
+  - nvmem-cell-names
+
+unevaluatedProperties: false
one more: this must be additionalProperties:false, because you do not
reference any other schema in top level. Same in second file.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help