mbox series

[v2,0/2] Add functions to get optional clocks

Message ID 1532939768-7018-1-git-send-email-phil.edworthy@renesas.com (mailing list archive)
Headers show
Series Add functions to get optional clocks | expand

Message

Phil Edworthy July 30, 2018, 8:36 a.m. UTC
Quite a few drivers get an optional clock, e.g. a clock required
to access peripheral's registers that is always enabled on some
devices.

Phil Edworthy (2):
  clk: Add of_clk_get_by_name_optional() function
  clk: Add functions to get optional clocks

 drivers/clk/clk-devres.c | 18 ++++++++++++++++--
 drivers/clk/clkdev.c     | 49 +++++++++++++++++++++++++++++++++++++++++++-----
 include/linux/clk.h      | 30 +++++++++++++++++++++++++++++
 3 files changed, 90 insertions(+), 7 deletions(-)