Re: [PATCH 2/3] regulator: tps65023: Setting correct coreregulator for tps65021

From: Mark Brown
Date: Wed Jul 27 2011 - 07:07:51 EST


On Wed, Jul 27, 2011 at 12:32:46PM +0200, Marcus Folkesson wrote:
> TPS65023 is using VDCDC1 as core regulator and TPS65021 is using VDCDC3.

What is "core regulator" to the regulator chip itself?

> Core-regulator, voltage-tables and size of voltage-table may differ between
> different regulators. All those three is now passed as driver data.

No, the driver should be able to figure out for itself what regulators
are on the chip purely by knowing what chip it's talking to. If there
is some configuration on the board from selection of passives or similar
the platform data should reflect how that's done (eg, supply the
relevant values for the passives).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/