Skip to content

Commit c55cddf

Browse files
robherringdlezcano
authored andcommitted
dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema
Convert the Conexant Digicolor SoCs Timer binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Acked-by: Baruch Siach <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent c3205f0 commit c55cddf

File tree

2 files changed

+49
-18
lines changed

2 files changed

+49
-18
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/cnxt,cx92755-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Conexant Digicolor SoCs Timer Controller
8+
9+
maintainers:
10+
- Baruch Siach <[email protected]>
11+
12+
properties:
13+
compatible:
14+
const: cnxt,cx92755-timer
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
description: Contains 8 interrupts, one for each timer
21+
items:
22+
- description: interrupt for timer 0
23+
- description: interrupt for timer 1
24+
- description: interrupt for timer 2
25+
- description: interrupt for timer 3
26+
- description: interrupt for timer 4
27+
- description: interrupt for timer 5
28+
- description: interrupt for timer 6
29+
- description: interrupt for timer 7
30+
31+
clocks:
32+
maxItems: 1
33+
34+
required:
35+
- compatible
36+
- reg
37+
- interrupts
38+
- clocks
39+
40+
additionalProperties: false
41+
42+
examples:
43+
- |
44+
timer@f0000fc0 {
45+
compatible = "cnxt,cx92755-timer";
46+
reg = <0xf0000fc0 0x40>;
47+
interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
48+
clocks = <&main_clk>;
49+
};

Documentation/devicetree/bindings/timer/digicolor-timer.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)