| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Samsung S3C/S5P/Exynos SoC pin controller - wake-up interrupt controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Krzysztof Kozlowski <[email protected]> |
| 11 |
- Sylwester Nawrocki <[email protected]> |
| 12 |
- Tomasz Figa <[email protected]> |
| 13 |
|
| 14 |
description: | |
| 15 |
This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin |
| 16 |
controller. |
| 17 |
|
| 18 |
External wake-up interrupts for Samsung S3C/S5P/Exynos SoC pin controller. |
| 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 |
| 22 |
pin-controller is supported). |
| 23 |
For newer controllers, multiple pin-controller device node can include |
| 24 |
external wake-up interrupts child node. |
| 25 |
|
| 26 |
See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for |
| 27 |
additional information and example. |
| 28 |
|
| 29 |
properties: |
| 30 |
compatible: |
| 31 |
oneOf: |
| 32 |
- enum: |
| 33 |
- samsung,s3c64xx-wakeup-eint |
| 34 |
- samsung,s5pv210-wakeup-eint |
| 35 |
- samsung,exynos4210-wakeup-eint |
| 36 |
- samsung,exynos7-wakeup-eint |
| 37 |
- samsung,exynosautov920-wakeup-eint |
| 38 |
- items: |
| 39 |
- enum: |
| 40 |
- samsung,exynos5433-wakeup-eint |
| 41 |
- samsung,exynos7870-wakeup-eint |
| 42 |
- samsung,exynos7885-wakeup-eint |
| 43 |
- samsung,exynos850-wakeup-eint |
| 44 |
- samsung,exynos8890-wakeup-eint |
| 45 |
- samsung,exynos8895-wakeup-eint |
| 46 |
- const: samsung,exynos7-wakeup-eint |
| 47 |
- items: |
| 48 |
- enum: |
| 49 |
- google,gs101-wakeup-eint |
| 50 |
- samsung,exynos2200-wakeup-eint |
| 51 |
- samsung,exynos9610-wakeup-eint |
| 52 |
- samsung,exynos9810-wakeup-eint |
| 53 |
- samsung,exynos990-wakeup-eint |
| 54 |
- samsung,exynosautov9-wakeup-eint |
| 55 |
- const: samsung,exynos850-wakeup-eint |
| 56 |
- const: samsung,exynos7-wakeup-eint |
| 57 |
|
| 58 |
interrupts: |
| 59 |
description: |
| 60 |
Interrupt used by multiplexed external wake-up interrupts. |
| 61 |
minItems: 1 |
| 62 |
maxItems: 4 |
| 63 |
|
| 64 |
required: |
| 65 |
- compatible |
| 66 |
|
| 67 |
allOf: |
| 68 |
- if: |
| 69 |
properties: |
| 70 |
compatible: |
| 71 |
contains: |
| 72 |
const: samsung,s3c64xx-wakeup-eint |
| 73 |
then: |
| 74 |
properties: |
| 75 |
interrupts: |
| 76 |
minItems: 4 |
| 77 |
maxItems: 4 |
| 78 |
required: |
| 79 |
- interrupts |
| 80 |
|
| 81 |
- if: |
| 82 |
properties: |
| 83 |
compatible: |
| 84 |
oneOf: |
| 85 |
# Match without "contains", to skip newer variants which are still |
| 86 |
# compatible with samsung,exynos7-wakeup-eint |
| 87 |
- enum: |
| 88 |
- samsung,exynos4210-wakeup-eint |
| 89 |
- samsung,exynos7-wakeup-eint |
| 90 |
- samsung,s5pv210-wakeup-eint |
| 91 |
- contains: |
| 92 |
enum: |
| 93 |
- samsung,exynos5433-wakeup-eint |
| 94 |
- samsung,exynos7870-wakeup-eint |
| 95 |
- samsung,exynos7885-wakeup-eint |
| 96 |
- samsung,exynos8895-wakeup-eint |
| 97 |
then: |
| 98 |
properties: |
| 99 |
interrupts: |
| 100 |
minItems: 1 |
| 101 |
maxItems: 1 |
| 102 |
required: |
| 103 |
- interrupts |
| 104 |
|
| 105 |
- if: |
| 106 |
properties: |
| 107 |
compatible: |
| 108 |
contains: |
| 109 |
enum: |
| 110 |
- samsung,exynos850-wakeup-eint |
| 111 |
- samsung,exynosautov920-wakeup-eint |
| 112 |
then: |
| 113 |
properties: |
| 114 |
interrupts: false |
| 115 |
|
| 116 |
additionalProperties: false |