linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regulator: Question about RC5T619 LDO9/10 .enable_reg and .enable_mask setting
@ 2019-03-23 13:17 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2019-03-23 13:17 UTC (permalink / raw)
  To: LKML
  Cc: Pierre-Hugues Husson, Stefan Agner, Beniamino Galvani,
	Mark Brown, Liam Girdwood

Hi,
In drivers/regulator/rn5t618-regulator.c:
The RC5T619 LDO9 and LDO10 have the same .enable_reg and .enable_mask setting:
static const struct regulator_desc rc5t619_regulators[] = {
        ...
        REG(LDO9, LDOEN2, BIT(0), LDO9DAC, 0x7f, 900000, 3500000, 25000),
        REG(LDO10, LDOEN2, BIT(0), LDO10DAC, 0x7f, 900000, 3500000, 25000),
        ...
};

This seems suspicious and looks like a copy-paste mistake.
I don't find public datasheet for rc5t619.
Maybe someone can help to check if it's correct or not.

Thanks,
Axel

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

only message in thread, other threads:[~2019-03-23 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-23 13:17 regulator: Question about RC5T619 LDO9/10 .enable_reg and .enable_mask setting 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).