mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
ARM: DRA7xx: power Add support for tps659038 PMIC
TPS659038 is the power IC used in DRA7XX boards. Adding support for this and also adding pmic data for DRA7XX boards. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
@@ -58,6 +58,7 @@ void save_omap_boot_params(void);
|
||||
void init_omap_revision(void);
|
||||
void do_io_settings(void);
|
||||
void sri2c_init(void);
|
||||
void gpi2c_init(void);
|
||||
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
|
||||
u32 warm_reset(void);
|
||||
void force_emif_self_refresh(void);
|
||||
|
||||
@@ -212,9 +212,24 @@
|
||||
#define VDD_MPU_ES2_LOW 880
|
||||
#define VDD_MM_ES2_LOW 880
|
||||
|
||||
/* TPS659038 Voltage settings in mv for OPP_NOMINAL */
|
||||
#define VDD_MPU_DRA752 1090
|
||||
#define VDD_EVE_DRA752 1060
|
||||
#define VDD_GPU_DRA752 1060
|
||||
#define VDD_CORE_DRA752 1030
|
||||
#define VDD_IVA_DRA752 1060
|
||||
|
||||
/* Standard offset is 0.5v expressed in uv */
|
||||
#define PALMAS_SMPS_BASE_VOLT_UV 500000
|
||||
|
||||
/* TPS659038 */
|
||||
#define TPS659038_I2C_SLAVE_ADDR 0x58
|
||||
#define TPS659038_REG_ADDR_SMPS12_MPU 0x23
|
||||
#define TPS659038_REG_ADDR_SMPS45_EVE 0x2B
|
||||
#define TPS659038_REG_ADDR_SMPS6_GPU 0x2F
|
||||
#define TPS659038_REG_ADDR_SMPS7_CORE 0x33
|
||||
#define TPS659038_REG_ADDR_SMPS8_IVA 0x37
|
||||
|
||||
/* TPS */
|
||||
#define TPS62361_I2C_SLAVE_ADDR 0x60
|
||||
#define TPS62361_REG_ADDR_SET0 0x0
|
||||
|
||||
@@ -62,6 +62,7 @@ void save_omap_boot_params(void);
|
||||
void init_omap_revision(void);
|
||||
void do_io_settings(void);
|
||||
void sri2c_init(void);
|
||||
void gpi2c_init(void);
|
||||
int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
|
||||
u32 warm_reset(void);
|
||||
void force_emif_self_refresh(void);
|
||||
|
||||
@@ -516,6 +516,9 @@ struct vcores_data {
|
||||
struct volts mpu;
|
||||
struct volts core;
|
||||
struct volts mm;
|
||||
struct volts gpu;
|
||||
struct volts eve;
|
||||
struct volts iva;
|
||||
};
|
||||
|
||||
extern struct prcm_regs const **prcm;
|
||||
|
||||
Reference in New Issue
Block a user