| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright 2022 Arm Ltd. |
| 3 |
$id: http://devicetree.org/schemas/msi-consumer.yaml# |
| 4 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 5 |
|
| 6 |
title: MSI consumer properties |
| 7 |
|
| 8 |
maintainers: |
| 9 |
- Rob Herring <[email protected]> |
| 10 |
|
| 11 |
# always select the core schema |
| 12 |
select: true |
| 13 |
|
| 14 |
properties: |
| 15 |
msi-parent: |
| 16 |
description: | |
| 17 |
A list of phandle + msi-specifier pairs, one for each MSI controller which the |
| 18 |
device is capable of using. |
| 19 |
|
| 20 |
This property is unordered, and MSIs may be allocated from any combination of |
| 21 |
MSI controllers listed in the msi-parent property. |
| 22 |
|
| 23 |
If a device has restrictions on the allocation of MSIs, these restrictions |
| 24 |
must be described with additional properties. |
| 25 |
|
| 26 |
When #msi-cells is non-zero, busses with an msi-parent will require |
| 27 |
additional properties to describe the relationship between devices on the bus |
| 28 |
and the set of MSIs they can potentially generate. |
| 29 |
$ref: types.yaml#/definitions/phandle-array |
| 30 |
items: |
| 31 |
minItems: 1 |
| 32 |
maxItems: 2 |
| 33 |
|
| 34 |
additionalProperties: true |