mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
palmas: rename init_settings to an generic palmas init
Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs, rename twl6035_init_settings with an more generic palmas_init_settings Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
@@ -64,7 +64,7 @@ int board_eth_init(bd_t *bis)
|
|||||||
int misc_init_r(void)
|
int misc_init_r(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_PALMAS_POWER
|
#ifdef CONFIG_PALMAS_POWER
|
||||||
twl6035_init_settings();
|
palmas_init_settings();
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -45,7 +45,7 @@ static inline int palmas_read_u8(u8 chip_no, u8 reg, u8 *val)
|
|||||||
return i2c_read(chip_no, reg, 1, val, 1);
|
return i2c_read(chip_no, reg, 1, val, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void twl6035_init_settings(void)
|
void palmas_init_settings(void)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -38,5 +38,5 @@
|
|||||||
|
|
||||||
int twl6035_i2c_write_u8(u8 chip_no, u8 val, u8 reg);
|
int twl6035_i2c_write_u8(u8 chip_no, u8 val, u8 reg);
|
||||||
int twl6035_i2c_read_u8(u8 chip_no, u8 *val, u8 reg);
|
int twl6035_i2c_read_u8(u8 chip_no, u8 *val, u8 reg);
|
||||||
void twl6035_init_settings(void);
|
void palmas_init_settings(void);
|
||||||
int twl6035_mmc1_poweron_ldo(void);
|
int twl6035_mmc1_poweron_ldo(void);
|
||||||
|
Reference in New Issue
Block a user