Skip to content

Commit 904140f

Browse files
committed
dt-bindings: pinctrl: samsung: use Exynos7 fallbacks for newer wake-up controllers
Older ARM8 SoCs like Exynos5433, Exynos7 and Exynos7885 have the pin controller with wake-up interrupts muxed, thus the wake-up interrupt controller device node has interrupts property, while its pin banks might not (because they are muxed by the wake-up controller). Newer SoCs like Exynos850 and ExynosAutov9 do not used muxed wake-up interrupts: 1. Wake-up interrupt controller device node has no interrupts, 2. Its pin banks have interrupts (since there is no muxing). Their programming interface is however still compatible with Exynos7, thus change the bindings to express this: retain compatibility with Exynos7 and add new compatibility fallback of Exynos850 in newer designs. No driver changes are needed. This is necessary only to properly describe DTS. Acked-by: Conor Dooley <[email protected]> Acked-by: Jaewon Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent e4e2fbe commit 904140f

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

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

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,17 @@ properties:
3636
- samsung,s5pv210-wakeup-eint
3737
- samsung,exynos4210-wakeup-eint
3838
- samsung,exynos7-wakeup-eint
39-
- samsung,exynos850-wakeup-eint
40-
- samsung,exynosautov9-wakeup-eint
41-
- samsung,exynosautov920-wakeup-eint
4239
- items:
4340
- enum:
4441
- samsung,exynos5433-wakeup-eint
4542
- samsung,exynos7885-wakeup-eint
43+
- samsung,exynos850-wakeup-eint
44+
- const: samsung,exynos7-wakeup-eint
45+
- items:
46+
- enum:
47+
- samsung,exynosautov9-wakeup-eint
48+
- samsung,exynosautov920-wakeup-eint
49+
- const: samsung,exynos850-wakeup-eint
4650
- const: samsung,exynos7-wakeup-eint
4751

4852
interrupts:
@@ -86,11 +90,14 @@ allOf:
8690
- if:
8791
properties:
8892
compatible:
89-
contains:
90-
enum:
91-
- samsung,s5pv210-wakeup-eint
92-
- samsung,exynos4210-wakeup-eint
93-
- samsung,exynos7-wakeup-eint
93+
# Match without "contains", to skip newer variants which are still
94+
# compatible with samsung,exynos7-wakeup-eint
95+
enum:
96+
- samsung,s5pv210-wakeup-eint
97+
- samsung,exynos4210-wakeup-eint
98+
- samsung,exynos5433-wakeup-eint
99+
- samsung,exynos7-wakeup-eint
100+
- samsung,exynos7885-wakeup-eint
94101
then:
95102
properties:
96103
interrupts:
@@ -105,8 +112,6 @@ allOf:
105112
contains:
106113
enum:
107114
- samsung,exynos850-wakeup-eint
108-
- samsung,exynosautov9-wakeup-eint
109-
- samsung,exynosautov920-wakeup-eint
110115
then:
111116
properties:
112117
interrupts: false

0 commit comments

Comments
 (0)