Commit 4f879955 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm)
Browse files

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: default avatarRob Herring (Arm) <robh@kernel.org>
parent 50175534
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
TI-NSPIRE interrupt controller

Required properties:
- compatible: Compatible property value should be "lsi,zevio-intc".

- reg: Physical base address of the controller and length of memory mapped
	region.

- interrupt-controller : Identifies the node as an interrupt controller

Example:

interrupt-controller {
	compatible = "lsi,zevio-intc";
	interrupt-controller;
	reg = <0xDC000000 0x1000>;
	#interrupt-cells = <1>;
};
+43 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright 2025 Daniel Tang <dt.tangr@gmail.com>
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/lsi,zevio-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI-NSPIRE Interrupt Controller

maintainers:
  - Daniel Tang <dt.tangr@gmail.com>

description: |
  TI-NSPIRE interrupt controller

properties:
  compatible:
    const: lsi,zevio-intc

  reg:
    maxItems: 1

  interrupt-controller: true

  '#interrupt-cells':
    const: 1

required:
  - compatible
  - reg
  - interrupt-controller
  - '#interrupt-cells'

additionalProperties: false

examples:
  - |
    interrupt-controller@dc000000 {
        compatible = "lsi,zevio-intc";
        interrupt-controller;
        reg = <0xdc000000 0x1000>;
        #interrupt-cells = <1>;
    };