On Fri, Aug 31, 2018 at 03:07:21PM +0100, Phil Edworthy wrote: > 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. >
Looks good to me Reviewed-by: Andy Shevchenko <[email protected]> Perhaps, you may convert 8250_dw to this one later on as an example... > 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 | 74 > ++++++++++++++++++++++++++++++++++++++---------- > include/linux/clk.h | 35 +++++++++++++++++++++++ > 3 files changed, 110 insertions(+), 17 deletions(-) > > -- > 2.7.4 > -- With Best Regards, Andy Shevchenko

