linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regulator: rt5033: Question regarding define for RT5033_REGULATOR_BUCK/LOD_VOLTAGE_MAX
@ 2019-02-08 12:54 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2019-02-08 12:54 UTC (permalink / raw)
  To: LKML; +Cc: Beomho Seo, Mark Brown, Liam Girdwood

Hi Beomho,
The code has below defines in include/linux/mfd/rt5033-private.h
#define RT5033_REGULATOR_BUCK_VOLTAGE_MAX               3000000U
#define RT5033_REGULATOR_LDO_VOLTAGE_MAX                3000000U

However, according to current settings in rt5033 regulator driver:
For LDOs, it can support up to
RT5033_REGULATOR_LDO_VOLTAGE_MIN + RT5033_REGULATOR_LDO_VOLTAGE_STEP *
(RT5033_REGULATOR_LDO_VOLTAGE_STEP_NUM - 1)
= 1200000 + 100000 * 31
= 4300000 (This is different from the define of
RT5033_REGULATOR_LDO_VOLTAGE_MAX)

The same issue for BUCKs.

I don't find the datasheet, can you check which part is incorrect that
causes the inconsistent?

Thanks,
Axel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-08 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 12:54 regulator: rt5033: Question regarding define for RT5033_REGULATOR_BUCK/LOD_VOLTAGE_MAX Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).