Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interrupt-controller: Add binding for NXP INTMUX interrupt multiplexer

This patch adds the DT bindings for the NXP INTMUX interrupt multiplexer
for i.MX8 family SoCs.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200117060653.27485-2-qiangqing.zhang@nxp.com

authored by

Joakim Zhang and committed by
Marc Zyngier
618ea627 b74416db

+68
+68
Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale INTMUX interrupt multiplexer 8 + 9 + maintainers: 10 + - Joakim Zhang <qiangqing.zhang@nxp.com> 11 + 12 + properties: 13 + compatible: 14 + const: fsl,imx-intmux 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + minItems: 1 21 + maxItems: 8 22 + description: | 23 + Should contain the parent interrupt lines (up to 8) used to multiplex 24 + the input interrupts. 25 + 26 + interrupt-controller: true 27 + 28 + '#interrupt-cells': 29 + const: 2 30 + description: | 31 + The 1st cell is hw interrupt number, the 2nd cell is channel index. 32 + 33 + clocks: 34 + description: ipg clock. 35 + 36 + clock-names: 37 + const: ipg 38 + 39 + required: 40 + - compatible 41 + - reg 42 + - interrupts 43 + - interrupt-controller 44 + - '#interrupt-cells' 45 + - clocks 46 + - clock-names 47 + 48 + additionalProperties: false 49 + 50 + examples: 51 + - | 52 + interrupt-controller@37400000 { 53 + compatible = "fsl,imx-intmux"; 54 + reg = <0x37400000 0x1000>; 55 + interrupts = <0 16 4>, 56 + <0 17 4>, 57 + <0 18 4>, 58 + <0 19 4>, 59 + <0 20 4>, 60 + <0 21 4>, 61 + <0 22 4>, 62 + <0 23 4>; 63 + interrupt-controller; 64 + interrupt-parent = <&gic>; 65 + #interrupt-cells = <2>; 66 + clocks = <&clk>; 67 + clock-names = "ipg"; 68 + };