From: Rob Herring <robh@kernel.org>
To: Chunyan Zhang <chunyan.zhang@unisoc.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Orson Zhai <orsonzhai@gmail.com>,
Baolin Wang <baolin.wang7@gmail.com>,
Chunyan Zhang <zhang.lyra@gmail.com>
Subject: Re: [PATCH v2 1/5] dt-bindings: arm: Convert sprd board/soc bindings to json-schema
Date: Thu, 14 Nov 2019 13:19:27 -0600 [thread overview]
Message-ID: <20191114191927.GA12025@bogus> (raw)
In-Reply-To: <20191111090230.3402-2-chunyan.zhang@unisoc.com>
On Mon, Nov 11, 2019 at 05:02:26PM +0800, Chunyan Zhang wrote:
>
> Convert Unisoc (formerly Spreadtrum) SoC bindings to DT schema format
> using json-schema.
>
> Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
> ---
> .../devicetree/bindings/arm/sprd.txt | 14 ---------
> .../devicetree/bindings/arm/sprd.yaml | 29 +++++++++++++++++++
> 2 files changed, 29 insertions(+), 14 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/arm/sprd.txt
> create mode 100644 Documentation/devicetree/bindings/arm/sprd.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/sprd.txt b/Documentation/devicetree/bindings/arm/sprd.txt
> deleted file mode 100644
> index 3df034b13e28..000000000000
> --- a/Documentation/devicetree/bindings/arm/sprd.txt
> +++ /dev/null
> @@ -1,14 +0,0 @@
> -Spreadtrum SoC Platforms Device Tree Bindings
> -----------------------------------------------------
> -
> -SC9836 openphone Board
> -Required root node properties:
> - - compatible = "sprd,sc9836-openphone", "sprd,sc9836";
> -
> -SC9860 SoC
> -Required root node properties:
> - - compatible = "sprd,sc9860"
> -
> -SP9860G 3GFHD Board
> -Required root node properties:
> - - compatible = "sprd,sp9860g-1h10", "sprd,sc9860";
> diff --git a/Documentation/devicetree/bindings/arm/sprd.yaml b/Documentation/devicetree/bindings/arm/sprd.yaml
> new file mode 100644
> index 000000000000..8540758188d8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/sprd.yaml
> @@ -0,0 +1,29 @@
> +# SPDX-License-Identifier: GPL-2.0
You made all the commits to the old file, so can you dual license:
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
With that:
Reviewed-by: Rob Herring <robh@kernel.org>
> +# Copyright 2019 Unisoc Inc.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/sprd.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Unisoc platforms device tree bindings
> +
> +maintainers:
> + - Orson Zhai <orsonzhai@gmail.com>
> + - Baolin Wang <baolin.wang7@gmail.com>
> + - Chunyan Zhang <zhang.lyra@gmail.com>
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:
> + - items:
> + - enum:
> + - sprd,sc9836-openphone
> + - const: sprd,sc9836
> + - items:
> + - enum:
> + - sprd,sp9860g-1h10
> + - const: sprd,sc9860
> +
> +...
> --
> 2.20.1
>
>
next prev parent reply other threads:[~2019-11-14 19:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-11 9:02 [PATCH v2 0/5] Add Unisoc's SC9863A support Chunyan Zhang
2019-11-11 9:02 ` [PATCH v2 1/5] dt-bindings: arm: Convert sprd board/soc bindings to json-schema Chunyan Zhang
2019-11-14 19:19 ` Rob Herring [this message]
2019-11-11 9:02 ` [PATCH v2 2/5] dt-bindings: serial: Convert sprd-uart " Chunyan Zhang
2019-11-14 20:52 ` Rob Herring
2019-11-15 1:34 ` Chunyan Zhang
2019-11-15 1:49 ` Rob Herring
2019-11-15 11:14 ` Chunyan Zhang
2019-11-15 13:31 ` Rob Herring
2019-11-11 9:02 ` [PATCH v2 3/5] dt-bindings: arm: Add bindings for Unisoc SC9863A Chunyan Zhang
2019-11-11 9:02 ` [PATCH v2 4/5] dt-bindings: serial: Add a new compatible string for SC9863A Chunyan Zhang
2019-11-12 0:56 ` Rob Herring
2019-11-12 1:38 ` Chunyan Zhang
2019-11-14 0:06 ` Rob Herring
2019-11-14 7:56 ` Chunyan Zhang
2019-11-11 9:02 ` [PATCH v2 5/5] arm64: dts: Add Unisoc's SC9863A SoC support Chunyan Zhang
2019-11-14 21:05 ` Rob Herring
2019-11-15 8:59 ` Chunyan Zhang
2019-11-15 14:43 ` Rob Herring
2019-11-25 8:33 ` Chunyan Zhang
2019-12-02 16:33 ` Rob Herring
2019-12-06 10:09 ` Chunyan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191114191927.GA12025@bogus \
--to=robh@kernel.org \
--cc=baolin.wang7@gmail.com \
--cc=chunyan.zhang@unisoc.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=orsonzhai@gmail.com \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).