Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions dtschema/schemas/wakeup-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ description: >
While various legacy interrupt names exist, new devices should use "wakeup" as
the canonical interrupt name.

Nodes with the wakeup capability and out-of-band wakeup capability may
contain a "out-band-wakeup" property in addition to the "wakeup-source"
property.

maintainers:
- Rob Herring <robh@kernel.org>

Expand All @@ -40,6 +44,17 @@ properties:
description:
List of phandles to system idle state nodes. The device can be a
wakeup source in the given system states.
out-band-wakeup:
type: boolean
description:
The device is out-of-band wakeup capable.

if:
required:
- out-band-wakeup
then:
required:
- wakeup-source

additionalProperties: true

Expand Down Expand Up @@ -80,11 +95,13 @@ examples:
};
- |
# With power states specified
# out-of-band wakeup capable
mcu_mcan0: can@4e08000 {
compatible = "bosch,m_can";
reg = <0x00 0x4e08000 0x00 0x200>,
<0x00 0x4e00000 0x00 0x8000>;
reg-names = "m_can", "message_ram";
out-band-wakeup;
wakeup-source = <&system_partial_io>, <&system_deep_sleep>;
};
...
Loading