From 2ddcde29d860c6ea23bcb79d0faaac57fbed235a Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Wed, 24 May 2023 19:56:55 -0700 Subject: [PATCH] bindings: Address dt-binding-check errors for memory-offline Improve compliance with dt-schema. Change-Id: Ia4ba5bdde5c479223df8eb4b2bf614214a3300b9 Signed-off-by: Patrick Daly --- bindings/arm/msm/memory-offline.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bindings/arm/msm/memory-offline.yaml b/bindings/arm/msm/memory-offline.yaml index fa255686..4788d7ca 100644 --- a/bindings/arm/msm/memory-offline.yaml +++ b/bindings/arm/msm/memory-offline.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/bindings/arm/msm/memory-offline.yaml# +$id: http://devicetree.org/schemas/arm/msm/memory-offline.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Memory Offline Driver binding @@ -29,14 +29,13 @@ properties: granule: $ref: '/schemas/types.yaml#/definitions/uint32' - maxItems: 1 description: The minimum granule size in mega-bytes for memory onlining/offlining. offline-sizes: - $ref: '/schemas/types.yaml#/definitions/uint32-array' + $ref: '/schemas/types.yaml#/definitions/uint32-matrix' minItems: 1 - description: + description: | Array of offlinable memory region sizes to apply to targets based on their DDR size. @@ -72,6 +71,8 @@ required: - offline-sizes - mboxes +additionalProperties: false + examples: - | mem-offline {