mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
bf99826f23
Convert the reserved memory bindings to DT schema format. The bindings are split into schemas for clients, common reserved memory node properties and a specific binding for shared-dma-pool. Cc: devicetree-spec@vger.kernel.org Signed-off-by: Maxime Ripard <maxime@cerno.tech> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210901091852.479202-6-maxime@cerno.tech
40 lines
1,009 B
YAML
40 lines
1,009 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/reserved-memory/memory-region.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Reserved Memory Region Device Tree Binding
|
|
|
|
maintainers:
|
|
- devicetree-spec@vger.kernel.org
|
|
|
|
description: |
|
|
Regions in the /reserved-memory node may be referenced by other device
|
|
nodes by adding a memory-region property to the device node.
|
|
|
|
select: true
|
|
|
|
properties:
|
|
memory-region:
|
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
|
description: >
|
|
Phandle to a /reserved-memory child node assigned to the device.
|
|
|
|
memory-region-names:
|
|
$ref: /schemas/types.yaml#/definitions/string-array
|
|
description: >
|
|
A list of names, one for each corresponding entry in the
|
|
memory-region property
|
|
|
|
additionalProperties: true
|
|
|
|
examples:
|
|
- |
|
|
fb0: video@12300000 {
|
|
/* ... */
|
|
reg = <0x12300000 0x1000>;
|
|
memory-region = <&display_reserved>;
|
|
};
|
|
|
|
...
|