[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <574D72D0.7060303@nvidia.com>
Date: Tue, 31 May 2016 16:47:36 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Axel Lin <axel.lin@...ics.com>, Mark Brown <broonie@...nel.org>
CC: Liam Girdwood <lgirdwood@...il.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH RFT] regulator: tps51632: Fix setting ramp delay
On Tuesday 31 May 2016 02:56 PM, Axel Lin wrote:
> According to the datasheet:
>
> SLEW Register(Address = 07h)
> b7 b6 b5 b4 b3 b2 b1 b0
> 48mV/us 42mV/us 36mV/us 30mV/us 24mV/us 18mV/us 12mV/us 6mV/us
>
> Current code does not set correct slew rate in some cases:
> e.g. Assume ramp_delay is 10000, current code sets slew register to 6mV/us.
> Fix the logic to set slew register.
>
Setting register to nearest faster ramp side, the change looks fine.
Acked-by: Laxman Dewangan <ldewangan@...dia.com>
Powered by blists - more mailing lists