All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about fixed-clock
@ 2013-02-18 23:55 ` Daniel Mack
  0 siblings, 0 replies; 21+ messages in thread
From: Daniel Mack @ 2013-02-18 23:55 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This might be a stupid question, but I'm somehow stuck here. I'm using a
driver with the following DTS sub-node:

	ref25: ref25M {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <25000000>;
	};

	clock-generator at 0 {
				/* ... */
				#clock-cells = <1>;
				clocks = <&ref25>;
	}

The device driver for clock-generator uses something like the following
call to get its clock:

	clk = of_clk_get(np, 0);

but the return value is ERR_PTR(-ENOENT) and I also can't find this
clock in the clk debugfs tree.

This is on a OMAP/AM33xx device with kernel 3.8-rc7 plus the -next tips
of arm-soc and omap, but with no other special clock options selected in
the config. Is there anything I'm missing to correctly instantiate the
dummy clock?


Thanks for a pointer,
Daniel

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-03-12 18:40 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18 23:55 Question about fixed-clock Daniel Mack
2013-02-18 23:55 ` Daniel Mack
2013-02-19  0:07 ` Daniel Mack
2013-02-19  0:07   ` Daniel Mack
2013-02-19  1:33 ` Fabio Estevam
2013-02-19  1:33   ` Fabio Estevam
2013-02-19  9:53   ` Daniel Mack
2013-02-19  9:53     ` Daniel Mack
     [not found]     ` <20130219172246.11471.14635@quantum>
2013-02-19 17:32       ` Daniel Mack
2013-02-19 17:32         ` Daniel Mack
2013-03-02 14:09         ` Daniel Mack
2013-03-02 14:09           ` Daniel Mack
2013-03-07 18:42     ` Afzal Mohammed
2013-03-07 18:42       ` Afzal Mohammed
2013-03-07 22:31       ` Daniel Mack
2013-03-08  2:15         ` Mark Brown
2013-03-08 13:30           ` Daniel Mack
2013-03-09  8:26             ` Sebastian Hesselbarth
2013-03-12 18:40             ` Mark Brown
2013-02-19  3:39 ` Afzal Mohammed
2013-02-19  3:39   ` Afzal Mohammed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.