[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87aaaqmt7v.fsf@ti.com>
Date: Tue, 30 Aug 2011 15:26:28 -0700
From: Kevin Hilman <khilman@...com>
To: Abhilash K V <abhilash.kv@...com>
Cc: linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, tony@...mide.com,
linux@....linux.org.uk, sameo@...ux.intel.com,
santosh.shilimkar@...com, premi@...com, david.woodhouse@...el.com
Subject: Re: [PATCH 1/3] AM35x: voltage: Basic initialization
Abhilash K V <abhilash.kv@...com> writes:
> From: Sanjeev Premi <premi@...com>
>
> This patch adds the basic initialization of voltage layer
> for AM35x. Since AM35x doesn't support voltage scaling,
> Many functions have been defined to plug into existing
> voltage layer.
>
> Signed-off-by: Sanjeev Premi <premi@...com>
> Signed-off-by: Abhilash K V <abhilash.kv@...com>
[...]
> diff --git a/arch/arm/mach-omap2/voltagedomains3xxx_data.c b/arch/arm/mach-omap2/voltagedomains3xxx_data.c
> index def230f..b45d145 100644
> --- a/arch/arm/mach-omap2/voltagedomains3xxx_data.c
> +++ b/arch/arm/mach-omap2/voltagedomains3xxx_data.c
> @@ -67,6 +67,38 @@ static struct omap_vdd_info *omap3_vdd_info[] = {
> &omap3_vdd2_info,
> };
>
> +/*
> + * AM35x VDD structures
> + *
> + * In AM35x there neither scalable voltage domain nor any hook-up with
> + * voltage controller/processor. However, when trying to re-use the hwmod
> + * database for OMAP3, definition of "core" voltage domain is necessary.
> + * Else, changes in hwmod data structures grow spirally.
> + *
> + * As a workaround, "core" voltage domain is defined below. The definition
> + * doesn't lead to any side-effects.
Except the side-effect of a bunch of unused data, and nop functions that
just clutter things up in a not-very-maintainable way.
For SoCs without scalable voltage domains, we need to fix the underlying
problems in the core code for how to cleanly re-use hwmods.
Fortunately, this core code cleanup is now in progress, so it shouldn't
be long now where we can do this cleanly.
Kevin
--
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