dt-bindings: interrupt-controller: Add fsl,icoll.yaml
Subsystems (3)
Frank Li
maintainerPATCH 1/1 dt-bindings: interrupt-controller: Add fsl,icoll.yaml
Add fsl,icoll.yaml for i.MX23 and i.MX28.
Signed-off-by Frank Li <[email protected]>
--- .../interrupt-controller/fsl,icoll.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,icoll.yaml
Documentation/devicetree/bindings/interrupt-controller/fsl,icoll.yaml new file +45 -0
@@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/fsl,icoll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MXS icoll Interrupt controller + +maintainers: + - Frank Li <[email protected]> + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,imx23-icoll + - fsl,imx28-icoll + - const: fsl,icoll + + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + interrupt-controller@80000000 { + compatible = "fsl,imx28-icoll", "fsl,icoll"; + reg = <0x80000000 0x2000>; + interrupt-controller; + #interrupt-cells = <1>; + }; +
Signature · 1 line
2.34.1
Quoted 23 lines · Frank Li
Add fsl,icoll.yaml for i.MX23 and i.MX28.
Signed-off-by Frank Li <[email protected]>--- .../interrupt-controller/fsl,icoll.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,icoll.yamlDocumentation/devicetree/bindings/interrupt-controller/fsl,icoll.yaml new file +9
-0@@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/fsl,icoll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale MXS icoll Interrupt controller + +maintainers:
Documentation/devicetree/bindings/interrupt-controller/fsl,icoll.yaml line 19
Quoted 10 lines
Documentation/devicetree/bindings/interrupt-controller/fsl,icoll.yaml new file +10
-0+ - Frank Li <[email protected]> + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,imx23-icoll + - fsl,imx28-icoll + - const: fsl,icoll
Given this generic fallback, that would likely not be approved if this were actually what it is presented as (a binding for some new device), is only acceptable because it is already in use and this is some 15 year old device, you should state pretty clearly in your commit message. With it pointed out,
Reviewed-by Conor Dooley <[email protected]>
Quoted 29 lines
Documentation/devicetree/bindings/interrupt-controller/fsl,icoll.yaml new file +26
-0+ + reg: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + +required: + - compatible + - reg + - interrupt-controller + - '#interrupt-cells' + +additionalProperties: false + +examples: + - | + interrupt-controller@80000000 { + compatible = "fsl,imx28-icoll", "fsl,icoll"; + reg = <0x80000000 0x2000>; + interrupt-controller; + #interrupt-cells = <1>; + }; +Signature · 1 line
2.34.1