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

dt-bindings: interrupt-controller: Convert ezchip,nps400-ic to DT schema

Convert the EZchip NPS interrupt controller binding to schema
format. It's a straight-forward conversion of the typical interrupt
controller.

Link: https://lore.kernel.org/r/20250505144649.1288786-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+34 -17
-17
Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt
··· 1 - EZchip NPS Interrupt Controller 2 - 3 - Required properties: 4 - 5 - - compatible : should be "ezchip,nps400-ic" 6 - - interrupt-controller : Identifies the node as an interrupt controller 7 - - #interrupt-cells : Specifies the number of cells needed to encode an 8 - interrupt source. The value shall be 1. 9 - 10 - 11 - Example: 12 - 13 - intc: interrupt-controller { 14 - compatible = "ezchip,nps400-ic"; 15 - interrupt-controller; 16 - #interrupt-cells = <1>; 17 - };
+34
Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/ezchip,nps400-ic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: EZchip NPS Interrupt Controller 8 + 9 + maintainers: 10 + - Noam Camus <noamc@ezchip.com> 11 + 12 + properties: 13 + compatible: 14 + const: ezchip,nps400-ic 15 + 16 + interrupt-controller: true 17 + 18 + '#interrupt-cells': 19 + const: 1 20 + 21 + required: 22 + - compatible 23 + - interrupt-controller 24 + - '#interrupt-cells' 25 + 26 + additionalProperties: false 27 + 28 + examples: 29 + - | 30 + interrupt-controller { 31 + compatible = "ezchip,nps400-ic"; 32 + interrupt-controller; 33 + #interrupt-cells = <1>; 34 + };