Skip to content

Commit cb0a395

Browse files
krzkalexandrebelloni
authored andcommitted
dt-bindings: i3c: drop "master" node name suffix
Drop the requirement of "-master" suffix in node names because: 1. "Master" word is discouraged and MIPI Alliance renamed it to "Controller". 2. Some devices can operate in Controller (Master) or Target mode, thus the name is not accurate in such cases. 3. Other buses, like I2C controllers, use simple "i2c". Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Jeremy Kerr <jk@codeconstruct.com.au> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240117075618.81932-1-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 6613476 commit cb0a395

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ examples:
5757
- |
5858
#include <dt-bindings/interrupt-controller/arm-gic.h>
5959
60-
i3c-master@2000 {
60+
i3c@2000 {
6161
compatible = "aspeed,ast2600-i3c";
6262
reg = <0x2000 0x1000>;
6363
#address-cells = <3>;

Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ unevaluatedProperties: false
4141

4242
examples:
4343
- |
44-
i3c-master@d040000 {
44+
i3c@d040000 {
4545
compatible = "cdns,i3c-master";
4646
clocks = <&coreclock>, <&i3csysclock>;
4747
clock-names = "pclk", "sysclk";

Documentation/devicetree/bindings/i3c/i3c.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ description: |
1717
1818
properties:
1919
$nodename:
20-
pattern: "^i3c-master@[0-9a-f]+$"
20+
pattern: "^i3c@[0-9a-f]+$"
2121

2222
"#address-cells":
2323
const: 3
@@ -153,7 +153,7 @@ additionalProperties: true
153153

154154
examples:
155155
- |
156-
i3c-master@d040000 {
156+
i3c@d040000 {
157157
compatible = "cdns,i3c-master";
158158
clocks = <&coreclock>, <&i3csysclock>;
159159
clock-names = "pclk", "sysclk";

Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ unevaluatedProperties: false
4343

4444
examples:
4545
- |
46-
i3c-master@a0000000 {
46+
i3c@a0000000 {
4747
compatible = "mipi-i3c-hci";
4848
reg = <0xa0000000 0x2000>;
4949
interrupts = <89>;

Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ unevaluatedProperties: false
4848

4949
examples:
5050
- |
51-
i3c-master@a0000000 {
51+
i3c@a0000000 {
5252
compatible = "silvaco,i3c-master-v1";
5353
clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>;
5454
clock-names = "pclk", "fast_clk", "slow_clk";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ unevaluatedProperties: false
3535

3636
examples:
3737
- |
38-
i3c-master@2000 {
38+
i3c@2000 {
3939
compatible = "snps,dw-i3c-master-1.00a";
4040
#address-cells = <3>;
4141
#size-cells = <0>;

0 commit comments

Comments
 (0)