Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson

PATCH Applied Stephan Gerhold 3 participants 13 messages Nov 20, 2019 – Dec 4, 2019

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

PATCH v2 1/4 dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson

Unfortunately the vendor prefix for ST-Ericsson is used very inconsistently. "ste," and "stericsson," are already documented, but some things in the kernel use "st-ericsson," which is not documented yet.

st-ericsson,u8500 is documented in bindings/arm/ux500/boards.txt, and is used to match the machine code and the generic DT cpufreq driver.

Add it to the list of vendor prefixes.

---
Changes in v2: none, added new patch to deprecate other vendor prefixes
v1: https://lore.kernel.org/linux-devicetree/[email protected]/

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 967e78c5ec0a..c9b0bab8ed23 100644
@@ -909,6 +909,8 @@ patternProperties:
     description: ST-Ericsson
   "^stericsson,.*":
     description: ST-Ericsson
+  "^st-ericsson,.*":
+    description: ST-Ericsson
   "^summit,.*":
     description: Summit microelectronics
   "^sunchip,.*":
Signature · 1 line
2.24.0
#1 lore raw

PATCH v2 2/4 dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson"

Until now, device tree bindings for ST-Ericsson have been added inconsistently with one of 3 possible vendor prefixes.

"stericsson" is the most commonly used vendor prefix, so deprecate "ste" and "st-ericsson".

---
Changes in v2: new patch

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index c9b0bab8ed23..490b5cc6b8e6 100644
@@ -907,10 +907,12 @@ patternProperties:
     description: Startek
   "^ste,.*":
     description: ST-Ericsson
+    deprecated: true
   "^stericsson,.*":
     description: ST-Ericsson
   "^st-ericsson,.*":
     description: ST-Ericsson
+    deprecated: true
   "^summit,.*":
     description: Summit microelectronics
   "^sunchip,.*":
Signature · 1 line
2.24.0
Reviewed-by on v2 2/4
#2 lore raw

