[v2,4/4] dt-bindings: arm: Document compatibles for Ux500 boards
diff mbox series

Message ID 20191120181857.97174-4-stephan@gerhold.net
State Not Applicable
Headers show
Series
  • [v2,1/4] dt-bindings: vendor-prefixes: Add yet another for ST-Ericsson
Related show

Checks

Context Check Description
robh/dt-meta-schema success
robh/checkpatch success

Commit Message

Stephan Gerhold Nov. 20, 2019, 6:18 p.m. UTC
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

Comments

Linus Walleij Nov. 20, 2019, 8:22 p.m. UTC | #1
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
Stephan Gerhold Nov. 22, 2019, 2:10 p.m. UTC | #2
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
Linus Walleij Nov. 22, 2019, 3:43 p.m. UTC | #3
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

Patch
diff mbox series

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