Skip to contentSkip to conversation

dt-bindings: i3c: drop "master" node name suffix

PATCH Applied Krzysztof Kozlowski 6 participants 11 messages Jan 17, 2024 – Feb 18, 2024

Subsystems (8)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 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".

---
 Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml | 2 +-
 Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml    | 2 +-
 Documentation/devicetree/bindings/i3c/i3c.yaml                | 4 ++--
 Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml       | 2 +-
 Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 2 +-
 Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml +1 -1
index fcc3dbff9c9a..47be5d9a32d4 100644
@@ -57,7 +57,7 @@ examples:
   - |
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
-    i3c-master at 2000 {
+    i3c at 2000 {
         compatible = "aspeed,ast2600-i3c";
         reg = <0x2000 0x1000>;
         #address-cells = <3>;
Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml +1 -1
index cc40d25358ec..cad6d53d0e2e 100644
@@ -41,7 +41,7 @@ unevaluatedProperties: false
 
 examples:
   - |
-    i3c-master at d040000 {
+    i3c at d040000 {
         compatible = "cdns,i3c-master";
         clocks = <&coreclock>, <&i3csysclock>;
         clock-names = "pclk", "sysclk";
Documentation/devicetree/bindings/i3c/i3c.yaml +2 -2
index c816e295d565..c7900a1da8d9 100644
@@ -17,7 +17,7 @@ description: |
 
 properties:
   $nodename:
-    pattern: "^i3c-master@[0-9a-f]+$"
+    pattern: "^i3c@[0-9a-f]+$"
 
   "#address-cells":
     const: 3
@@ -153,7 +153,7 @@ additionalProperties: true
 
 examples:
   - |
-    i3c-master at d040000 {
+    i3c at d040000 {
         compatible = "cdns,i3c-master";
         clocks = <&coreclock>, <&i3csysclock>;
         clock-names = "pclk", "sysclk";
Documentation/devicetree/bindings/i3c/mipi-i3c-hci.yaml +1 -1
index 5dda8cb44cdb..39bb1a1784c9 100644
@@ -43,7 +43,7 @@ unevaluatedProperties: false
 
 examples:
   - |
-    i3c-master at a0000000 {
+    i3c at a0000000 {
       compatible = "mipi-i3c-hci";
       reg = <0xa0000000 0x2000>;
       interrupts = <89>;
Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml +1 -1
index 133855f11b4f..c56ff77677f1 100644
@@ -48,7 +48,7 @@ unevaluatedProperties: false
 
 examples:
   - |
-    i3c-master at a0000000 {
+    i3c at a0000000 {
         compatible = "silvaco,i3c-master-v1";
         clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>;
         clock-names = "pclk", "fast_clk", "slow_clk";
Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml +1 -1
index 7a76fd32962a..c0e805e531be 100644
@@ -35,7 +35,7 @@ unevaluatedProperties: false
 
 examples:
   - |
-    i3c-master at 2000 {
+    i3c at 2000 {
         compatible = "snps,dw-i3c-master-1.00a";
         #address-cells = <3>;
         #size-cells = <0>;
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/3 arm64: dts: imx93: drop "master" I3C node name suffix

Following change in the I3C bindings, the "master" suffix in I3C controller node name is discouraged (it is "controller" now) and not accurate (if device supports also target mode).

---

The change can be applied through independent trees, if the I3C bindings change is applied. Therefore please take it once I3C bindings is applied.

---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx93.dtsi +2 -2
index 8f2e7c42ad6e..601c94e1fac8 100644
@@ -294,7 +294,7 @@ tpm2: pwm at 44320000 {
 				status = "disabled";
 			};
 
-			i3c1: i3c-master at 44330000 {
+			i3c1: i3c at 44330000 {
 				compatible = "silvaco,i3c-master-v1";
 				reg = <0x44330000 0x10000>;
 				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
@@ -671,7 +671,7 @@ tpm6: pwm at 42510000 {
 				status = "disabled";
 			};
 
-			i3c2: i3c-master at 42520000 {
+			i3c2: i3c at 42520000 {
 				compatible = "silvaco,i3c-master-v1";
 				reg = <0x42520000 0x10000>;
 				interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.34.1
Applied
#2 lore raw

Re: [PATCH 2/3] arm64: dts: imx93: drop "master" I3C node name suffix

Quoted 5 lines · Krzysztof Kozlowski

Following change in the I3C bindings, the "master" suffix in I3C controller node name is discouraged (it is "controller" now) and not accurate (if device supports also target mode).

Applied, thanks!

#3 lore raw

PATCH 3/3 arm64: dts: intel: agilex5: drop "master" I3C node name suffix

In reply to Krzysztof Kozlowski

Following change in the I3C bindings, the "master" suffix in I3C controller node name is discouraged (it is "controller" now) and not accurate (if device supports also target mode).

---

The change can be applied through independent trees, if the I3C bindings change is applied. Therefore please take it once I3C bindings is applied.

---
 arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi +2 -2
index d66d425e45b7..1162978329c1 100644
@@ -202,7 +202,7 @@ i2c4: i2c at 10c02c00 {
 			status = "disabled";
 		};
 
-		i3c0: i3c-master at 10da0000 {
+		i3c0: i3c at 10da0000 {
 			compatible = "snps,dw-i3c-master-1.00a";
 			reg = <0x10da0000 0x1000>;
 			#address-cells = <3>;
@@ -212,7 +212,7 @@ i3c0: i3c-master at 10da0000 {
 			status = "disabled";
 		};
 
-		i3c1: i3c-master at 10da1000 {
+		i3c1: i3c at 10da1000 {
 			compatible = "snps,dw-i3c-master-1.00a";
 			reg = <0x10da1000 0x1000>;
 			#address-cells = <3>;
Signature · 1 line
2.34.1
Applied
#4 lore raw

Re: [PATCH 3/3] arm64: dts: intel: agilex5: drop "master" I3C node name suffix

Quoted 6 lines · Krzysztof Kozlowski

Following change in the I3C bindings, the "master" suffix in I3C controller node name is discouraged (it is "controller" now) and not accurate (if device supports also target mode).

Quoted 9 lines

---

The change can be applied through independent trees, if the I3C bindings change is applied. Therefore please take it once I3C bindings is applied.

---
  arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Applied.

Thanks,
Dinh

maintainer Acked-by on v1 1/3
#5 lore raw
In reply to Krzysztof Kozlowski

Hi Krzysztof,

Quoted 6 lines

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".

Sounds good, thanks!

For the ast2600-i3c changes:

Cheers,

Jeremy

Acked-by on v1 1/3
#6 lore raw
In reply to Krzysztof Kozlowski
Quoted 8 lines · Krzysztof Kozlowski

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".

Cheers,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20240117/3b3b8aaa/attachment-0001.sig>

#7 lore raw
In reply to Krzysztof Kozlowski
Quoted 9 lines · Krzysztof Kozlowski

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".

---

Rob, can you pick this one up? It seems Alexandre did not take it.

Best regards,
Krzysztof

#8 lore raw
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Krzysztof Kozlowski

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".

Quoted 5 lines
Quoted 2 lines

---

Rob, can you pick this one up? It seems Alexandre did not take it.

I'll take it but I don't think it is super urgent.

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#9 lore raw
Quoted 9 lines · Alexandre Belloni
Quoted 8 lines · Krzysztof Kozlowski
Quoted 7 lines · Krzysztof Kozlowski

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".

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

---

Rob, can you pick this one up? It seems Alexandre did not take it.

I'll take it but I don't think it is super urgent.

It's not, but it was almost two weeks and we are also getting to end of applying cycle of some maintainers, so I was going through my pending stuff. Apologies if this was too pingi-ping.

Best regards,
Krzysztof

maintainer Applied
#10 lore raw

Re: (subset) [PATCH 1/3] dt-bindings: i3c: drop "master" node name suffix

In reply to Krzysztof Kozlowski
Quoted 8 lines · Krzysztof Kozlowski

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".

[...]

Applied, thanks!

[1/3] dt-bindings: i3c: drop "master" node name suffix

      https://git.kernel.org/abelloni/c/c53611f2e27a

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com