[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1654851507-13891-2-git-send-email-quic_mingxue@quicinc.com>
Date: Fri, 10 Jun 2022 16:58:26 +0800
From: Minghao Xue <quic_mingxue@...cinc.com>
To: "Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
Rob Herring <robh+dt@...nel.org>
CC: Minghao Xue <quic_mingxue@...cinc.com>,
Jean-Philippe Brucker <jean-philippe@...aro.org>,
<virtualization@...ts.linux-foundation.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<quic_ztu@...cinc.com>
Subject: [PATCH v2 1/2] 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@...cinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
---
Documentation/devicetree/bindings/virtio/mmio.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/virtio/mmio.yaml b/Documentation/devicetree/bindings/virtio/mmio.yaml
index 10c22b5..0aa8433 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
--
2.7.4
Powered by blists - more mailing lists