Skip to contentSkip to conversation

Fix vendor strings on Rockchip boards

PATCH Applied Tim Lunn 5 participants 15 messages Feb 14, 2024 – Feb 27, 2024

Subsystems (2)
lore
Share & tools
lore

Tim Lunn

author
#0 lore raw

cover Fix vendor strings on Rockchip boards

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Fix the vendor strings to correctly list the manufacturer

Tim Lunn (4):
dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board
dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro
arm64: dts: rockchip: adjust vendor on Banana Pi R2 Pro board
arm64: dts: rockchip: adjust vendor on orangepi rk3399 board

 Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++----
 arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts    | 2 +-
 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.40.1
author
#1 lore raw

PATCH 1/4 dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board

The vendor for this board was incorrectly listed as Rockchip. Fix this now while they are not used anywhere, in the future they may be used by bootloader to select dts.

Update the vendor to Xunlong.

---

 Documentation/devicetree/bindings/arm/rockchip.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -2
index 5cf5cbef2cf5..29f922f3ca4e 100644
@@ -626,9 +626,9 @@ properties:
           - const: openailab,eaidk-610
           - const: rockchip,rk3399
 
-      - description: Orange Pi RK3399 board
+      - description: Xunlong Orange Pi RK3399 board
         items:
-          - const: rockchip,rk3399-orangepi
+          - const: xunlong,rk3399-orangepi
           - const: rockchip,rk3399
 
       - description: Phytec phyCORE-RK3288 Rapid Development Kit
Signature · 1 line
2.40.1
author
#2 lore raw

Re: [PATCH 1/4] dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board

Quoted 7 lines · Tim Lunn

The vendor for this board was incorrectly listed as Rockchip. Fix this now while they are not used anywhere, in the future they may be used by bootloader to select dts.

Update the vendor to Xunlong.

Fixes 08b64bd2c681 ("arm64: dts: rockchip: Add support for the Orange Pi RK3399 board")
Quoted 21 lines

---

  Documentation/devicetree/bindings/arm/rockchip.yaml | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -2
index 5cf5cbef2cf5..29f922f3ca4e 100644
@@ -626,9 +626,9 @@ properties:
            - const: openailab,eaidk-610
            - const: rockchip,rk3399
 
-      - description: Orange Pi RK3399 board
+      - description: Xunlong Orange Pi RK3399 board
          items:
-          - const: rockchip,rk3399-orangepi
+          - const: xunlong,rk3399-orangepi
            - const: rockchip,rk3399
 
        - description: Phytec phyCORE-RK3288 Rapid Development Kit
maintainer Reviewed-by on v1 1/4
#3 lore raw

Re: [PATCH 1/4] dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board

In reply to Tim Lunn
Quoted 4 lines · Tim Lunn

The vendor for this board was incorrectly listed as Rockchip. Fix this now while they are not used anywhere, in the future they may be used by bootloader to select dts.

Quoted 8 lines

Update the vendor to Xunlong.

---

 Documentation/devicetree/bindings/arm/rockchip.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
author
#4 lore raw

PATCH 2/4 dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro

In reply to Tim Lunn

The vendor for this board was incorrectly listed as Rockchip. Fix this now while they are not used anywhere, in the future they may be used by bootloader to select dts.

Update the vendor to Sinovoip.

---

 Documentation/devicetree/bindings/arm/rockchip.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -2
index 29f922f3ca4e..89261b9601ce 100644
@@ -940,9 +940,9 @@ properties:
           - const: rockchip,rk3568-evb1-v10
           - const: rockchip,rk3568
 
-      - description: Rockchip RK3568 Banana Pi R2 Pro
+      - description: Sinovoip RK3568 Banana Pi R2 Pro
         items:
-          - const: rockchip,rk3568-bpi-r2pro
+          - const: sinovoip,rk3568-bpi-r2pro
           - const: rockchip,rk3568
 
       - description: Sonoff iHost Smart Home Hub
Signature · 1 line
2.40.1
author
#5 lore raw

Re: [PATCH 2/4] dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro

