mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 15:01:27 +02:00
ARM: OMAP5: DRA7xx: support class 0 optimized voltages
DRA752 now uses AVS Class 0 voltages which are voltages in efuse. This means that we can now use the optimized voltages which are stored as mV values in efuse and program PMIC accordingly. This allows us to go with higher OPP as needed in the system without the need for implementing complex AVS logic. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
@@ -506,9 +506,20 @@ struct pmic_data {
|
||||
int (*pmic_write)(u8 sa, u8 reg_addr, u8 reg_data);
|
||||
};
|
||||
|
||||
/**
|
||||
* struct volts_efuse_data - efuse definition for voltage
|
||||
* @reg: register address for efuse
|
||||
* @reg_bits: Number of bits in a register address, mandatory.
|
||||
*/
|
||||
struct volts_efuse_data {
|
||||
u32 reg;
|
||||
u8 reg_bits;
|
||||
};
|
||||
|
||||
struct volts {
|
||||
u32 value;
|
||||
u32 addr;
|
||||
struct volts_efuse_data efuse;
|
||||
struct pmic_data *pmic;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user