Skip to content

Commit 60c8a40

Browse files
i-shihaoAndi Shyti
authored andcommitted
dt-bindings: i2c: cnxt,cx92755-i2c: Convert to DT schema
Convert the Conexant Digicolor I2C bindings to DT schema. Signed-off-by: Shi Hao <i.shihao.999@gmail.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260411112451.35095-1-i.shihao.999@gmail.com
1 parent d98f6fc commit 60c8a40

2 files changed

Lines changed: 49 additions & 25 deletions

File tree

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 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/i2c/cnxt,cx92755-i2c.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Conexant Digicolor I2C controller
8+
9+
allOf:
10+
- $ref: /schemas/i2c/i2c-controller.yaml#
11+
12+
maintainers:
13+
- Baruch Siach <baruch@tkos.co.il>
14+
15+
properties:
16+
compatible:
17+
const: cnxt,cx92755-i2c
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
clocks:
26+
maxItems: 1
27+
28+
clock-frequency:
29+
default: 100000
30+
31+
required:
32+
- compatible
33+
- reg
34+
- interrupts
35+
- clocks
36+
37+
unevaluatedProperties: false
38+
39+
examples:
40+
- |
41+
i2c@f0000120 {
42+
compatible = "cnxt,cx92755-i2c";
43+
reg = <0xf0000120 0x10>;
44+
interrupts = <28>;
45+
clocks = <&main_clk>;
46+
clock-frequency = <100000>;
47+
#address-cells = <1>;
48+
#size-cells = <0>;
49+
};

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

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

0 commit comments

Comments
 (0)