From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH V1] TPS62360: Add tps62360 regulator driver Date: Sun, 8 Jan 2012 23:39:00 -0800 Message-ID: <20120109073859.GG22134@opensource.wolfsonmicro.com> References: <20120105062919.GI11867@opensource.wolfsonmicro.com> <96C9D994977DD0439FB6D3FE3B13DD907DBD3A9E9B@BGMAIL01.nvidia.com> <20120106185755.GC2893@opensource.wolfsonmicro.com> <96C9D994977DD0439FB6D3FE3B13DD907DBD3AA0DE@BGMAIL01.nvidia.com> <20120107191047.GA3590@opensource.wolfsonmicro.com> <96C9D994977DD0439FB6D3FE3B13DD907DBD3AA0E4@BGMAIL01.nvidia.com> <20120108165819.GB29065@opensource.wolfsonmicro.com> <96C9D994977DD0439FB6D3FE3B13DD907DBDABA9A3@BGMAIL01.nvidia.com> <20120109071128.GA22134@opensource.wolfsonmicro.com> <96C9D994977DD0439FB6D3FE3B13DD907DBDABA9B6@BGMAIL01.nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <96C9D994977DD0439FB6D3FE3B13DD907DBDABA9B6-kdsAE/FnitNDw2glCA4ptUEOCMrvLtNR@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laxman Dewangan Cc: Laxman Dewangan , "lrg-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-tegra@vger.kernel.org On Mon, Jan 09, 2012 at 01:03:06PM +0530, Laxman Dewangan wrote: > > On Monday, January 09, 2012 12:41 PM, Mark Brown wrote > > Why? I'm not sure I understand this. You're asking the regulator to > > output ranges not voltages and you're setting multiple overlapping > > ranges for each VSEL. > If I fix the voltage with each VSEL then only 4 voltages will be > possible but I want to have more than 4 different output. > How do I achieve this? The driver can decide what voltages to set - like I said in a previous mail it could use something like LRU to decide which slot to use, or perhaps be clever with the upper end of the range it was given. > > What I'd expect to see is nothing but the GPIOs and their default state > > (since sadly we can't read back from output GPIOs with gpiolib) being > > specified. > I did not understand it correctly. Can you please elaborate how can we > pass the voltage with corresponding vsel? For bootstrapping you can just read the values back.