* [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support
@ 2017-05-25 10:07 Keerthy
2017-05-25 14:41 ` Tom Rini
2017-06-06 0:22 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 5+ messages in thread
From: Keerthy @ 2017-05-25 10:07 UTC (permalink / raw)
To: u-boot
Update vcores for am571-idk board.
Reported-by: Steve Kipisz <s-kipisz2@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
board/ti/am57xx/board.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 3be697a..6d9ee20 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -343,6 +343,54 @@ struct vcores_data am572x_idk_volts = {
.iva.abb_tx_done_mask = OMAP_ABB_IVA_TXDONE_MASK,
};
+struct vcores_data am571x_idk_volts = {
+ .mpu.value[OPP_NOM] = VDD_MPU_DRA7_NOM,
+ .mpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_MPU_NOM,
+ .mpu.efuse.reg_bits = DRA752_EFUSE_REGBITS,
+ .mpu.addr = TPS659038_REG_ADDR_SMPS12,
+ .mpu.pmic = &tps659038,
+ .mpu.abb_tx_done_mask = OMAP_ABB_MPU_TXDONE_MASK,
+
+ .eve.value[OPP_NOM] = VDD_EVE_DRA7_NOM,
+ .eve.value[OPP_OD] = VDD_EVE_DRA7_OD,
+ .eve.value[OPP_HIGH] = VDD_EVE_DRA7_HIGH,
+ .eve.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_DSPEVE_NOM,
+ .eve.efuse.reg[OPP_OD] = STD_FUSE_OPP_VMIN_DSPEVE_OD,
+ .eve.efuse.reg[OPP_HIGH] = STD_FUSE_OPP_VMIN_DSPEVE_HIGH,
+ .eve.efuse.reg_bits = DRA752_EFUSE_REGBITS,
+ .eve.addr = TPS659038_REG_ADDR_SMPS45,
+ .eve.pmic = &tps659038,
+ .eve.abb_tx_done_mask = OMAP_ABB_EVE_TXDONE_MASK,
+
+ .gpu.value[OPP_NOM] = VDD_GPU_DRA7_NOM,
+ .gpu.value[OPP_OD] = VDD_GPU_DRA7_OD,
+ .gpu.value[OPP_HIGH] = VDD_GPU_DRA7_HIGH,
+ .gpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_GPU_NOM,
+ .gpu.efuse.reg[OPP_OD] = STD_FUSE_OPP_VMIN_GPU_OD,
+ .gpu.efuse.reg[OPP_HIGH] = STD_FUSE_OPP_VMIN_GPU_HIGH,
+ .gpu.efuse.reg_bits = DRA752_EFUSE_REGBITS,
+ .gpu.addr = TPS659038_REG_ADDR_SMPS6,
+ .gpu.pmic = &tps659038,
+ .gpu.abb_tx_done_mask = OMAP_ABB_GPU_TXDONE_MASK,
+
+ .core.value[OPP_NOM] = VDD_CORE_DRA7_NOM,
+ .core.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_CORE_NOM,
+ .core.efuse.reg_bits = DRA752_EFUSE_REGBITS,
+ .core.addr = TPS659038_REG_ADDR_SMPS7,
+ .core.pmic = &tps659038,
+
+ .iva.value[OPP_NOM] = VDD_IVA_DRA7_NOM,
+ .iva.value[OPP_OD] = VDD_IVA_DRA7_OD,
+ .iva.value[OPP_HIGH] = VDD_IVA_DRA7_HIGH,
+ .iva.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_IVA_NOM,
+ .iva.efuse.reg[OPP_OD] = STD_FUSE_OPP_VMIN_IVA_OD,
+ .iva.efuse.reg[OPP_HIGH] = STD_FUSE_OPP_VMIN_IVA_HIGH,
+ .iva.efuse.reg_bits = DRA752_EFUSE_REGBITS,
+ .iva.addr = TPS659038_REG_ADDR_SMPS45,
+ .iva.pmic = &tps659038,
+ .iva.abb_tx_done_mask = OMAP_ABB_IVA_TXDONE_MASK,
+};
+
int get_voltrail_opp(int rail_offset)
{
int opp;
@@ -452,6 +500,8 @@ void vcores_init(void)
{
if (board_is_am572x_idk())
*omap_vcores = &am572x_idk_volts;
+ else if (board_is_am571x_idk())
+ *omap_vcores = &am571x_idk_volts;
else
*omap_vcores = &beagle_x15_volts;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support
2017-05-25 10:07 [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support Keerthy
@ 2017-05-25 14:41 ` Tom Rini
2017-05-31 11:35 ` Keerthy
2017-06-06 0:22 ` [U-Boot] " Tom Rini
1 sibling, 1 reply; 5+ messages in thread
From: Tom Rini @ 2017-05-25 14:41 UTC (permalink / raw)
To: u-boot
On Thu, May 25, 2017 at 03:37:34PM +0530, Keerthy wrote:
> Update vcores for am571-idk board.
>
> Reported-by: Steve Kipisz <s-kipisz2@ti.com>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170525/70dadf24/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support
2017-05-25 14:41 ` Tom Rini
@ 2017-05-31 11:35 ` Keerthy
2017-05-31 13:43 ` Tom Rini
0 siblings, 1 reply; 5+ messages in thread
From: Keerthy @ 2017-05-31 11:35 UTC (permalink / raw)
To: u-boot
On Thursday 25 May 2017 08:11 PM, Tom Rini wrote:
> On Thu, May 25, 2017 at 03:37:34PM +0530, Keerthy wrote:
>
>> Update vcores for am571-idk board.
>>
>> Reported-by: Steve Kipisz <s-kipisz2@ti.com>
>> Signed-off-by: Keerthy <j-keerthy@ti.com>
>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Are you planning to pull yourself Tom?
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support
2017-05-31 11:35 ` Keerthy
@ 2017-05-31 13:43 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2017-05-31 13:43 UTC (permalink / raw)
To: u-boot
On Wed, May 31, 2017 at 05:05:44PM +0530, Keerthy wrote:
>
>
> On Thursday 25 May 2017 08:11 PM, Tom Rini wrote:
> > On Thu, May 25, 2017 at 03:37:34PM +0530, Keerthy wrote:
> >
> >> Update vcores for am571-idk board.
> >>
> >> Reported-by: Steve Kipisz <s-kipisz2@ti.com>
> >> Signed-off-by: Keerthy <j-keerthy@ti.com>
> >> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> >
> > Reviewed-by: Tom Rini <trini@konsulko.com>
>
> Are you planning to pull yourself Tom?
Yes, soon. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170531/12b8c600/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] board: ti: am571-idx: Add vcores support
2017-05-25 10:07 [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support Keerthy
2017-05-25 14:41 ` Tom Rini
@ 2017-06-06 0:22 ` Tom Rini
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2017-06-06 0:22 UTC (permalink / raw)
To: u-boot
On Thu, May 25, 2017 at 03:37:34PM +0530, Keerthy wrote:
> Update vcores for am571-idk board.
>
> Reported-by: Steve Kipisz <s-kipisz2@ti.com>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20170605/2108a7c2/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-06-06 0:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 10:07 [U-Boot] [PATCH] board: ti: am571-idx: Add vcores support Keerthy
2017-05-25 14:41 ` Tom Rini
2017-05-31 11:35 ` Keerthy
2017-05-31 13:43 ` Tom Rini
2017-06-06 0:22 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.