Re: [PATCH 1/3] clk: add duty cycle support

2018-04-16 Thread Jerome Brunet
On Mon, 2018-04-16 at 22:43 -0700, Stephen Boyd wrote: > Quoting Jerome Brunet (2018-04-16 10:57:41) > > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > > index 7af555f0e60c..fff7890ae355 100644 > > --- a/drivers/clk/clk.c > > +++ b/drivers/clk/clk.c > > @@ -68,6 +68,8 @@ struct clk_core { > >

Re: [PATCH 1/3] clk: add duty cycle support

2018-04-16 Thread Stephen Boyd
Quoting Jerome Brunet (2018-04-16 10:57:41) > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 7af555f0e60c..fff7890ae355 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -68,6 +68,8 @@ struct clk_core { > unsigned long max_rate; > unsigned long

[PATCH 1/3] clk: add duty cycle support

2018-04-16 Thread Jerome Brunet
Add the possibility to apply and query the clock signal duty cycle ratio. This is useful when the duty cycle of the clock signal depends on some other parameters controlled by the clock framework. Signed-off-by: Jerome Brunet --- drivers/clk/clk.c| 196 +++