[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b00ee14b-1495-c1b6-ccd0-8c28a04b37d0@kernel.org>
Date: Wed, 5 Dec 2018 09:13:22 -0600
From: Dinh Nguyen <dinguyen@...nel.org>
To: Rob Herring <robh@...nel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Sean Hudson <darknighte@...knighte.com>,
Frank Rowand <frowand.list@...il.com>,
linux-arm-kernel@...ts.infradead.org,
linuxppc-dev@...ts.ozlabs.org, Grant Likely <grant.likely@....com>,
Kumar Gala <kumar.gala@...aro.org>, arm@...nel.org,
Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH v2 04/34] dt-bindings: altera: Convert clkmgr binding to
json-schema
On 12/3/18 3:31 PM, Rob Herring wrote:
> Convert Altera clkmgr to DT schema format using json-schema.
>
> Cc: Mark Rutland <mark.rutland@....com>
> Cc: Dinh Nguyen <dinguyen@...nel.org>
> Cc: devicetree@...r.kernel.org
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> .../arm/altera/socfpga-clk-manager.txt | 11 -------
> .../arm/altera/socfpga-clk-manager.yaml | 31 +++++++++++++++++++
> 2 files changed, 31 insertions(+), 11 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt
> create mode 100644 Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
>
> diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt
> deleted file mode 100644
> index 2c28f1d12f45..000000000000
> --- a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.txt
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -Altera SOCFPGA Clock Manager
> -
> -Required properties:
> -- compatible : "altr,clk-mgr"
> -- reg : Should contain base address and length for Clock Manager
> -
> -Example:
> - clkmgr@...04000 {
> - compatible = "altr,clk-mgr";
> - reg = <0xffd04000 0x1000>;
> - };
> diff --git a/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
> new file mode 100644
> index 000000000000..e4131fa42b26
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml
> @@ -0,0 +1,31 @@
> +# SPDX-License-Identifier: GPL-2.0
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Altera SOCFPGA Clock Manager
> +
> +maintainers:
> + - Dinh Nguyen <dinguyen@...nel.org>
> +
> +description: test
> +
> +properties:
> + compatible:
> + items:
> + - const: altr,clk-mgr
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> +
> +examples:
> + - |
> + clkmgr@...04000 {
> + compatible = "altr,clk-mgr";
> + reg = <0xffd04000 0x1000>;
> + };
> +
> +...
>
Acked-by: Dinh Nguyen <dinguyen@...nel.org>
Powered by blists - more mailing lists