UPSTREAM: 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 <quic_mingxue@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Message-Id: <1654851507-13891-2-git-send-email-quic_mingxue@quicinc.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Bug: 253945054
Change-Id: Ia0ffae3c1f7783a676ea5e302f19663a4a0c50d9
(cherry picked from commit 51ded7cdf26deea7dd875047c2f005b81e80bdf4)
Signed-off-by: Minghao Xue <quic_mingxue@quicinc.com>
This commit is contained in:
Minghao Xue
2022-03-03 15:08:43 +08:00
committed by Treehugger Robot
parent c4ef0b793d
commit 56a0806bcb

View File

@@ -31,6 +31,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