From: Konrad Dybcio Date: Wed, 10 Jun 2026 12:52:42 +0000 (+0200) Subject: dt-bindings: nvmem: consumer: Make 'nvmem' an array of one-item entries X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e267e3d3ffb10277bf5ade6f66d5f0d7bde399;p=thirdparty%2Flinux.git dt-bindings: nvmem: consumer: Make 'nvmem' an array of one-item entries 'nvmem' unlike 'nvmem-cells', consumes references to just a single phandle with no arguments (i.e. with 0 cells). Constrain the schema to enforce that, so that the number of such single-item entries can then be regulated by IP block-specific YAMLs. Suggested-by: Rob Herring Signed-off-by: Konrad Dybcio Link: https://patch.msgid.link/20260610-topic-nvmem_schema_warning_fix-v1-1-4029becf13f9@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) --- diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml index a26633bf52dbf..45836308c7244 100644 --- a/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml +++ b/Documentation/devicetree/bindings/nvmem/nvmem-consumer.yaml @@ -16,6 +16,8 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle-array description: List of phandle to the nvmem providers. + items: + maxItems: 1 nvmem-cells: $ref: /schemas/types.yaml#/definitions/phandle-array