RE: [PATCH V2 2/4] clk: add new APIs to operate on all available clocks

2018-05-25 Thread A.s. Dong
t.com; > b.zolnier...@samsung.com; li...@armlinux.org.uk; linux- > fb...@vger.kernel.org; dl-linux-imx ; A.s. Dong > ; Stephen Boyd ; > Masahiro Yamada > Subject: Re: [PATCH V2 2/4] clk: add new APIs to operate on all available > clocks > > Quoting Dong Aisheng (2018-03-20 2

Re: [PATCH V2 2/4] clk: add new APIs to operate on all available clocks

2018-03-23 Thread Stephen Boyd
Quoting Dong Aisheng (2018-03-20 20:19:49) > @@ -50,6 +52,38 @@ static int __must_check of_clk_bulk_get(struct device_node > *np, int num_clks, > return ret; > } > EXPORT_SYMBOL(of_clk_bulk_get); > + > +static int __must_check of_clk_bulk_get_all(struct device_node *np, > +

[PATCH V2 2/4] clk: add new APIs to operate on all available clocks

2018-03-21 Thread Dong Aisheng
This patch introduces of_clk_bulk_get_all and clk_bulk_x_all APIs to users who just 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. Cc: Steph

[PATCH V2 2/4] clk: add new APIs to operate on all available clocks

2018-03-20 Thread Dong Aisheng
This patch introduces of_clk_bulk_get_all and clk_bulk_x_all APIs to users who just 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. Cc: Steph