[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200113210344.GA4615@bogus>
Date: Mon, 13 Jan 2020 15:03:44 -0600
From: Rob Herring <robh@...nel.org>
To: Joakim Zhang <qiangqing.zhang@....com>
Cc: maz@...nel.org, jason@...edaemon.net, tglx@...utronix.de,
mark.rutland@....com, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-imx@....com,
fugang.duan@....com
Subject: Re: [PATCH V4 RESEND 1/2] dt-bindings/irq: add binding for NXP
INTMUX interrupt multiplexer
On Mon, Jan 13, 2020 at 03:08:40PM +0800, Joakim Zhang wrote:
> This patch adds the DT bindings for the NXP INTMUX interrupt multiplexer
> for i.MX8 family SoCs.
>
> Signed-off-by: Joakim Zhang <qiangqing.zhang@....com>
> ---
> .../interrupt-controller/fsl,intmux.yaml | 77 +++++++++++++++++++
> 1 file changed, 77 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
Please run 'make dt_binding_check' and fix the errors:
Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml:
while scanning for the next token found character that cannot start any token
in "<unicode string>", line 60, column 1
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
> new file mode 100644
> index 000000000000..4dba532fe0bd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,intmux.yaml
> @@ -0,0 +1,77 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Freescale INTMUX interrupt multiplexer
> +
> +maintainers:
> + - Marc Zyngier <maz@...nel.org>
> +
> +properties:
> + compatible:
> + items:
> + const: fsl,imx-intmux
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + minItems: 1
> + maxItems: 8
> + description: |
> + Should contain the parent interrupt lines (up to 8) used to multiplex
> + the input interrupts.
> +
> + interrupt-controller: true
> +
> + '#interrupt-cells':
> + const: 2
> +
> + clocks:
> + maxItems: 1
> + description: ipg clock.
> +
> + clock-names:
> + items:
> + const: ipg
> +
> + fsl,intmux_chans:
Don't use '_' in property names.
Is this any different from the length of 'interrupts' which you can
count?
> + maxItems: 1
> + description: |
> + The number of channels used for interrupt source. The Maximum value is 8.
> + If this property is not set in DT then driver uses 1 channel by default.
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - interrupt-controller
> + - '#interrupt-cells'
> + - clocks
> + - clock-name
> + - fsl,intmux_chans
> +
> +additionalProperties: false
> +
> +Example:
> +
> + intmux@...00000 {
interrupt-controller@...
> + compatible = "fsl,imx-intmux";
> + reg = <0x37400000 0x1000>;
> + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + clocks = <&clk IMX8QM_CM40_IPG_CLK>;
> + clock-names = "ipg";
> + fsl,intmux_chans = <8>;
> + };
> +
> --
> 2.17.1
>
Powered by blists - more mailing lists