Quoted 7 lines · Tim Lunn

The vendor for this board was incorrectly listed as Rockchip. Fix this now while they are not used anywhere, in the future they may be used by bootloader to select dts.

Update the vendor to Sinovoip.

Fixes 8ad885126daa ("dt-bindings: rockchip: Add BananaPi R2 Pro Board")
Quoted 21 lines

---

  Documentation/devicetree/bindings/arm/rockchip.yaml | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/rockchip.yaml +2 -2
index 29f922f3ca4e..89261b9601ce 100644
@@ -940,9 +940,9 @@ properties:
            - const: rockchip,rk3568-evb1-v10
            - const: rockchip,rk3568
 
-      - description: Rockchip RK3568 Banana Pi R2 Pro
+      - description: Sinovoip RK3568 Banana Pi R2 Pro
          items:
-          - const: rockchip,rk3568-bpi-r2pro
+          - const: sinovoip,rk3568-bpi-r2pro
            - const: rockchip,rk3568
 
        - description: Sonoff iHost Smart Home Hub
maintainer Reviewed-by on v1 2/4
#6 lore raw

Re: [PATCH 2/4] dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro

In reply to Tim Lunn
Quoted 4 lines · Tim Lunn

The vendor for this board was incorrectly listed as Rockchip. Fix this now while they are not used anywhere, in the future they may be used by bootloader to select dts.

Quoted 8 lines

Update the vendor to Sinovoip.

---

 Documentation/devicetree/bindings/arm/rockchip.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
author
#7 lore raw

PATCH 3/4 arm64: dts: rockchip: adjust vendor on Banana Pi R2 Pro board

In reply to Tim Lunn

Adjust compatible string to match the board vendor of Sinovoip

---

 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +1 -1
