devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Lars Persson <lars.persson@axis.com>
Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org,
	mturquette@baylibre.com, sboyd@codeaurora.org,
	pawel.moll@arm.com, mark.rutland@arm.com,
	ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
	linux-kernel@vger.kernel.org, Lars Persson <larper@axis.com>
Subject: Re: [PATCH v2 1/2] clk: add device tree binding for Artpec-6 clock controller
Date: Tue, 23 Feb 2016 14:43:07 -0600	[thread overview]
Message-ID: <20160223204307.GA19883@rob-hp-laptop> (raw)
In-Reply-To: <fd330ff1346758966260cb2bcddd8d3fbff49704.1455891890.git.larper@axis.com>

On Fri, Feb 19, 2016 at 03:30:14PM +0100, Lars Persson wrote:
> Add device tree documentation for the main clock controller in the
> Artpec-6 SoC.
> 
> Signed-off-by: Lars Persson <larper@axis.com>
> ---
>  .../devicetree/bindings/clock/artpec6.txt          | 41 ++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/clock/artpec6.txt
> 
> diff --git a/Documentation/devicetree/bindings/clock/artpec6.txt b/Documentation/devicetree/bindings/clock/artpec6.txt
> new file mode 100644
> index 0000000..76e3e7f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/artpec6.txt
> @@ -0,0 +1,41 @@
> +* Clock bindings for Axis ARTPEC-6 chip
> +
> +The bindings are based on the clock provider binding in
> +Documentation/devicetree/bindings/clock/clock-bindings.txt
> +
> +External clocks:
> +----------------
> +
> +There are two external inputs to the main clock controller which should be
> +provided using the common clock bindings.
> +- "sys_refclk": External 50 Mhz oscillator (required)
> +- "i2s_refclk": Alternate audio reference clock (optional).
> +
> +Main clock controller
> +---------------------
> +
> +Required properties:
> +- #clock-cells: Should be <1>
> +  See dt-bindings/clock/axis,artpec6-clkctrl.h for the list of valid identifiers.

This header should be part of this patch. Otherwise:

Acked-by: Rob Herring <robh@kernel.org>

> +- compatible: Should be "axis,artpec6-clkctrl"
> +- reg: Must contain the base address and length of the system controller
> +- clocks:  Must contain a phandle entry for each clock in clock-names
> +- clock-names: Must include the external oscillator ("sys_refclk"). Optional
> +  ones are the audio reference clock ("i2s_refclk") and the audio fractional
> +  divider ("frac_clk").
> +
> +Examples:
> +
> +ext_clk: ext_clk {
> +	#clock-cells = <0>;
> +	compatible = "fixed-clock";
> +	clock-frequency = <50000000>;
> +};
> +
> +clkctrl: clkctrl {
> +	#clock-cells = <1>;
> +	compatible = "axis,artpec6-clkctrl";
> +	reg = <0xf8000000 0x48>;
> +	clocks = <&ext_clk>;
> +	clock-names = "sys_refclk";
> +};
> -- 
> 2.1.4
> 

  reply	other threads:[~2016-02-23 20:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 14:30 [PATCH v2 0/2] clk: Add Artpec-6 SoC support Lars Persson
2016-02-19 14:30 ` [PATCH v2 1/2] clk: add device tree binding for Artpec-6 clock controller Lars Persson
2016-02-23 20:43   ` Rob Herring [this message]
2016-02-19 14:30 ` [PATCH v2 2/2] clk: add artpec-6 " Lars Persson

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=20160223204307.GA19883@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=larper@axis.com \
    --cc=lars.persson@axis.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@baylibre.com \
    --cc=pawel.moll@arm.com \
    --cc=sboyd@codeaurora.org \
    /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).