aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorOleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>2012-02-07 17:48:17 +0200
committerZiyann <jaraidaniel@gmail.com>2014-10-03 01:17:49 +0200
commitbfaedad70aa4f41d6303f17608182f5fa3b2d031 (patch)
tree0289a5fa2be66f2ff3182606a7c304a6d147ea8f /arch/arm/mach-omap2
parent6f094a34e10e8dfa7b93acc93d64ada7e615372c (diff)
downloadkernel_samsung_tuna-bfaedad70aa4f41d6303f17608182f5fa3b2d031.zip
kernel_samsung_tuna-bfaedad70aa4f41d6303f17608182f5fa3b2d031.tar.gz
kernel_samsung_tuna-bfaedad70aa4f41d6303f17608182f5fa3b2d031.tar.bz2
OMAP4: Regulator: Remove settings for SYSEN.
For now SYSEN represent as regulator and can be configured from board files. Thus patch removes unnecessary settings for the SYSEN pin from the file omap_tps6236x.c. Change-Id: Ieb07960103bb83590f464dbe8767ed086a1e44c2 Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/omap_tps6236x.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/omap_tps6236x.c b/arch/arm/mach-omap2/omap_tps6236x.c
index 0f9f915..773aa80 100644
--- a/arch/arm/mach-omap2/omap_tps6236x.c
+++ b/arch/arm/mach-omap2/omap_tps6236x.c
@@ -287,26 +287,6 @@ static int __init omap4_twl_tps62361_enable(struct voltagedomain *voltdm)
/* if we have to work with TWL */
#ifdef CONFIG_TWL4030_CORE
- /* Setup SYSEN to be 1 on Active and 0 for sleep and OFF states */
- ret1 = _twl_i2c_rmw_u8(TWL6030_MODULE_ID0, TWL6030_MSK_SYSEN_ACTIVE,
- 0x01, TWL6030_REG_SYSEN_CFG_TRANS);
- if (ret1) {
- pr_err("%s:Err:TWL6030: sysen active(%d)\n", __func__, ret1);
- ret = ret1;
- }
- ret1 = _twl_i2c_rmw_u8(TWL6030_MODULE_ID0, TWL6030_MSK_SYSEN_SLEEP,
- 0x00, TWL6030_REG_SYSEN_CFG_TRANS);
- if (ret1) {
- pr_err("%s:Err:TWL6030: sysen sleep(%d)\n", __func__, ret1);
- ret = ret1;
- }
- ret1 = _twl_i2c_rmw_u8(TWL6030_MODULE_ID0, TWL6030_MSK_SYSEN_OFF,
- 0x00, TWL6030_REG_SYSEN_CFG_TRANS);
- if (ret1) {
- pr_err("%s:Err:TWL6030: sysen off(%d)\n", __func__, ret1);
- ret = ret1;
- }
-
/* Map up SYSEN on TWL core to control TPS */
ret1 = _twl_i2c_rmw_u8(TWL6030_MODULE_ID0, TWL6030_BIT_APE_GRP |
TWL6030_BIT_MOD_GRP | TWL6030_BIT_CON_GRP,