index f9127ddfbb7d..7b5f3904ef61 100644
@@ -13,7 +13,7 @@
 
 / {
 	model = "Bananapi-R2 Pro (RK3568) DDR4 Board";
-	compatible = "rockchip,rk3568-bpi-r2pro", "rockchip,rk3568";
+	compatible = "sinovoip,rk3568-bpi-r2pro", "rockchip,rk3568";
 
 	aliases {
 		ethernet0 = &gmac0;
Signature · 1 line
2.40.1
author
#8 lore raw

PATCH 4/4 arm64: dts: rockchip: adjust vendor on orangepi rk3399 board

In reply to Tim Lunn

Adjust compatible string to match the board vendor of Xunlong

---

 arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts +1 -1
index e7551449e718..e26e2d86279c 100644
@@ -14,7 +14,7 @@
 
 / {
 	model = "Orange Pi RK3399 Board";
-	compatible = "rockchip,rk3399-orangepi", "rockchip,rk3399";
+	compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399";
 
 	aliases {
 		ethernet0 = &gmac;
Signature · 1 line
2.40.1
Reviewed-by on the v1 series
#9 lore raw
In reply to Tim Lunn

Hello Tim,

Quoted 4 lines · Tim Lunn

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Fix the vendor strings to correctly list the manufacturer

Just checking, have you verified that the old, incorrect "compatible" strings from the board dts files aren't used anywhere in the kernel code, such as in some drivers?

Otherwise, for the entire series:

Quoted 10 lines

Tim Lunn (4):
dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board
dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro
arm64: dts: rockchip: adjust vendor on Banana Pi R2 Pro board
arm64: dts: rockchip: adjust vendor on orangepi rk3399 board

 Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++----
 arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts    | 2 +-
 arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts  | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
author
#10 lore raw

Hi Dragan,

Quoted 12 lines · Dragan Simic

Hello Tim,

Quoted 4 lines · Tim Lunn

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Fix the vendor strings to correctly list the manufacturer

Just checking, have you verified that the old, incorrect "compatible" strings from the board dts files aren't used anywhere in the kernel code, such as in some drivers?

Yes I checked that, there are no remaining references to the old/incorrect compatible strings in kernel code

Regards
   Tim

Quoted 14 lines

Otherwise, for the entire series:

Quoted 10 lines

Tim Lunn (4):
  dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board
  dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro
  arm64: dts: rockchip: adjust vendor on Banana Pi R2 Pro board
  arm64: dts: rockchip: adjust vendor on orangepi rk3399 board

 Documentation/devicetree/bindings/arm/rockchip.yaml | 8 ++++---- arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts    | 2 +- arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts  | 2 +-

 3 files changed, 6 insertions(+), 6 deletions(-)
Acked-by
#11 lore raw
Quoted 9 lines · Tim Lunn

Hi Dragan,

Quoted 6 lines · Dragan Simic

Hello Tim,

Quoted 3 lines · Tim Lunn

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Fix the vendor strings to correctly list the manufacturer

Just checking, have you verified that the old, incorrect "compatible" strings from the board dts files aren't used anywhere in the kernel code, such as in some drivers?

Yes I checked that, there are no remaining references to the old/incorrect compatible strings in kernel code

What about other code? Like a BSD or a bootloader? If nothing is using them

Fixes tags I think wouldn't go amiss, but I'm not expecting a resend with them.

Cheers,
Conor.

#12 lore raw

Hello Conor,

Quoted 12 lines · Conor Dooley
Quoted 11 lines · Tim Lunn
Quoted 10 lines · Dragan Simic
Quoted 4 lines · Tim Lunn

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Fix the vendor strings to correctly list the manufacturer

Just checking, have you verified that the old, incorrect "compatible" strings from the board dts files aren't used anywhere in the kernel code, such as in some drivers?

Quoted 6 lines
Quoted 2 lines

Yes I checked that, there are no remaining references to the old/incorrect compatible strings in kernel code

What about other code? Like a BSD or a bootloader? If nothing is using them

I just quickly checked U-Boot and it's fine.

Quoted 2 lines

Fixes tags I think wouldn't go amiss, but I'm not expecting a resend with them.

author
#13 lore raw
In reply to Conor Dooley

Hi Conor,

Quoted 15 lines · Conor Dooley
Quoted 14 lines · Tim Lunn

Hi Dragan,

Quoted 11 lines · Dragan Simic

Hello Tim,

Quoted 4 lines · Tim Lunn

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Fix the vendor strings to correctly list the manufacturer

Just checking, have you verified that the old, incorrect "compatible" strings from the board dts files aren't used anywhere in the kernel code, such as in some drivers?

Quoted 8 lines
Quoted 2 lines

Yes I checked that, there are no remaining references to the old/incorrect compatible strings in kernel code

What about other code? Like a BSD or a bootloader? If nothing is using them

Fixes tags I think wouldn't go amiss, but I'm not expecting a resend with them.

I've added the fixes tags to the email thread.

Regards
  Tim

Quoted 3 lines

Cheers,
Conor.

maintainer Applied
#14 lore raw
In reply to Tim Lunn
Quoted 6 lines · Tim Lunn

A couple of rockchip boards incorrectly list their vendor as Rockchip when they are in fact not manufactured by Rockchip.

Fix the vendor strings to correctly list the manufacturer

Quoted 7 lines

Tim Lunn (4):
dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board
dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro
arm64: dts: rockchip: adjust vendor on Banana Pi R2 Pro board
arm64: dts: rockchip: adjust vendor on orangepi rk3399 board

[...]

Applied, thanks!

[1/4] dt-bindings: arm: rockchip: Correct vendor for Orange Pi RK3399 board

      commit: db51e128df1010653aab71c07e06280e37fecaeb
[2/4] dt-bindings: arm: rockchip: Correct vendor for Banana Pi R2 Pro
      commit: a03fd4b3bebc9775c921a965c4c22b1a0d3a2503
[3/4] arm64: dts: rockchip: adjust vendor on Banana Pi R2 Pro board
      commit: 437644753208092f642b7669c69da606aa07dfb4
[4/4] arm64: dts: rockchip: adjust vendor on orangepi rk3399 board
      commit: 7ec958ed6a32daad36918d200b594f33cb4e0dd7

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>