[PATCH v2 1/6] dt-bindings: ti, sci: Add property for partial-io-wakeup-sources

From: Markus Schneider-Pargmann
Date: Mon Jul 29 2024 - 04:01:27 EST


Partial-IO is a very low power mode in which nearly everything is
powered off. Only pins of a few hardware units are kept sensitive and
are capable to wakeup the SoC. The device nodes are marked as
'wakeup-source' but so are a lot of other device nodes as well that are
not able to do a wakeup from Partial-IO. This creates the need to
describe the device nodes that are capable of wakeup from Partial-IO.

This patch adds a property with a list of these nodes defining which
devices can be used as wakeup sources in Partial-IO.

Signed-off-by: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>
---
.../devicetree/bindings/arm/keystone/ti,sci.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 25a2b42105e5..7d6152710573 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -61,6 +61,19 @@ properties:
mboxes:
minItems: 2

+ ti,partial-io-wakeup-sources:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description: |
+ Partial-IO is a low power mode in which nearly everything is powered
+ off. Only pins associated with a few hardware units are capable to
+ wakeup the system from this mode. It is a very small subset of all
+ device nodes that have the 'wakeup-source' property.
+ ti,partial-io-wakeup-sources is the list of device nodes that can
+ wakeup the system from Partial-IO.
+
+ This low power mode depends on the capabilities of the SoC and
+ the firmware.
+
ti,host-id:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
--
2.45.2