Re: [PATCH] clk: palmas: add clock driver for palmas

From: Mike Turquette
Date: Fri Oct 04 2013 - 15:35:56 EST


Quoting Mark Brown (2013-10-04 09:41:39)
> On Thu, Oct 03, 2013 at 06:00:07PM +0530, Laxman Dewangan wrote:
>
> > + Optional subnode properties:
> > + ti,clock-boot-enable: Enable clock at the time of booting.
>
> Shouldn't this be a generic clock subsystem thing? It seems like
> something that might be desired for nearly any clock.

The best solution is to have a driver claim the clock with clk_get and
enable it with clk_prepare_enable. I gave more detail in my reply to
Laxman.

Regards,
Mike
--
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/