bindings: Address dt-binding-check errors for memory-offline
Improve compliance with dt-schema. Change-Id: Ia4ba5bdde5c479223df8eb4b2bf614214a3300b9 Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
%YAML 1.2
|
%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#
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
title: Memory Offline Driver binding
|
title: Memory Offline Driver binding
|
||||||
@@ -29,14 +29,13 @@ properties:
|
|||||||
|
|
||||||
granule:
|
granule:
|
||||||
$ref: '/schemas/types.yaml#/definitions/uint32'
|
$ref: '/schemas/types.yaml#/definitions/uint32'
|
||||||
maxItems: 1
|
|
||||||
description:
|
description:
|
||||||
The minimum granule size in mega-bytes for memory onlining/offlining.
|
The minimum granule size in mega-bytes for memory onlining/offlining.
|
||||||
|
|
||||||
offline-sizes:
|
offline-sizes:
|
||||||
$ref: '/schemas/types.yaml#/definitions/uint32-array'
|
$ref: '/schemas/types.yaml#/definitions/uint32-matrix'
|
||||||
minItems: 1
|
minItems: 1
|
||||||
description:
|
description: |
|
||||||
Array of offlinable memory region sizes to apply to targets based on
|
Array of offlinable memory region sizes to apply to targets based on
|
||||||
their DDR size.
|
their DDR size.
|
||||||
|
|
||||||
@@ -72,6 +71,8 @@ required:
|
|||||||
- offline-sizes
|
- offline-sizes
|
||||||
- mboxes
|
- mboxes
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
mem-offline {
|
mem-offline {
|
||||||
|
Reference in New Issue
Block a user