From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] ARM: DRA7: Add macros for voltage values for all OPPs
Date: Tue, 24 May 2016 18:03:54 +0530 [thread overview]
Message-ID: <57444A32.1090902@ti.com> (raw)
In-Reply-To: <1464028337-13426-5-git-send-email-s-anna@ti.com>
On Tuesday 24 May 2016 12:02 AM, Suman Anna wrote:
> Define specific macros for the voltage values for all voltage
> domains for all applicable OPPs - OPP_NOM, OPP_OD and OPP_HIGH.
> No separate macros are defined for VD_MPU and VD_CORE at OPP_OD
> and OPP_HIGH as these use the same values as OPP_NOM.
>
> The current macros will be used as common macros that can be
> redefined appropriately based on a selected OPP configuration
> at build time.
>
> Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Thanks and regards,
Lokesh
> ---
> arch/arm/include/asm/arch-omap5/clock.h | 29 +++++++++++++++++++++++------
> 1 file changed, 23 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/include/asm/arch-omap5/clock.h b/arch/arm/include/asm/arch-omap5/clock.h
> index 8c121d6..551c927 100644
> --- a/arch/arm/include/asm/arch-omap5/clock.h
> +++ b/arch/arm/include/asm/arch-omap5/clock.h
> @@ -240,11 +240,21 @@
> #define VDD_MM_ES2_LOW 880
>
> /* DRA74x/75x/72x voltage settings in mv for OPP_NOM per DM */
> -#define VDD_MPU_DRA7 1150
> -#define VDD_CORE_DRA7 1150
> -#define VDD_EVE_DRA7 1060
> -#define VDD_GPU_DRA7 1060
> -#define VDD_IVA_DRA7 1060
> +#define VDD_MPU_DRA7_NOM 1150
> +#define VDD_CORE_DRA7_NOM 1150
> +#define VDD_EVE_DRA7_NOM 1060
> +#define VDD_GPU_DRA7_NOM 1060
> +#define VDD_IVA_DRA7_NOM 1060
> +
> +/* DRA74x/75x/72x voltage settings in mv for OPP_OD per DM */
> +#define VDD_EVE_DRA7_OD 1150
> +#define VDD_GPU_DRA7_OD 1150
> +#define VDD_IVA_DRA7_OD 1150
> +
> +/* DRA74x/75x/72x voltage settings in mv for OPP_HIGH per DM */
> +#define VDD_EVE_DRA7_HIGH 1250
> +#define VDD_GPU_DRA7_HIGH 1250
> +#define VDD_IVA_DRA7_HIGH 1250
>
> /* Efuse register offsets for DRA7xx platform */
> #define DRA752_EFUSE_BASE 0x4A002000
> @@ -276,7 +286,14 @@
> /* STD_FUSE_OPP_VMIN_MPU_4 */
> #define STD_FUSE_OPP_VMIN_MPU_HIGH (DRA752_EFUSE_BASE + 0x1B28)
>
> -/* Common Efuse register macros */
> +/* Common voltage and Efuse register macros */
> +/* DRA74x/DRA75x/DRA72x */
> +#define VDD_MPU_DRA7 VDD_MPU_DRA7_NOM
> +#define VDD_CORE_DRA7 VDD_CORE_DRA7_NOM
> +#define VDD_EVE_DRA7 VDD_EVE_DRA7_NOM
> +#define VDD_GPU_DRA7 VDD_GPU_DRA7_NOM
> +#define VDD_IVA_DRA7 VDD_IVA_DRA7_NOM
> +
> #define STD_FUSE_OPP_VMIN_MPU STD_FUSE_OPP_VMIN_MPU_NOM
> #define STD_FUSE_OPP_VMIN_CORE STD_FUSE_OPP_VMIN_CORE_NOM
> #define STD_FUSE_OPP_VMIN_DSPEVE STD_FUSE_OPP_VMIN_DSPEVE_NOM
>
next prev parent reply other threads:[~2016-05-24 12:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 18:32 [U-Boot] [PATCH 0/4] DRA7 Voltage macro consolidation Suman Anna
2016-05-23 18:32 ` [U-Boot] [PATCH 1/4] ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values Suman Anna
2016-05-24 12:33 ` Lokesh Vutla
2016-06-03 13:58 ` [U-Boot] [U-Boot, " Tom Rini
2016-05-23 18:32 ` [U-Boot] [PATCH 2/4] ARM: DRA7: Define common macros for efuse register offsets Suman Anna
2016-05-24 12:33 ` Lokesh Vutla
2016-06-03 13:58 ` [U-Boot] [U-Boot, " Tom Rini
2016-05-23 18:32 ` [U-Boot] [PATCH 3/4] ARM: DRA7: Consolidate voltage macros across different SoCs Suman Anna
2016-05-24 12:33 ` Lokesh Vutla
2016-06-03 13:58 ` [U-Boot] [U-Boot, " Tom Rini
2016-05-23 18:32 ` [U-Boot] [PATCH 4/4] ARM: DRA7: Add macros for voltage values for all OPPs Suman Anna
2016-05-24 12:33 ` Lokesh Vutla [this message]
2016-06-03 13:58 ` [U-Boot] [U-Boot, " Tom Rini
2016-06-03 15:45 ` [U-Boot] [PATCH 0/4] DRA7 Voltage macro consolidation Suman Anna
2016-06-03 20:30 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57444A32.1090902@ti.com \
--to=lokeshvutla@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox