Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628753 > unrolled thread

Re: [RFC PATCH 0/3] clk: introduce clk_bulk_get accessories

Started byStephen Boyd <sboyd@codeaurora.org>
First post2017-04-22 05:10 +0200
Last post2017-04-22 05:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH 0/3] clk: introduce clk_bulk_get accessories Stephen Boyd <sboyd@codeaurora.org> - 2017-04-22 05:10 +0200

#1628753 — Re: [RFC PATCH 0/3] clk: introduce clk_bulk_get accessories

FromStephen Boyd <sboyd@codeaurora.org>
Date2017-04-22 05:10 +0200
SubjectRe: [RFC PATCH 0/3] clk: introduce clk_bulk_get accessories
Message-ID<tyTAR-5Si-1@gated-at.bofh.it>
On 04/12, Dong Aisheng wrote:
> 
> Together with the err path handling for each clocks, it does make
> things a bit ugly.
> 
> Since we already have regulator_bulk_get accessories, i thought we
> probably could introduce clk_bulk_get as well to handle such case to
> ease the driver owners' life. 
> 
> Besides IMX cpufreq driver, there is also some similar cases
> in kernel which could befinit from this api as well.
> e.g.
> drivers/cpufreq/tegra124-cpufreq.c
> drivers/cpufreq/s3c2412-cpufreq.c
> sound/soc/samsung/smdk_spdif.c
> arch/arm/mach-omap1/serial.c
> ...
> 
> And actually, if we handle clocks more than 3, then it might be
> worthy to try, which there is quite many manay in kernel and
> that probably could save a lot codes.
> 
> This is a RFC patch intending to bring up the idea to discuss.
> 

Idea seems fine to me. Please also add Russell King, as we need
an ack from him on the clk.h API changes.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web