All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/2] clk: Add functions to get optional clocks
@ 2018-12-03 11:13 ` Phil Edworthy
  0 siblings, 0 replies; 17+ messages in thread
From: Phil Edworthy @ 2018-12-03 11:13 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Russell King
  Cc: Andy Shevchenko, Geert Uytterhoeven, Uwe Kleine-König,
	linux-clk, linux-kernel, linux-arm-kernel, Phil Edworthy

Quite a few drivers get an optional clock, e.g. a bus clock required to 
access peripheral's registers that is always enabled on some devices.

v9:
 - Add a separate patch to add a comment about __of_clk_get_by_name() error
   values.
 - Add brackets after devm_clk_get so people know it's a function.
 - Add kernel doc for clk_get_optional().


Phil Edworthy (2):
  clk: Add comment about __of_clk_get_by_name() error values
  clk: Add (devm_)clk_get_optional() functions

 drivers/clk/clk-devres.c | 11 +++++++++++
 drivers/clk/clkdev.c     |  6 ++++++
 include/linux/clk.h      | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)

-- 
2.17.1


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

end of thread, other threads:[~2019-02-06 18:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-03 11:13 [PATCH v9 0/2] clk: Add functions to get optional clocks Phil Edworthy
2018-12-03 11:13 ` Phil Edworthy
2018-12-03 11:13 ` [PATCH v9 1/2] clk: Add comment about __of_clk_get_by_name() error values Phil Edworthy
2018-12-03 11:13   ` Phil Edworthy
2018-12-03 13:30   ` Andy Shevchenko
2018-12-03 13:30     ` Andy Shevchenko
2018-12-06 12:30     ` Phil Edworthy
2018-12-06 12:30       ` Phil Edworthy
2019-01-16 15:18       ` Phil Edworthy
2019-01-16 15:18         ` Phil Edworthy
2019-01-24 19:35         ` Stephen Boyd
2019-01-24 21:07         ` Andy Shevchenko
2019-01-24 21:07           ` Andy Shevchenko
2019-02-06 18:34   ` Stephen Boyd
2018-12-03 11:13 ` [PATCH v9 2/2] clk: Add (devm_)clk_get_optional() functions Phil Edworthy
2018-12-03 11:13   ` Phil Edworthy
2019-02-06 18:34   ` Stephen Boyd

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.