Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-23 Thread Kishon Vijay Abraham I
Hi, On Saturday 22 June 2013 06:42 PM, Laxman Dewangan wrote: On Friday 21 June 2013 07:30 PM, Kishon Vijay Abraham I wrote: On Friday 21 June 2013 06:55 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 08:56 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 08:14 PM, Laxman

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-22 Thread Laxman Dewangan
On Friday 21 June 2013 07:30 PM, Kishon Vijay Abraham I wrote: On Friday 21 June 2013 06:55 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 08:56 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 08:14 PM, Laxman Dewangan wrote: Have you added the regulator supply entries? Ar

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-21 Thread Kishon Vijay Abraham I
On Friday 21 June 2013 06:55 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 08:56 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 08:14 PM, Laxman Dewangan wrote: Have you added the regulator supply entries? Are you testing on mainline linux-next? Not in linux-next :-( Te

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-21 Thread Laxman Dewangan
On Thursday 20 June 2013 08:56 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 08:14 PM, Laxman Dewangan wrote: Have you added the regulator supply entries? Are you testing on mainline linux-next? Not in linux-next :-( Tested only with mainline. Does inverting the order helps?

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Kishon Vijay Abraham I
Hi, On Thursday 20 June 2013 08:14 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 07:49 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 07:33 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 07:20 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 04:22 PM

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Laxman Dewangan
On Thursday 20 June 2013 07:49 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 07:33 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 07:20 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 04:22 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 02:07 PM, Kis

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Kishon Vijay Abraham I
Hi, On Thursday 20 June 2013 07:33 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 07:20 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 04:22 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 02:07 PM, Kishon Vijay Abraham I wrote: SMPS10 has two outputs OUT1 and OUT2 a

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Laxman Dewangan
On Thursday 20 June 2013 07:20 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 20 June 2013 04:22 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 02:07 PM, Kishon Vijay Abraham I wrote: SMPS10 has two outputs OUT1 and OUT2 and have one input IN1. SMPS10-OUT2 is connected to SMPS10-IN1 an

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Kishon Vijay Abraham I
Hi, On Thursday 20 June 2013 04:22 PM, Laxman Dewangan wrote: On Thursday 20 June 2013 02:07 PM, Kishon Vijay Abraham I wrote: SMPS10 has two outputs OUT1 and OUT2 and have one input IN1. SMPS10-OUT2 is connected to SMPS10-IN1 and can be configured either in BOOST mode or BYPASS mode. regulator

Re: [PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Laxman Dewangan
On Thursday 20 June 2013 02:07 PM, Kishon Vijay Abraham I wrote: SMPS10 has two outputs OUT1 and OUT2 and have one input IN1. SMPS10-OUT2 is connected to SMPS10-IN1 and can be configured either in BOOST mode or BYPASS mode. regulator_enable of SMPS10-OUT2 configures it in BOOST mode. For BYPASS m

[PATCH 2/2] regulator: palmas: model SMPS10 as two regulators

2013-06-20 Thread Kishon Vijay Abraham I
SMPS10 has two outputs OUT1 and OUT2 and have one input IN1. SMPS10-OUT2 is connected to SMPS10-IN1 and can be configured either in BOOST mode or BYPASS mode. regulator_enable of SMPS10-OUT2 configures it in BOOST mode. For BYPASS mode regulator_allow_bypass() API can be used. SMPS10-OUT1 is connec