aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinghao Xue <[email protected]>2022-06-10 16:58:26 +0800
committerMichael S. Tsirkin <[email protected]>2022-08-11 04:06:38 -0400
commit51ded7cdf26deea7dd875047c2f005b81e80bdf4 (patch)
treea6deedb3a0d289689154187d094bbea95768d99d
parent366958a7fd7b541cba478e2866ef08f34e20471b (diff)
dt-bindings: virtio: mmio: add optional wakeup-source property
Some systems want to set the interrupt of virtio_mmio device as a wakeup source. On such systems, we'll use the existence of the "wakeup-source" property as a signal of requirement. Signed-off-by: Minghao Xue <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/virtio/mmio.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/virtio/mmio.yaml b/Documentation/devicetree/bindings/virtio/mmio.yaml
index 10c22b5bd16a..0aa8433f0a5e 100644
--- a/Documentation/devicetree/bindings/virtio/mmio.yaml
+++ b/Documentation/devicetree/bindings/virtio/mmio.yaml
@@ -33,6 +33,10 @@ properties:
description: Required for devices making accesses thru an IOMMU.
maxItems: 1
+ wakeup-source:
+ type: boolean
+ description: Required for setting irq of a virtio_mmio device as wakeup source.
+
required:
- compatible
- reg