[U-Boot] [PATCH 07/14] tegra: Add PMU to manage power supplies

Stephen Warren swarren at nvidia.com
Tue Jan 10 18:56:55 CET 2012


On 12/26/2011 12:33 PM, Simon Glass wrote:
> From: Jimmy Zhang <jimmzhang at nvidia.com>
> 
> Power supplies must be adjusted in line with clock frequency. This code
> provides a simple routine to set the voltage to allow operation at maximum
> frequency.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>  arch/arm/cpu/armv7/tegra2/Makefile     |    1 +
>  arch/arm/cpu/armv7/tegra2/pmu.c        |  355 ++++++++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-tegra2/pmu.h |   63 ++++++
>  3 files changed, 419 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/cpu/armv7/tegra2/pmu.c
>  create mode 100644 arch/arm/include/asm/arch-tegra2/pmu.h

This driver appears to be for an I2C-based device, so I assume it'd for
a particular PMIC not Tegra's PMC HW module. I imagine this is a driver
for the TI TPS6586X, right?

As such, naming this "pmu" and putting it into the Tegra directory
doesn't make sense. There should be a generic TPS6586X driver, and
possibly a separate file and patch to implement the use of that chip in
conjunction with Tegra.

-- 
nvpublic


More information about the U-Boot mailing list