Re: [PATCH] OMAP3 ROM Random Number Generator support

From: Tony Lindgren
Date: Mon Apr 01 2013 - 12:25:52 EST


* Pali RohÃr <pali.rohar@xxxxxxxxx> [130331 02:32]:
> On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote:
> >
> > You can use regular clk_get if you add the alias to
> > struct omap_clk omap3xxx_clks table.
>
> Tony, can you show me how?

Take a look at the omap3xxx_clks in cclock3xxx_data.c.
Note how some entries have things like "omap_hsmmc.0" and
"ick". By adding those your driver can request the clock
with clk_get(&pdev->dev, "ick").

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/