brintos

brintos / linux-shallow public Read only

0
0
Text · 3.3 KiB · 4dfb49b Raw
122 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S3C/S5P/Exynos SoC pin controller - wake-up interrupt controller8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11  - Sylwester Nawrocki <s.nawrocki@samsung.com>12  - Tomasz Figa <tomasz.figa@gmail.com>13 14description: |15  This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin16  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 interrupt20  controllers, only one pin-controller device node can include external wake-up21  interrupts child node (in other words, only one External wake-up interrupts22  pin-controller is supported).23  For newer controllers, multiple pin-controller device node can include24  external wake-up interrupts child node.25 26  See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for27  additional information and example.28 29properties:30  compatible:31    oneOf:32      - enum:33          - samsung,s3c2410-wakeup-eint34          - samsung,s3c2412-wakeup-eint35          - samsung,s3c64xx-wakeup-eint36          - samsung,s5pv210-wakeup-eint37          - samsung,exynos4210-wakeup-eint38          - samsung,exynos7-wakeup-eint39          - samsung,exynosautov920-wakeup-eint40      - items:41          - enum:42              - samsung,exynos5433-wakeup-eint43              - samsung,exynos7885-wakeup-eint44              - samsung,exynos850-wakeup-eint45          - const: samsung,exynos7-wakeup-eint46      - items:47          - enum:48              - google,gs101-wakeup-eint49              - samsung,exynosautov9-wakeup-eint50          - const: samsung,exynos850-wakeup-eint51          - const: samsung,exynos7-wakeup-eint52 53  interrupts:54    description:55      Interrupt used by multiplexed external wake-up interrupts.56    minItems: 157    maxItems: 658 59required:60  - compatible61 62allOf:63  - if:64      properties:65        compatible:66          contains:67            enum:68              - samsung,s3c2410-wakeup-eint69              - samsung,s3c2412-wakeup-eint70    then:71      properties:72        interrupts:73          minItems: 674          maxItems: 675      required:76        - interrupts77 78  - if:79      properties:80        compatible:81          contains:82            const: samsung,s3c64xx-wakeup-eint83    then:84      properties:85        interrupts:86          minItems: 487          maxItems: 488      required:89        - interrupts90 91  - if:92      properties:93        compatible:94          # Match without "contains", to skip newer variants which are still95          # compatible with samsung,exynos7-wakeup-eint96          enum:97            - samsung,s5pv210-wakeup-eint98            - samsung,exynos4210-wakeup-eint99            - samsung,exynos5433-wakeup-eint100            - samsung,exynos7-wakeup-eint101            - samsung,exynos7885-wakeup-eint102    then:103      properties:104        interrupts:105          minItems: 1106          maxItems: 1107      required:108        - interrupts109 110  - if:111      properties:112        compatible:113          contains:114            enum:115              - samsung,exynos850-wakeup-eint116              - samsung,exynosautov920-wakeup-eint117    then:118      properties:119        interrupts: false120 121additionalProperties: false122