From patchwork Tue Mar 26 15:20:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 231276 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id D432A2C007A for ; Wed, 27 Mar 2013 02:21:59 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9B8624A0BD; Tue, 26 Mar 2013 16:21:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dc43wBhSL6FH; Tue, 26 Mar 2013 16:21:48 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4E3EE4A125; Tue, 26 Mar 2013 16:21:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B97C04A118 for ; Tue, 26 Mar 2013 16:21:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sRyacowIxade for ; Tue, 26 Mar 2013 16:21:11 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by theia.denx.de (Postfix) with ESMTPS id 33FC14A10C for ; Tue, 26 Mar 2013 16:21:06 +0100 (CET) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r2QFL5bK008457 for ; Tue, 26 Mar 2013 10:21:05 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2QFL5Fh017252 for ; Tue, 26 Mar 2013 10:21:05 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Tue, 26 Mar 2013 10:21:04 -0500 Received: from localhost (kahuna.am.dhcp.ti.com [128.247.75.12]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r2QFL4qh005448; Tue, 26 Mar 2013 10:21:04 -0500 From: Nishanth Menon To: tom , Sricharan R Date: Tue, 26 Mar 2013 10:20:56 -0500 Message-ID: <1364311258-21754-9-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364311258-21754-1-git-send-email-nm@ti.com> References: <1364311258-21754-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Cc: Ruchika@theia.denx.de, u-boot , Balaji T K , Kharwar Subject: [U-Boot] [PATCH V3 08/10] palmas: rename twl6035_mmc1_poweron_ldo with an palmas generic function X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --- V3: new patch drivers/mmc/omap_hsmmc.c | 2 +- drivers/power/palmas.c | 2 +- include/palmas.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index b7a9eb0..e07d488 100644 --- a/drivers/mmc/omap_hsmmc.c +++ b/drivers/mmc/omap_hsmmc.c @@ -117,7 +117,7 @@ static void omap5_pbias_config(struct mmc *mmc) value |= SDCARD_BIAS_HIZ_MODE; writel(value, (*ctrl)->control_pbias); - twl6035_mmc1_poweron_ldo(); + palmas_mmc1_poweron_ldo(); value = readl((*ctrl)->control_pbias); value &= ~SDCARD_BIAS_HIZ_MODE; diff --git a/drivers/power/palmas.c b/drivers/power/palmas.c index bf36a19..489a7a9 100644 --- a/drivers/power/palmas.c +++ b/drivers/power/palmas.c @@ -50,7 +50,7 @@ void palmas_init_settings(void) return; } -int twl6035_mmc1_poweron_ldo(void) +int palmas_mmc1_poweron_ldo(void) { u8 val = 0; diff --git a/include/palmas.h b/include/palmas.h index 6618aad..305092e 100644 --- a/include/palmas.h +++ b/include/palmas.h @@ -39,4 +39,4 @@ int twl6035_i2c_write_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); -int twl6035_mmc1_poweron_ldo(void); +int palmas_mmc1_poweron_ldo(void);