All of lore.kernel.org
 help / color / mirror / Atom feed
* regulator: fan53555: vsel_max does not match with the max voltage?
@ 2012-09-10  3:05 Axel Lin
  2012-09-10  3:17 ` Yunfan Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-09-10  3:05 UTC (permalink / raw)
  To: Yunfan Zhang; +Cc: Liam Girdwood, Mark Brown, linux-kernel

Hi Yunfan,
Just found below issue while reading the code:

For FAN53555_CHIP_ID_04,
        di->vsel_min = 603000;
        di->vsel_max = 1411000;
        di->vsel_step = 12826;

So we have below voltage list for FAN53555_CHIP_ID_04:

volt[0] = 603000
volt[1] = 615826
volt[2] = 628652
volt[3] = 641478
volt[4] = 654304
volt[5] = 667130

.......

volt[60] = 1372560
volt[61] = 1385386
volt[62] = 1398212
volt[63] = 1411038

Then volt[63] is greater than the vsel_max now.
This looks does not make sense.

Regards,
Axel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-10  3:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10  3:05 regulator: fan53555: vsel_max does not match with the max voltage? Axel Lin
2012-09-10  3:17 ` Yunfan Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.