From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 4 Dec 2016 18:18:40 -0500 Subject: [U-Boot] [U-Boot, v2, 2/3] ARM: DRA7: Redefine voltage and efuse macros per OPP using Kconfig In-Reply-To: <20161123072441.32630-3-lokeshvutla@ti.com> References: <20161123072441.32630-3-lokeshvutla@ti.com> Message-ID: <20161204231840.GC4248@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 23, 2016 at 12:54:40PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Redefine the macros used to define the voltage values and the > efuse register offsets based on OPP for all the voltage domains. > This is done using Kconfig macros that can be set in a defconfig > or selected during a config step. This allows a voltage domain > to be configured/set to a corresponding voltage value depending > on the OPP selection choice. > > The Kconfig choices have been added for MPU, DSPEVE, IVA and GPU > voltage domains, with the MPU domain restricted to OPP_NOM. The > OPP_OD and OPP_HIGH options will be added when the support for > configuring the MPU clock frequency is added. The clock > configuration for other voltage domains is out of scope in > u-boot code. > > The CORE voltage domain does not have separate voltage values > and efuse register offset at different OPPs, while the MPU > voltage domain only has different efuse register offsets for > different OPPs, but uses the same voltage value. Any different > choices of OPPs for voltage domains on common ganged-rails > is automatically taken care to select the corresponding > highest OPP voltage value. > > Signed-off-by: Suman Anna > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: