[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8fc40a97008cb0b4001684b3c9e1cc4bf3fb706.1758051358.git.Ryan.Wanner@microchip.com>
Date: Tue, 16 Sep 2025 12:50:30 -0700
From: <Ryan.Wanner@...rochip.com>
To: <claudiu.beznea@...on.dev>, <sre@...nel.org>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <nicolas.ferre@...rochip.com>,
<alexandre.belloni@...tlin.com>, <linux@...linux.org.uk>
CC: <linux-pm@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
Varshini Rajendran <varshini.rajendran@...rochip.com>
Subject: [PATCH v2 1/3] dt-bindings: power: reset: atmel,sama5d2-shdwc: add lpm binding
From: Varshini Rajendran <varshini.rajendran@...rochip.com>
Add microchip,lpm-connection binding which allows to specify the devices
the SHDWC's Low Power Mode pin is connected to.
Signed-off-by: Varshini Rajendran <varshini.rajendran@...rochip.com>
[ryan.wanner@...rochip.com: Add sam9x7-shdwc SoC to properties check]
Signed-off-by: Ryan Wanner <Ryan.Wanner@...rochip.com>
---
.../power/reset/atmel,sama5d2-shdwc.yaml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml
index 9c34249b2d6d..668b541eb44c 100644
--- a/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml
+++ b/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml
@@ -56,6 +56,13 @@ properties:
description: enable real-time timer wake-up
type: boolean
+ microchip,lpm-connection:
+ description:
+ List of phandles to devices which are connected to SHDWC's Low Power Mode Pin.
+ The LPM pin is used to idicate to an external power supply or device to enter
+ or exit a special powering state.
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+
patternProperties:
"^input@[0-15]$":
description:
@@ -96,6 +103,18 @@ allOf:
properties:
atmel,wakeup-rtt-timer: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - atmel,sama5d2-shdwc
+ - microchip,sam9x60-shdwc
+ - microchip,sam9x7-shdwc
+ then:
+ properties:
+ microchip,lpm-connection: false
+
additionalProperties: false
examples:
--
2.43.0
Powered by blists - more mailing lists