Re: [PATCH v3 1/7] pwm: rockchip: Add APB and function both clocks support

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:38:29PM +0800, David Wu wrote: > New PWM module provides two individual clocks for APB clock > and function clock. > > Signed-off-by: David Wu > Acked-by: Rob Herring > --- > changes in v3: > - clk_get with NULL argument again if it was error, when clk_get with "pwm"

[PATCH v3 1/7] pwm: rockchip: Add APB and function both clocks support

2017-08-08 Thread David Wu
New PWM module provides two individual clocks for APB clock and function clock. Signed-off-by: David Wu Acked-by: Rob Herring --- changes in v3: - clk_get with NULL argument again if it was error, when clk_get with "pwm" argument. - To get clk count, use of_count_phandle_with_args instead of