Skip to content

Commit 8b1f64f

Browse files
dt-bindings: power: reset: atmel,sama5d2-shdwc: add lpm binding
Add microchip,lpm-connection binding which allows to specify the devices the SHDWC's LPM pin is connected. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> [varshini.rajendran@microchip.com: add support in the converted yaml file during porting from kernel version 6.1 to 6.6] Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
1 parent 5e9df83 commit 8b1f64f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ properties:
4848
description: enable real-time timer wake-up
4949
type: boolean
5050

51+
microchip,lpm-connection:
52+
description: list of phandles to devices which are connected to SHDWC's LPM pin
53+
$ref: /schemas/types.yaml#/definitions/phandle
54+
5155
patternProperties:
5256
"^input@[0-15]$":
5357
description:
@@ -88,6 +92,17 @@ allOf:
8892
properties:
8993
atmel,wakeup-rtt-timer: false
9094

95+
- if:
96+
properties:
97+
compatible:
98+
contains:
99+
enum:
100+
- atmel,sama5d2-shdwc
101+
- microchip,sam9x60-shdwc
102+
then:
103+
properties:
104+
microchip,lpm-connection: false
105+
91106
additionalProperties: false
92107

93108
examples:

0 commit comments

Comments
 (0)