Re: [RFC PATCH 4/6] ARM: OMAP: SmartReflex: provide SoC integration API for VP

2012-11-03 Thread Kevin Hilman
On 10/23/2012 10:43 PM, Nishanth Menon wrote: SoC integration of SmartReflex AVS block is varied. Some use Voltage Processor for a hardware loop in certain OMAP SoC (called hardware loop), while others have just the AVS block without hardware loop automatic calibration mechanism for AVS block to

Re: [RFC PATCH 4/6] ARM: OMAP: SmartReflex: provide SoC integration API for VP

2012-10-25 Thread Jean Pihet
Nishant, On Tue, Oct 23, 2012 at 11:43 PM, Nishanth Menon n...@ti.com wrote: SoC integration of SmartReflex AVS block is varied. Some use Voltage Processor for a hardware loop in certain OMAP SoC (called hardware loop), while others have just the AVS block without hardware loop automatic

Re: [RFC PATCH 4/6] ARM: OMAP: SmartReflex: provide SoC integration API for VP

2012-10-25 Thread Nishanth Menon
On 10:27-20121025, Jean Pihet wrote: On Tue, Oct 23, 2012 at 11:43 PM, Nishanth Menon n...@ti.com wrote: [..] static int sr_class3_disable(struct omap_sr *sr, int is_volt_reset) { + if (!sr-soc_ops.vp_enable) { This should be ' if (!sr-soc_ops.vp_disbable) {'. Argh.. yes. thanks

[RFC PATCH 4/6] ARM: OMAP: SmartReflex: provide SoC integration API for VP

2012-10-23 Thread Nishanth Menon
SoC integration of SmartReflex AVS block is varied. Some use Voltage Processor for a hardware loop in certain OMAP SoC (called hardware loop), while others have just the AVS block without hardware loop automatic calibration mechanism for AVS block to talk through. So provide the Voltage Processor