* [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson"
2019-11-20 18:18 [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
@ 2019-11-20 18:18 ` Stephan Gerhold
2019-11-20 20:20 ` Linus Walleij
2019-12-04 19:01 ` Rob Herring
2019-11-20 18:18 ` [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
` (3 subsequent siblings)
4 siblings, 2 replies; 13+ messages in thread
From: Stephan Gerhold @ 2019-11-20 18:18 UTC (permalink / raw)
To: Linus Walleij, Rob Herring
Cc: Mark Rutland, linux-arm-kernel, devicetree, linux-kernel,
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".
Suggested-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
Changes in v2: new patch
---
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..490b5cc6b8e6 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -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,.*":
--
2.24.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson"
2019-11-20 18:18 ` [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson" Stephan Gerhold
@ 2019-11-20 20:20 ` Linus Walleij
2019-12-04 19:01 ` Rob Herring
1 sibling, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2019-11-20 20:20 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Rob Herring, Mark Rutland, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Nov 20, 2019 at 7:19 PM Stephan Gerhold <stephan@gerhold.net> wrote:
> 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".
>
> Suggested-by: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson"
2019-11-20 18:18 ` [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson" Stephan Gerhold
2019-11-20 20:20 ` Linus Walleij
@ 2019-12-04 19:01 ` Rob Herring
1 sibling, 0 replies; 13+ messages in thread
From: Rob Herring @ 2019-12-04 19:01 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Linus Walleij, Mark Rutland, linux-arm-kernel, devicetree,
linux-kernel, Stephan Gerhold
On Wed, 20 Nov 2019 19:18:55 +0100, Stephan Gerhold wrote:
> 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".
>
> Suggested-by: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
> Changes in v2: new patch
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS
2019-11-20 18:18 [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
2019-11-20 18:18 ` [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson" Stephan Gerhold
@ 2019-11-20 18:18 ` Stephan Gerhold
2019-11-20 20:21 ` Linus Walleij
2019-12-04 19:01 ` Rob Herring
2019-11-20 18:18 ` [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards Stephan Gerhold
` (2 subsequent siblings)
4 siblings, 2 replies; 13+ messages in thread
From: Stephan Gerhold @ 2019-11-20 18:18 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>
---
Changes in v2: none
v1: https://lore.kernel.org/linux-devicetree/20191120121720.72845-2-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 490b5cc6b8e6..b72af2e11b73 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 related [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS
2019-11-20 18:18 ` [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
@ 2019-11-20 20:21 ` Linus Walleij
2019-12-04 19:01 ` Rob Herring
1 sibling, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2019-11-20 20:21 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Rob Herring, Mark Rutland, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Nov 20, 2019 at 7:19 PM Stephan Gerhold <stephan@gerhold.net> wrote:
> 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS
2019-11-20 18:18 ` [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
2019-11-20 20:21 ` Linus Walleij
@ 2019-12-04 19:01 ` Rob Herring
1 sibling, 0 replies; 13+ messages in thread
From: Rob Herring @ 2019-12-04 19:01 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Linus Walleij, Mark Rutland, linux-arm-kernel, devicetree,
linux-kernel, Stephan Gerhold
On Wed, 20 Nov 2019 19:18:56 +0100, Stephan Gerhold wrote:
> 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>
> ---
> Changes in v2: none
> v1: https://lore.kernel.org/linux-devicetree/20191120121720.72845-2-stephan@gerhold.net/
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards
2019-11-20 18:18 [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
2019-11-20 18:18 ` [PATCH v2 2/4] dt-bindings: vendor-prefixes: Deprecate "ste" and "st-ericsson" Stephan Gerhold
2019-11-20 18:18 ` [PATCH v2 3/4] dt-bindings: vendor-prefixes: Add "calaosystems" for CALAO Systems SAS Stephan Gerhold
@ 2019-11-20 18:18 ` Stephan Gerhold
2019-11-20 20:22 ` Linus Walleij
2019-11-20 20:19 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Linus Walleij
2019-12-04 19:00 ` Rob Herring
4 siblings, 1 reply; 13+ messages in thread
From: Stephan Gerhold @ 2019-11-20 18:18 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>
---
Changes in v2: none
v1: https://lore.kernel.org/linux-devicetree/20191120121720.72845-3-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 related [flat|nested] 13+ messages in thread
* Re: [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards
2019-11-20 18:18 ` [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards Stephan Gerhold
@ 2019-11-20 20:22 ` Linus Walleij
2019-11-22 14:10 ` Stephan Gerhold
0 siblings, 1 reply; 13+ messages in thread
From: Linus Walleij @ 2019-11-20 20:22 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Rob Herring, Mark Rutland, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Nov 20, 2019 at 7:20 PM Stephan Gerhold <stephan@gerhold.net> wrote:
> 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>
Nice, thanks!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards
2019-11-20 20:22 ` Linus Walleij
@ 2019-11-22 14:10 ` Stephan Gerhold
2019-11-22 15:43 ` Linus Walleij
0 siblings, 1 reply; 13+ messages in thread
From: Stephan Gerhold @ 2019-11-22 14:10 UTC (permalink / raw)
To: Linus Walleij
Cc: Rob Herring, Mark Rutland, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Nov 20, 2019 at 09:22:19PM +0100, Linus Walleij wrote:
> On Wed, Nov 20, 2019 at 7:20 PM Stephan Gerhold <stephan@gerhold.net> wrote:
>
> > 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>
>
> Nice, thanks!
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards
2019-11-22 14:10 ` Stephan Gerhold
@ 2019-11-22 15:43 ` Linus Walleij
0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2019-11-22 15:43 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Rob Herring, Mark Rutland, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Fri, Nov 22, 2019 at 3:10 PM Stephan Gerhold <stephan@gerhold.net> wrote:
> On Wed, Nov 20, 2019 at 09:22:19PM +0100, Linus Walleij wrote:
> > On Wed, Nov 20, 2019 at 7:20 PM Stephan Gerhold <stephan@gerhold.net> wrote:
> >
> > > 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>
> >
> > Nice, thanks!
> >
> > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> >
> > 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.
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson
2019-11-20 18:18 [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
` (2 preceding siblings ...)
2019-11-20 18:18 ` [PATCH v2 4/4] dt-bindings: arm: Document compatibles for Ux500 boards Stephan Gerhold
@ 2019-11-20 20:19 ` Linus Walleij
2019-12-04 19:00 ` Rob Herring
4 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2019-11-20 20:19 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Rob Herring, Mark Rutland, Linux ARM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel
On Wed, Nov 20, 2019 at 7:19 PM 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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson
2019-11-20 18:18 [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Stephan Gerhold
` (3 preceding siblings ...)
2019-11-20 20:19 ` [PATCH v2 1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson Linus Walleij
@ 2019-12-04 19:00 ` Rob Herring
4 siblings, 0 replies; 13+ messages in thread
From: Rob Herring @ 2019-12-04 19:00 UTC (permalink / raw)
To: Stephan Gerhold
Cc: Linus Walleij, Mark Rutland, linux-arm-kernel, devicetree,
linux-kernel, Stephan Gerhold
On Wed, 20 Nov 2019 19:18:54 +0100, Stephan Gerhold 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>
> ---
> Changes in v2: none, added new patch to deprecate other vendor prefixes
> v1: https://lore.kernel.org/linux-devicetree/20191120121720.72845-1-stephan@gerhold.net/
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied, thanks.
Rob
^ permalink raw reply [flat|nested] 13+ messages in thread