dt-bindings: interrupt-controller: Convert cnxt,cx92755-ic to DT schema

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

Acked-by: Baruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/20250505144644.1288617-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Rob Herring (Arm) 2025-05-05 09:46:43 -05:00
parent f2e3df345c
commit 66eb172b5e
2 changed files with 47 additions and 21 deletions

View file

@ -0,0 +1,47 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/cnxt,cx92755-ic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Conexant Digicolor Interrupt Controller
maintainers:
- Baruch Siach <baruch@tkos.co.il>
description: Conexant Digicolor Interrupt Controller
properties:
compatible:
const: cnxt,cx92755-ic
reg:
maxItems: 1
interrupt-controller: true
'#interrupt-cells':
const: 1
syscon:
description: A phandle to the syscon node describing UC registers
$ref: /schemas/types.yaml#/definitions/phandle
required:
- compatible
- reg
- interrupt-controller
- '#interrupt-cells'
- syscon
additionalProperties: false
examples:
- |
interrupt-controller@f0000040 {
compatible = "cnxt,cx92755-ic";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0xf0000040 0x40>;
syscon = <&uc_regs>;
};

View file

@ -1,21 +0,0 @@
Conexant Digicolor Interrupt Controller
Required properties:
- compatible : should be "cnxt,cx92755-ic"
- reg : Specifies base physical address and size of the interrupt controller
registers (IC) area
- interrupt-controller : Identifies the node as an interrupt controller
- #interrupt-cells : Specifies the number of cells needed to encode an
interrupt source. The value shall be 1.
- syscon: A phandle to the syscon node describing UC registers
Example:
intc: interrupt-controller@f0000040 {
compatible = "cnxt,cx92755-ic";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0xf0000040 0x40>;
syscon = <&uc_regs>;
};