Skip to content

Commit 1755e22

Browse files
committed
dt-bindings: pinctrl: samsung: describe Exynos850 and ExynosAutov9 wake-ups
Older Samsung Exynos SoCs (Exynos3250, Exynos4, Exynos5, Exynos5433) expected pin controller node with external wake-up interrupts to have one interrupt for multiplexing these wake-up interrupts. Also they expected to have exactly one such pin controller (capable of external wake-up interrupts). It seems however that newer ARMv8 Exynos SoCs like Exynos850 and ExynosAutov9 have differences of their pin controllers capable of external wake-up interrupts: 1. No multiplexed external wake-up interrupt, only direct, 2. More than one pin controller capable of external wake-up interrupts. Add dedicated Exynos850 and ExynosAutov9 compatibles. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Sam Protsenko <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent af030d8 commit 1755e22

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ description: |
1616
controller.
1717
1818
External wake-up interrupts for Samsung S3C/S5P/Exynos SoC pin controller.
19-
Only one pin-controller device node can include external wake-up interrupts
20-
child node (in other words, only one External wake-up interrupts
19+
For S3C24xx, S3C64xx, S5PV210 and Exynos4210 compatible wake-up interrupt
20+
controllers, only one pin-controller device node can include external wake-up
21+
interrupts child node (in other words, only one External wake-up interrupts
2122
pin-controller is supported).
23+
For newer controllers, multiple pin-controller device node can include
24+
external wake-up interrupts child node.
2225
2326
See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for
2427
additional information and example.
@@ -32,6 +35,8 @@ properties:
3235
- samsung,s5pv210-wakeup-eint
3336
- samsung,exynos4210-wakeup-eint
3437
- samsung,exynos7-wakeup-eint
38+
- samsung,exynos850-wakeup-eint
39+
- samsung,exynosautov9-wakeup-eint
3540

3641
interrupts:
3742
description:
@@ -41,7 +46,6 @@ properties:
4146

4247
required:
4348
- compatible
44-
- interrupts
4549

4650
allOf:
4751
- if:
@@ -56,6 +60,8 @@ allOf:
5660
interrupts:
5761
minItems: 6
5862
maxItems: 6
63+
required:
64+
- interrupts
5965

6066
- if:
6167
properties:
@@ -67,6 +73,8 @@ allOf:
6773
interrupts:
6874
minItems: 4
6975
maxItems: 4
76+
required:
77+
- interrupts
7078

7179
- if:
7280
properties:
@@ -81,5 +89,18 @@ allOf:
8189
interrupts:
8290
minItems: 1
8391
maxItems: 1
92+
required:
93+
- interrupts
94+
95+
- if:
96+
properties:
97+
compatible:
98+
contains:
99+
enum:
100+
- samsung,exynos850-wakeup-eint
101+
- samsung,exynosautov9-wakeup-eint
102+
then:
103+
properties:
104+
interrupts: false
84105

85106
additionalProperties: false

0 commit comments

Comments
 (0)