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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: interrupt-controller: Convert lsi,zevio-intc to DT schema

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

'#interrupt-cells' was missing from the property list, but used in the
example, so add it.

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

+43 -18
-18
Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt
··· 1 - TI-NSPIRE interrupt controller 2 - 3 - Required properties: 4 - - compatible: Compatible property value should be "lsi,zevio-intc". 5 - 6 - - reg: Physical base address of the controller and length of memory mapped 7 - region. 8 - 9 - - interrupt-controller : Identifies the node as an interrupt controller 10 - 11 - Example: 12 - 13 - interrupt-controller { 14 - compatible = "lsi,zevio-intc"; 15 - interrupt-controller; 16 - reg = <0xDC000000 0x1000>; 17 - #interrupt-cells = <1>; 18 - };
+43
Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright 2025 Daniel Tang <dt.tangr@gmail.com> 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/interrupt-controller/lsi,zevio-intc.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: TI-NSPIRE Interrupt Controller 9 + 10 + maintainers: 11 + - Daniel Tang <dt.tangr@gmail.com> 12 + 13 + description: | 14 + TI-NSPIRE interrupt controller 15 + 16 + properties: 17 + compatible: 18 + const: lsi,zevio-intc 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupt-controller: true 24 + 25 + '#interrupt-cells': 26 + const: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupt-controller 32 + - '#interrupt-cells' 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + interrupt-controller@dc000000 { 39 + compatible = "lsi,zevio-intc"; 40 + interrupt-controller; 41 + reg = <0xdc000000 0x1000>; 42 + #interrupt-cells = <1>; 43 + };