Skip to content

Commit 6742ca6

Browse files
robherringalexandrebelloni
authored andcommitted
dt-bindings: i3c: Convert snps,dw-i3c-master to DT schema
Convert the Synopsys Designware I3C master to DT schema format. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220422192236.2594577-1-robh@kernel.org
1 parent 4bd69ec commit 6742ca6

File tree

2 files changed

+52
-41
lines changed

2 files changed

+52
-41
lines changed

Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/i3c/snps,dw-i3c-master.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Synopsys DesignWare I3C master block
8+
9+
maintainers:
10+
- Alexandre Belloni <alexandre.belloni@bootlin.com>
11+
12+
allOf:
13+
- $ref: i3c.yaml#
14+
15+
properties:
16+
compatible:
17+
const: snps,dw-i3c-master-1.00a
18+
19+
reg:
20+
maxItems: 1
21+
22+
clocks:
23+
maxItems: 1
24+
25+
interrupts:
26+
maxItems: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- clocks
32+
- interrupts
33+
34+
unevaluatedProperties: false
35+
36+
examples:
37+
- |
38+
i3c-master@2000 {
39+
compatible = "snps,dw-i3c-master-1.00a";
40+
#address-cells = <3>;
41+
#size-cells = <0>;
42+
reg = <0x02000 0x1000>;
43+
interrupts = <0>;
44+
clocks = <&i3cclk>;
45+
46+
eeprom@57{
47+
compatible = "atmel,24c01";
48+
reg = <0x57 0x0 0x10>;
49+
pagesize = <0x8>;
50+
};
51+
};
52+
...

0 commit comments

Comments
 (0)