Introduce a new API to allow devices capable of wake up the system register themselves was wake up sources. This permits applications to select the most appropriate way to wake up the system when it is suspended. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
100 lines
2.4 KiB
YAML
100 lines
2.4 KiB
YAML
# Common fields for all devices
|
|
|
|
include: [pm.yaml]
|
|
|
|
properties:
|
|
status:
|
|
type: string
|
|
required: false
|
|
description: indicates the operational status of a device
|
|
enum:
|
|
- "ok" # Deprecated form
|
|
- "okay"
|
|
- "disabled"
|
|
- "reserved"
|
|
- "fail"
|
|
- "fail-sss"
|
|
|
|
compatible:
|
|
type: string-array
|
|
required: true
|
|
description: compatible strings
|
|
|
|
reg:
|
|
type: array
|
|
description: register space
|
|
required: false
|
|
|
|
reg-names:
|
|
type: string-array
|
|
description: name of each register space
|
|
required: false
|
|
|
|
interrupts:
|
|
type: array
|
|
required: false
|
|
description: interrupts for device
|
|
|
|
# Does not follow the 'type: phandle-array' scheme, but gets type-checked
|
|
# by the code. Declare it here just so that other bindings can make it
|
|
# 'required: true' easily if they want to.
|
|
interrupts-extended:
|
|
type: compound
|
|
required: false
|
|
description: extended interrupt specifier for device
|
|
|
|
interrupt-names:
|
|
type: string-array
|
|
required: false
|
|
description: name of each interrupt
|
|
|
|
interrupt-parent:
|
|
type: phandle
|
|
required: false
|
|
description: phandle to interrupt controller node
|
|
|
|
label:
|
|
type: string
|
|
required: false
|
|
description: Human readable string describing the device (used as device_get_binding() argument)
|
|
|
|
clocks:
|
|
type: phandle-array
|
|
required: false
|
|
description: Clock gate information
|
|
|
|
clock-names:
|
|
type: string-array
|
|
required: false
|
|
description: name of each clock
|
|
|
|
"#address-cells":
|
|
type: int
|
|
required: false
|
|
description: number of address cells in reg property
|
|
|
|
"#size-cells":
|
|
type: int
|
|
required: false
|
|
description: number of size cells in reg property
|
|
|
|
dmas:
|
|
required: false
|
|
type: phandle-array
|
|
description: DMA channels specifiers
|
|
|
|
dma-names:
|
|
required: false
|
|
type: string-array
|
|
description: Provided names of DMA channel specifiers
|
|
|
|
io-channels:
|
|
required: false
|
|
type: phandle-array
|
|
description: IO channels specifiers
|
|
|
|
io-channel-names:
|
|
required: false
|
|
type: string-array
|
|
description: Provided names of IO channel specifiers
|