Commit 1755e227 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220111201722.327219-19-krzysztof.kozlowski@canonical.com
parent af030d83
...@@ -16,9 +16,12 @@ description: | ...@@ -16,9 +16,12 @@ description: |
controller. controller.
External wake-up interrupts for Samsung S3C/S5P/Exynos SoC pin controller. External wake-up interrupts for Samsung S3C/S5P/Exynos SoC pin controller.
Only one pin-controller device node can include external wake-up interrupts For S3C24xx, S3C64xx, S5PV210 and Exynos4210 compatible wake-up interrupt
child node (in other words, only one External wake-up interrupts controllers, only one pin-controller device node can include external wake-up
interrupts child node (in other words, only one External wake-up interrupts
pin-controller is supported). pin-controller is supported).
For newer controllers, multiple pin-controller device node can include
external wake-up interrupts child node.
See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for
additional information and example. additional information and example.
...@@ -32,6 +35,8 @@ properties: ...@@ -32,6 +35,8 @@ properties:
- samsung,s5pv210-wakeup-eint - samsung,s5pv210-wakeup-eint
- samsung,exynos4210-wakeup-eint - samsung,exynos4210-wakeup-eint
- samsung,exynos7-wakeup-eint - samsung,exynos7-wakeup-eint
- samsung,exynos850-wakeup-eint
- samsung,exynosautov9-wakeup-eint
interrupts: interrupts:
description: description:
...@@ -41,7 +46,6 @@ properties: ...@@ -41,7 +46,6 @@ properties:
required: required:
- compatible - compatible
- interrupts
allOf: allOf:
- if: - if:
...@@ -56,6 +60,8 @@ allOf: ...@@ -56,6 +60,8 @@ allOf:
interrupts: interrupts:
minItems: 6 minItems: 6
maxItems: 6 maxItems: 6
required:
- interrupts
- if: - if:
properties: properties:
...@@ -67,6 +73,8 @@ allOf: ...@@ -67,6 +73,8 @@ allOf:
interrupts: interrupts:
minItems: 4 minItems: 4
maxItems: 4 maxItems: 4
required:
- interrupts
- if: - if:
properties: properties:
...@@ -81,5 +89,18 @@ allOf: ...@@ -81,5 +89,18 @@ allOf:
interrupts: interrupts:
minItems: 1 minItems: 1
maxItems: 1 maxItems: 1
required:
- interrupts
- if:
properties:
compatible:
contains:
enum:
- samsung,exynos850-wakeup-eint
- samsung,exynosautov9-wakeup-eint
then:
properties:
interrupts: false
additionalProperties: false additionalProperties: false
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment