Krzysztof Kozlowski
2022-Mar-18 13:40 UTC
[PATCH] dt-bindings: virtio: mmio: add optional virtio,wakeup property
On 18/03/2022 03:10, Minghao Xue wrote:> Hi Jean and folks, > This is just an optional flag which could be used on an embedded system. > For example, if we want to use an virtio-input device as a virtual power > key to wake up the virtual machine, we can set this flag in the device > tree. > Currently, virio-mmio driver does not implement suspend/resume > callback(maybe no need). So we want to check this flag and call > enable_irq_wake() accordingly in vm_find_vqs().There is a generic wakeup-source property. How is this one different that you need a separate one? Best regards, Krzysztof