Re: [PATCH 1/2] clk: qcom: common: Add API to register board clocks backwards compatibly

From: Stephen Boyd
Date: Tue Oct 27 2015 - 19:02:01 EST

On 10/26, Stephen Boyd wrote:
> We want to put the XO board clocks into the dt files. Add an API
> to do this generically. This also makes a place for us to handle
> the case where the RPM driver is enabled or disabled.
> Cc: Georgi Djakov <georgi.djakov@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> ---
> I'm also thinking that maybe we should register the board clock if it
> isn't there in DT and then we'll either register the pass through or
> we'll skip it depending on if the RPM driver is enabled. That
> way the RPM driver doesn't need to know anything, just register the
> clock with parent as the board clock.

That seems like a better idea. v2 coming with that change and a
sleep_clk specific API, plus all the armv7 platforms converted.

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at