Common Cache Properties
Schema identifier ($id): "http://devicetree.org/schemas/cache-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/base.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
cache-level — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 2
Maximum value (maximum): 32
cache-unified — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
next-level-cache — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties matching a name pattern (patternProperties) #
^(i-|d-|)cache-size$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
^(i-|d-|)cache-sets$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
^(i-|d-|)cache-block-size$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
^(i-|d-|)cache-line-size$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Requirements triggered by another property (dependentRequired): { cache-size: "cache-unified", cache-sets: "cache-unified", cache-block-size: "cache-unified", cache-line-size: "cache-unified", cache-level: "compatible" }
Rules triggered by another property (dependentSchemas) #
cache-unified — applies when this property is present #
Properties matching a name pattern (patternProperties) #
^[id]-cache- — name matches this regular expression
false — Not permitted by this property rule.
Condition (if) #
This rule must not match (
not) #Properties and child nodes (
properties) #
device_type— required hereExact value (
const):"cpu"
When the condition matches (then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: BSD-2-Clause
Line 2: Copyright 2019 Linaro Ltd.
Line 3: Copyright 2022 Arm Ltd.