Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: Add Xuantie Semiconductor

PATCH In review GUO Ren (XuanTie) 3 participants 4 messages Aug 17 – Aug 20 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: vendor-prefixes: Add Xuantie Semiconductor

Add the xuantie vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd., which provides the XuanTie processor IP.

---
Add xuantie as the vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd.

The vendor information is available from the Xuantie declaration page [1].

[1] https://www.xrvm.com/declaration

Changelog
V2:
- Remove "Add Xuantie C906/C908/C910/C920 compatibles"

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 396044f368e7..89391cb467d5 100644
@@ -1905,6 +1905,8 @@ patternProperties:
     description: Xilinx
   "^xnano,.*":
     description: Xnano
+  "^xuantie,.*":
+    description: Shanghai Xuantie Semiconductor Technology Co., Ltd.
   "^xunlong,.*":
     description: Shenzhen Xunlong Software CO.,Limited
   "^xylon,.*":

---
base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
change-id: 20260817-xt_vendor_v2-cc721afc0de2

Best regards,

Signature · 1 line
GUO Ren (XuanTie) <[email protected]>
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] Introduces a duplicate and unused vendor prefix (`xuantie`) for a vendor that already uses the…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Introduces a duplicate and unused vendor prefix (xuantie) for a vendor that already uses the established thead prefix. --

--- Patch [1]: [PATCH v2] dt-bindings: vendor-prefixes: Add Xuantie Semiconductor --- commit 9230660a7e40e4df99ae36ef91b16bfb20d60e44
Author: GUO Ren (XuanTie) <[email protected]>

dt-bindings: vendor-prefixes: Add Xuantie Semiconductor

This commit adds xuantie as a new vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd. in the devicetree bindings.

Quoted 3 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0 -0

[ ... ]

Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 1909

Quoted 6 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -1905,6 +1905,8 @@ patternProperties:
     description: Xilinx
   "^xnano,.*":
     description: Xnano
+  "^xuantie,.*":
+    description: Shanghai Xuantie Semiconductor Technology Co., Ltd.

[Severity: Low]
Is this vendor prefix redundant given the established thead prefix?

The kernel already relies heavily on the thead prefix for T-Head/XuanTie processor IPs (like thead,c906, thead,th1520, and thead,c920). Adding multiple vendor prefixes for the same company fragments the devicetree namespace.

Also, since the actual compatible strings using this prefix were removed in V2 (as noted in the changelog), the xuantie prefix is currently completely unused. Would it be better to drop this patch entirely and continue using the established thead prefix?

Quoted 3 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0 -0
   "^xunlong,.*":
     description: Shenzhen Xunlong Software CO.,Limited
   "^xylon,.*":
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
In reply to GUO Ren (XuanTie)
Quoted 11 lines · GUO Ren (XuanTie)

Add the xuantie vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd., which provides the XuanTie processor IP.

---
Add xuantie as the vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd.

The vendor information is available from the Xuantie declaration page [1].

Quoted 9 lines

[1] https://www.xrvm.com/declaration

Changelog
V2:
- Remove "Add Xuantie C906/C908/C910/C920 compatibles"

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

There was v2 of this and I already replied to it.

Anyway, this without user makes no sense. Post your bindings WITH users.

Best regards,
Krzysztof

author
#3 lore raw
Quoted 23 lines · Krzysztof Kozlowski
Quoted 11 lines · GUO Ren (XuanTie)

Add the xuantie vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd., which provides the XuanTie processor IP.

---
Add xuantie as the vendor prefix for Shanghai Xuantie Semiconductor Technology Co., Ltd.

The vendor information is available from the Xuantie declaration page [1].

Quoted 9 lines

[1] https://www.xrvm.com/declaration

Changelog
V2:
- Remove "Add Xuantie C906/C908/C910/C920 compatibles"

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 3 lines

There was v2 of this and I already replied to it.

Anyway, this without user makes no sense. Post your bindings WITH users.

Okay, Thx for your review.

Signature · 2 lines
Best Regards
 Guo Ren