mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 02:02:08 +02:00
palmas: rename twl6035_mmc1_poweron_ldo with an palmas generic function
Since TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs, rename twl6035_mmc1_poweron_ldo by a more generic palmas_mmc1_poweron_ldo function. Signed-off-by: Nishanth Menon <nm@ti.com>
This commit is contained in:
@@ -117,7 +117,7 @@ static void omap5_pbias_config(struct mmc *mmc)
|
|||||||
value |= SDCARD_BIAS_HIZ_MODE;
|
value |= SDCARD_BIAS_HIZ_MODE;
|
||||||
writel(value, (*ctrl)->control_pbias);
|
writel(value, (*ctrl)->control_pbias);
|
||||||
|
|
||||||
twl6035_mmc1_poweron_ldo();
|
palmas_mmc1_poweron_ldo();
|
||||||
|
|
||||||
value = readl((*ctrl)->control_pbias);
|
value = readl((*ctrl)->control_pbias);
|
||||||
value &= ~SDCARD_BIAS_HIZ_MODE;
|
value &= ~SDCARD_BIAS_HIZ_MODE;
|
||||||
|
@@ -50,7 +50,7 @@ void palmas_init_settings(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int twl6035_mmc1_poweron_ldo(void)
|
int palmas_mmc1_poweron_ldo(void)
|
||||||
{
|
{
|
||||||
u8 val = 0;
|
u8 val = 0;
|
||||||
|
|
||||||
|
@@ -39,4 +39,4 @@
|
|||||||
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 palmas_init_settings(void);
|
void palmas_init_settings(void);
|
||||||
int twl6035_mmc1_poweron_ldo(void);
|
int palmas_mmc1_poweron_ldo(void);
|
||||||
|
Reference in New Issue
Block a user