kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: slash.tmp@free.fr (Mason)
To: kernelnewbies@lists.kernelnewbies.org
Subject: clk: Two-output clk provider with standard clk consumer
Date: Mon, 19 Oct 2015 13:20:51 +0200	[thread overview]
Message-ID: <5624D213.6050103@free.fr> (raw)
In-Reply-To: <561CF977.2090808@free.fr>

On 13/10/2015 14:30, Mason wrote:

> So the device tree would look like this:
> 
> 	clocks {
> 		ranges;
> 		#address-cells = <1>;
> 		#size-cells = <1>;
> 
> 		xtal: xtal {
> 			compatible = "fixed-clock";
> 			clock-frequency = <27000000>;
> 			#clock-cells = <0>;
> 		};
> 
> 		clkgen: clkgen at 10000 {
> 			compatible = "foo,clkgen";
> 			reg = <0x10000 0x30>;
> 			clocks = <&xtal>;
> 			#clock-cells = <1>;

Missing clock-output-names property here.

> 		};
> 
> 		periphclk: periphclk {
> 			compatible = "fixed-factor-clock";
> 			clocks = <&clkgen 0>;
> 			clock-mult = <1>;
> 			clock-div  = <2>;
> 			#clock-cells = <0>;
> 		};
> 	};

Sorry for the noise.

      reply	other threads:[~2015-10-19 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13 12:30 clk: Two-output clk provider with standard clk consumer Mason
2015-10-19 11:20 ` Mason [this message]

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=5624D213.6050103@free.fr \
    --to=slash.tmp@free.fr \
    --cc=kernelnewbies@lists.kernelnewbies.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).