linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson
@ 2019-11-20 12:17 Stephan Gerhold
  2019-11-20 12:17 ` [PATCH 2/3] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephan Gerhold @ 2019-11-20 12:17 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring
  Cc: Mark Rutland, linux-arm-kernel, devicetree, linux-kernel,
	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.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 967e78c5ec0a..c9b0bab8ed23 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -909,6 +909,8 @@ patternProperties:
     description: ST-Ericsson
   "^stericsson,.*":
     description: ST-Ericsson
+  "^st-ericsson,.*":
+    description: ST-Ericsson
   "^summit,.*":
     description: Summit microelectronics
   "^sunchip,.*":
-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/3] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS
  2019-11-20 12:17 [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
@ 2019-11-20 12:17 ` Stephan Gerhold
  2019-11-20 12:17 ` [PATCH 3/3] dt-bindings: arm: Document compatibles for Ux500 boards Stephan Gerhold
  2019-11-20 13:33 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Stephan Gerhold @ 2019-11-20 12:17 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring
  Cc: Mark Rutland, linux-arm-kernel, devicetree, linux-kernel,
	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.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index c9b0bab8ed23..cfc3376309b9 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -157,6 +157,8 @@ patternProperties:
     description: B&R Industrial Automation GmbH
   "^bticino,.*":
     description: Bticino International
+  "^calaosystems,.*":
+    description: CALAO Systems SAS
   "^calxeda,.*":
     description: Calxeda
   "^capella,.*":
-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 3/3] dt-bindings: arm: Document compatibles for Ux500 boards
  2019-11-20 12:17 [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
  2019-11-20 12:17 ` [PATCH 2/3] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
@ 2019-11-20 12:17 ` Stephan Gerhold
  2019-11-20 13:33 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Stephan Gerhold @ 2019-11-20 12:17 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring
  Cc: Mark Rutland, linux-arm-kernel, devicetree, linux-kernel,
	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.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 .../devicetree/bindings/arm/ux500.yaml        | 31 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/ux500.yaml

diff --git a/Documentation/devicetree/bindings/arm/ux500.yaml b/Documentation/devicetree/bindings/arm/ux500.yaml
new file mode 100644
index 000000000000..006cb4a5f331
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/ux500.yaml
@@ -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 <linus.walleij@linaro.org>
+
+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
diff --git a/MAINTAINERS b/MAINTAINERS
index e4f170d8bc29..a2fcbfca90de 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson
  2019-11-20 12:17 [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
  2019-11-20 12:17 ` [PATCH 2/3] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
  2019-11-20 12:17 ` [PATCH 3/3] dt-bindings: arm: Document compatibles for Ux500 boards Stephan Gerhold
@ 2019-11-20 13:33 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-11-20 13:33 UTC (permalink / raw)
  To: Stephan Gerhold
  Cc: Linus Walleij, Mark Rutland,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	devicetree, linux-kernel

On Wed, Nov 20, 2019 at 6:19 AM Stephan Gerhold <stephan@gerhold.net> wrote:
>
> 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.
>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index 967e78c5ec0a..c9b0bab8ed23 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -909,6 +909,8 @@ patternProperties:
>      description: ST-Ericsson
>    "^stericsson,.*":
>      description: ST-Ericsson
> +  "^st-ericsson,.*":
> +    description: ST-Ericsson

Please add 'deprecated: true' to the 2 that are not preferred. Looks
like 'stericsson' should be preferred as it is used the most.

Rob

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-20 13:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 12:17 [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
2019-11-20 12:17 ` [PATCH 2/3] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
2019-11-20 12:17 ` [PATCH 3/3] dt-bindings: arm: Document compatibles for Ux500 boards Stephan Gerhold
2019-11-20 13:33 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).