[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1347246319.6908.1.camel@phoenix>
Date: Mon, 10 Sep 2012 11:05:19 +0800
From: Axel Lin <axel.lin@...il.com>
To: Yunfan Zhang <yfzhang@...vell.com>
Cc: Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
linux-kernel@...r.kernel.org
Subject: regulator: fan53555: vsel_max does not match with the max voltage?
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists