summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2018-12-24 09:24:56 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-03 10:31:17 +0100
commitb73f43c5e93e5fb22a010d00eae6044904a1d2aa (patch)
treef9d410b57a0131b0587073f333359ca770d3bcd3 /arch
parentff0af6d04eca0fbd941ee0c21d9d39c9d3ebbe94 (diff)
downloadbarebox-b73f43c5e93e5fb22a010d00eae6044904a1d2aa.tar.gz
barebox-b73f43c5e93e5fb22a010d00eae6044904a1d2aa.tar.xz
mfd: mc13892: MC13892_POWER_MISC bits revision
This patch revises the bits for register MC13892_POWER_MISC. - Added definition for one missing bit (0). - Changed the name for bit 21 for accordance with the datasheet. - Updated affected board that uses these definitions. - Replaced spaces with tabs for the remaining bits. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boards/efika-mx-smartbook/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/board.c b/arch/arm/boards/efika-mx-smartbook/board.c
index d7c5681dbc..ec41eb8c11 100644
--- a/arch/arm/boards/efika-mx-smartbook/board.c
+++ b/arch/arm/boards/efika-mx-smartbook/board.c
@@ -79,7 +79,7 @@ static void efikamx_power_init(struct mc13xxx *mc)
/* power up the system first */
mc13xxx_reg_write(mc, MC13892_REG_POWER_MISC,
- MC13892_POWER_MISC_PWUP);
+ MC13892_POWER_MISC_GPO4ADIN);
/* Set core voltage to 1.1V */
mc13xxx_reg_read(mc, MC13892_REG_SW_0, &val);