From: Claudiu Beznea Date: Tue, 23 May 2023 07:06:36 +0000 (+0300) Subject: dt-bindings: interrupt-controller: microchip,sama7g5-eic: use proper naming syntax X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=93da99912932638fc2716b435c1e6e39060822c5;p=linux.git dt-bindings: interrupt-controller: microchip,sama7g5-eic: use proper naming syntax Use the following syntax for Microchip EIC YAML file: vendor,device.yaml. Signed-off-by: Claudiu Beznea Acked-by: Conor Dooley Link: https://lore.kernel.org/r/20230523070637.224476-2-claudiu.beznea@microchip.com Signed-off-by: Rob Herring --- diff --git a/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml b/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml deleted file mode 100644 index 50003880ee6fd..0000000000000 --- a/Documentation/devicetree/bindings/interrupt-controller/microchip,eic.yaml +++ /dev/null @@ -1,73 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/interrupt-controller/microchip,eic.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Microchip External Interrupt Controller - -maintainers: - - Claudiu Beznea - -description: - This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides - support for handling up to 2 external interrupt lines. - -properties: - compatible: - enum: - - microchip,sama7g5-eic - - reg: - maxItems: 1 - - interrupt-controller: true - - '#interrupt-cells': - const: 2 - description: - The first cell is the input IRQ number (between 0 and 1), the second cell - is the trigger type as defined in interrupt.txt present in this directory. - - interrupts: - description: | - Contains the GIC SPI IRQs mapped to the external interrupt lines. They - should be specified sequentially from output 0 to output 1. - minItems: 2 - maxItems: 2 - - clocks: - maxItems: 1 - - clock-names: - const: pclk - -required: - - compatible - - reg - - interrupt-controller - - '#interrupt-cells' - - interrupts - - clocks - - clock-names - -additionalProperties: false - -examples: - - | - #include - #include - - eic: interrupt-controller@e1628000 { - compatible = "microchip,sama7g5-eic"; - reg = <0xe1628000 0x100>; - interrupt-parent = <&gic>; - interrupt-controller; - #interrupt-cells = <2>; - interrupts = , - ; - clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; - clock-names = "pclk"; - }; - -... diff --git a/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml b/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml new file mode 100644 index 0000000000000..d56ba65b17d1b --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,sama7g5-eic.yaml @@ -0,0 +1,73 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/microchip,sama7g5-eic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip External Interrupt Controller + +maintainers: + - Claudiu Beznea + +description: + This interrupt controller is found in Microchip SoCs (SAMA7G5) and provides + support for handling up to 2 external interrupt lines. + +properties: + compatible: + enum: + - microchip,sama7g5-eic + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 2 + description: + The first cell is the input IRQ number (between 0 and 1), the second cell + is the trigger type as defined in interrupt.txt present in this directory. + + interrupts: + description: | + Contains the GIC SPI IRQs mapped to the external interrupt lines. They + should be specified sequentially from output 0 to output 1. + minItems: 2 + maxItems: 2 + + clocks: + maxItems: 1 + + clock-names: + const: pclk + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + #include + + eic: interrupt-controller@e1628000 { + compatible = "microchip,sama7g5-eic"; + reg = <0xe1628000 0x100>; + interrupt-parent = <&gic>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + ; + clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; + clock-names = "pclk"; + }; + +...