All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/4] clk: new APIs to handle all available clocks
@ 2018-03-21  2:54 ` Dong Aisheng
  0 siblings, 0 replies; 64+ messages in thread
From: Dong Aisheng @ 2018-03-21  2:54 UTC (permalink / raw)
  To: linux-clk
  Cc: linux-kernel, linux-arm-kernel, mturquette, hdegoede,
	b.zolnierkie, linux, linux-fbdev, linux-imx, sboyd, Dong Aisheng

This patch series is a continue of discussion from here,
https://patchwork.kernel.org/patch/9986293/
that some users may want to handle all available clocks from device
tree without need to know the detailed clock information likes clock
numbers and names. This is useful in writing some generic drivers to
handle clock part.

Note:
This patch series is tested on MX6Q SDB cpufreq driver with a minor change
to switch to use clk_bulk_get_all.
But patch 4 only test compiling. Hopefully someone could help test
the function.

v1->v2:
 * add clk_bulk_{get|put}_all() which only supports DT platform currently
 * remove _all variants and the wrapper struct clk_bulk
 * make of_clk_bulk_get and of_clk_bulk_get_all private until someone
   proves they need it because they don't have a struct device pointer.

Dong Aisheng (4):
  clk: bulk: add of_clk_bulk_get()
  clk: add new APIs to operate on all available clocks
  clk: add managed version of clk_bulk_get_all
  video: simplefb: switch to use clk_bulk API to simplify clock
    operations

 drivers/clk/clk-bulk.c         | 89 ++++++++++++++++++++++++++++++++++++++++++
 drivers/clk/clk-devres.c       | 24 ++++++++++++
 drivers/video/fbdev/simplefb.c | 69 ++++++--------------------------
 include/linux/clk.h            | 65 +++++++++++++++++++++++++++++-
 4 files changed, 190 insertions(+), 57 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 64+ messages in thread
* [PATCH V2 0/4] clk: new APIs to handle all available clocks
  2018-03-21  2:54 ` Dong Aisheng
  (?)
@ 2018-03-21  3:19 ` Dong Aisheng
  -1 siblings, 0 replies; 64+ messages in thread
From: Dong Aisheng @ 2018-03-21  3:19 UTC (permalink / raw)
  To: linux-clk
  Cc: linux-kernel, linux-arm-kernel, mturquette, hdegoede,
	b.zolnierkie, linux, linux-fbdev, linux-imx, sboyd, Dong Aisheng

This patch series is a continue of discussion from here,
https://patchwork.kernel.org/patch/9986293/
that some users may want to handle all available clocks from device
tree without need to know the detailed clock information likes clock
numbers and names. This is useful in writing some generic drivers to
handle clock part.

Note:
This patch series is tested on MX6Q SDB cpufreq driver with a minor change
to switch to use clk_bulk_get_all.
But patch 4 only test compiling. Hopefully someone could help test
the function.

v1->v2:
 * add clk_bulk_{get|put}_all() which only supports DT platform currently
 * remove _all variants and the wrapper struct clk_bulk
 * make of_clk_bulk_get and of_clk_bulk_get_all private until someone
   proves they need it because they don't have a struct device pointer.

Dong Aisheng (4):
  clk: bulk: add of_clk_bulk_get()
  clk: add new APIs to operate on all available clocks
  clk: add managed version of clk_bulk_get_all
  video: simplefb: switch to use clk_bulk API to simplify clock
    operations

 drivers/clk/clk-bulk.c         | 89 ++++++++++++++++++++++++++++++++++++++++++
 drivers/clk/clk-devres.c       | 24 ++++++++++++
 drivers/video/fbdev/simplefb.c | 69 ++++++--------------------------
 include/linux/clk.h            | 65 +++++++++++++++++++++++++++++-
 4 files changed, 190 insertions(+), 57 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-05-25  9:51 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21  2:54 [PATCH V2 0/4] clk: new APIs to handle all available clocks Dong Aisheng
2018-03-21  2:54 ` Dong Aisheng
2018-03-21  2:54 ` Dong Aisheng
2018-03-21  2:54 ` Dong Aisheng
2018-03-21  2:54 ` [PATCH V2 1/4] clk: bulk: add of_clk_bulk_get() Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54 ` [PATCH V2 2/4] clk: add new APIs to operate on all available clocks Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54 ` [PATCH V2 3/4] clk: add managed version of clk_bulk_get_all Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54 ` [PATCH V2 4/4] video: simplefb: switch to use clk_bulk API to simplify clock operations Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-21  2:54   ` Dong Aisheng
2018-03-25 16:29   ` kbuild test robot
2018-03-25 16:29     ` kbuild test robot
2018-03-25 16:29     ` kbuild test robot
2018-03-21  3:19 [PATCH V2 0/4] clk: new APIs to handle all available clocks Dong Aisheng
2018-03-21  3:19 ` Dong Aisheng
2018-03-21  3:19 ` Dong Aisheng
2018-03-21  3:19 ` [PATCH V2 1/4] clk: bulk: add of_clk_bulk_get() Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-23 16:53   ` Stephen Boyd
2018-03-23 16:53     ` Stephen Boyd
2018-03-23 16:53     ` Stephen Boyd
2018-03-23 16:53     ` Stephen Boyd
2018-05-25  9:48     ` A.s. Dong
2018-05-25  9:48       ` A.s. Dong
2018-05-25  9:48       ` A.s. Dong
2018-05-25  9:48       ` A.s. Dong
2018-03-21  3:19 ` [PATCH V2 2/4] clk: add new APIs to operate on all available clocks Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-23 16:56   ` Stephen Boyd
2018-03-23 16:56     ` Stephen Boyd
2018-03-23 16:56     ` Stephen Boyd
2018-03-23 16:56     ` Stephen Boyd
2018-05-25  9:49     ` A.s. Dong
2018-05-25  9:49       ` A.s. Dong
2018-05-25  9:49       ` A.s. Dong
2018-05-25  9:49       ` A.s. Dong
2018-03-21  3:19 ` [PATCH V2 3/4] clk: add managed version of clk_bulk_get_all Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-23  6:49   ` kbuild test robot
2018-03-23  6:49     ` kbuild test robot
2018-03-23  6:49     ` kbuild test robot
2018-05-25  9:51     ` A.s. Dong
2018-05-25  9:51       ` A.s. Dong
2018-05-25  9:51       ` A.s. Dong
2018-05-25  9:51       ` A.s. Dong
2018-03-21  3:19 ` [PATCH V2 4/4] video: simplefb: switch to use clk_bulk API to simplify clock operations Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-21  3:19   ` Dong Aisheng
2018-03-23  5:28   ` kbuild test robot
2018-03-23  5:28     ` kbuild test robot
2018-03-23  5:28     ` kbuild test robot

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.