Re: [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson"

Quoted 8 lines · Stephan Gerhold

Until now, device tree bindings for ST-Ericsson have been added inconsistently with one of 3 possible vendor prefixes.

"stericsson" is the most commonly used vendor prefix, so deprecate "ste" and "st-ericsson".

FWIW this is the byproduct of Ux500 being used as guinea pig and shooting practice target in the early days of Arm Device Tree support. I still think we got out pretty clean :D

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Applied
#3 lore raw

Re: [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson"

In reply to Stephan Gerhold
Quoted 6 lines · Stephan Gerhold

Until now, device tree bindings for ST-Ericsson have been added inconsistently with one of 3 possible vendor prefixes.

"stericsson" is the most commonly used vendor prefix, so deprecate "ste" and "st-ericsson".

Quoted 8 lines

---
Changes in v2: new patch

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

Applied, thanks.

Rob

#4 lore raw

PATCH v2 3/4 dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS

In reply to Stephan Gerhold

The Snowball SBC supported by arch/arm/boot/dts/ste-snowball.dts was made by CALAO Systems and uses the "calaosystems,snowball-a9500" compatible. Prepare for documenting the compatible by adding "calaosystems" to the list of vendor prefixes.

---
Changes in v2: none
v1: https://lore.kernel.org/linux-devicetree/[email protected]/

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 490b5cc6b8e6..b72af2e11b73 100644
@@ -157,6 +157,8 @@ patternProperties:
     description: B&R Industrial Automation GmbH
   "^bticino,.*":
     description: Bticino International
+  "^calaosystems,.*":
+    description: CALAO Systems SAS
   "^calxeda,.*":
     description: Calxeda
   "^capella,.*":
Signature · 1 line
2.24.0
Reviewed-by on v2 3/4
#5 lore raw

Re: [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS

Quoted 6 lines · Stephan Gerhold

The Snowball SBC supported by arch/arm/boot/dts/ste-snowball.dts was made by CALAO Systems and uses the "calaosystems,snowball-a9500" compatible. Prepare for documenting the compatible by adding "calaosystems" to the list of vendor prefixes.

Yours,
Linus Walleij

maintainer Applied
#6 lore raw

Re: [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS

In reply to Stephan Gerhold
Quoted 5 lines · Stephan Gerhold

The Snowball SBC supported by arch/arm/boot/dts/ste-snowball.dts was made by CALAO Systems and uses the "calaosystems,snowball-a9500" compatible. Prepare for documenting the compatible by adding "calaosystems" to the list of vendor prefixes.

Quoted 8 lines

---
Changes in v2: none
v1: https://lore.kernel.org/linux-devicetree/[email protected]/

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

Applied, thanks.

Rob

#7 lore raw

PATCH v2 4/4 dt-bindings: arm: Document compatibles for Ux500 boards

In reply to Stephan Gerhold

The device-specific compatible values used by the Ux500 boards were not documented so far. Add a new simple schema to document them.

---
Changes in v2: none
v1: https://lore.kernel.org/linux-devicetree/[email protected]/

---
 .../devicetree/bindings/arm/ux500.yaml        | 31 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/ux500.yaml
Documentation/devicetree/bindings/arm/ux500.yaml new file +31 -0
new file mode 100644
index 000000000000..006cb4a5f331
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: GPL-2.0-only
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/ux500.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ux500 platforms device tree bindings
+
+maintainers:
+  - Linus Walleij <[email protected]>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+
+      - description: ST-Ericsson HREF (pre-v60)
+        items:
+          - const: st-ericsson,mop500
+          - const: st-ericsson,u8500
+
+      - description: ST-Ericsson HREF (v60+)
+        items:
+          - const: st-ericsson,hrefv60+
+          - const: st-ericsson,u8500
+
+      - description: Calao Systems Snowball
+        items:
+          - const: calaosystems,snowball-a9500
+          - const: st-ericsson,u9500
MAINTAINERS +1 -0
index e4f170d8bc29..a2fcbfca90de 100644
@@ -2020,6 +2020,7 @@ F:	drivers/rtc/rtc-pl031.c
 F:	drivers/watchdog/coh901327_wdt.c
 F:	Documentation/devicetree/bindings/arm/ste-*
 F:	Documentation/devicetree/bindings/arm/ux500/
+F:	Documentation/devicetree/bindings/arm/ux500.yaml
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
 
 ARM/NUVOTON NPCM ARCHITECTURE
Signature · 1 line
2.24.0
Reviewed-by on v2 4/4
#8 lore raw

Re: [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards

Quoted 4 lines · Stephan Gerhold

The device-specific compatible values used by the Ux500 boards were not documented so far. Add a new simple schema to document them.

Nice, thanks!

I expect Rob to merge these patches as they are bindings-only, alternatively I can take them in the Ux500 DTS pull request for the next kernel cycle.

Yours,
Linus Walleij

#9 lore raw

Re: [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards

Quoted 7 lines · Linus Walleij
Quoted 4 lines · Stephan Gerhold

The device-specific compatible values used by the Ux500 boards were not documented so far. Add a new simple schema to document them.

Quoted 8 lines

Nice, thanks!

I expect Rob to merge these patches as they are bindings-only, alternatively I can take them in the Ux500 DTS pull request for the next kernel cycle.

For this patch it would be easier if you take it through the Ux500 tree, as I have another patch series that adds a new board to it.

The vendor-prefix patches are independent, so Rob can merge them if that is easier?

Thanks,
Stephan

#10 lore raw

Re: [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards

Quoted 12 lines · Stephan Gerhold
Quoted 11 lines · Linus Walleij
Quoted 4 lines · Stephan Gerhold

The device-specific compatible values used by the Ux500 boards were not documented so far. Add a new simple schema to document them.

Nice, thanks!

Quoted 7 lines
Quoted 4 lines

I expect Rob to merge these patches as they are bindings-only, alternatively I can take them in the Ux500 DTS pull request for the next kernel cycle.

For this patch it would be easier if you take it through the Ux500 tree, as I have another patch series that adds a new board to it.

OK I applied it for v5.6 on my ux500-dts branch.

Quoted 2 lines

The vendor-prefix patches are independent, so Rob can merge them if that is easier?

Let's see if Rob wants to take them, else I will merge them as well.

Yours,
Linus Walleij

Reviewed-by on v2 1/4
#11 lore raw
In reply to Stephan Gerhold
Quoted 5 lines · Stephan Gerhold

Unfortunately the vendor prefix for ST-Ericsson is used very inconsistently. "ste," and "stericsson," are already documented, but some things in the kernel use "st-ericsson," which is not documented yet.

Quoted 7 lines

st-ericsson,u8500 is documented in bindings/arm/ux500/boards.txt, and is used to match the machine code and the generic DT cpufreq driver.

Add it to the list of vendor prefixes.

Yours,
Linus Walleij

maintainer Applied
#12 lore raw
In reply to Stephan Gerhold
Quoted 11 lines · Stephan Gerhold

Unfortunately the vendor prefix for ST-Ericsson is used very inconsistently. "ste," and "stericsson," are already documented, but some things in the kernel use "st-ericsson," which is not documented yet.

st-ericsson,u8500 is documented in bindings/arm/ux500/boards.txt, and is used to match the machine code and the generic DT cpufreq driver.

Add it to the list of vendor prefixes.

Quoted 8 lines

---
Changes in v2: none, added new patch to deprecate other vendor prefixes
v1: https://lore.kernel.org/linux-devicetree/[email protected]/

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

Applied, thanks.

Rob