Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 7:51 PM, Chris Zhong wrote: > > On 09/24/2014 10:13 AM, Doug Anderson wrote: >> >> Chris, >> >> On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong wrote: >>> >>> On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM,

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
On 09/24/2014 10:13 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong wrote: On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: Get voltage & duty table from device tree might be better, other platforms can

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong wrote: > > On 09/24/2014 07:43 AM, Doug Anderson wrote: >> >> Chris, >> >> On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: >>> >>> Get voltage & duty table from device tree might be better, other >>> platforms can also use this >>> driver

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: Get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson I finally

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong wrote: > Get voltage & duty table from device tree might be better, other platforms > can also use this > driver without any modify. > > Signed-off-by: Chris Zhong > Reviewed-by: Doug Anderson I finally managed to get everything setup and

[PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
Get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong Reviewed-by: Doug Anderson --- Changes in v6: None Changes in v4: Adviced by Doug Anderson - improve kconfig - add const for desc structure

[PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
Get voltage duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson diand...@chromium.org --- Changes in v6: None Changes in v4: Adviced by Doug Anderson - improve

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong z...@rock-chips.com wrote: Get voltage duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong z...@rock-chips.com Reviewed-by: Doug Anderson

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong z...@rock-chips.com wrote: Get voltage duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-off-by: Chris Zhong z...@rock-chips.com

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong z...@rock-chips.com wrote: On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong z...@rock-chips.com wrote: Get voltage duty table from device tree might be better, other platforms can also

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Chris Zhong
On 09/24/2014 10:13 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong z...@rock-chips.com wrote: On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53 AM, Chris Zhong z...@rock-chips.com wrote: Get voltage duty table from device tree

Re: [PATCH v6 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-23 Thread Doug Anderson
Chris, On Tue, Sep 23, 2014 at 7:51 PM, Chris Zhong z...@rock-chips.com wrote: On 09/24/2014 10:13 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 6:47 PM, Chris Zhong z...@rock-chips.com wrote: On 09/24/2014 07:43 AM, Doug Anderson wrote: Chris, On Tue, Sep 23, 2014 at 8:53