Merge tag 'ux500-arm-soc-v3.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into fixes
From Linus Walleij, ux500 fixes for v3.10: - A multiplatform fix making sure ux500_idle_init() is only executed on ux500. - A regulator fix making sure the MMC/SD card regulator is not disabled on boot. Signed-off-by: Olof Johansson <olof@lixom.net> * tag 'ux500-arm-soc-v3.10-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: ARM: ux500: Provide supplies for AUX1, AUX2 and AUX3 ARM: ux500: Only configure wake-up reasons on ux500 based platforms
This commit is contained in:
@@ -374,6 +374,7 @@ static struct ab8500_regulator_reg_init ab8500_reg_init[] = {
|
|||||||
static struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = {
|
static struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = {
|
||||||
/* supplies to the display/camera */
|
/* supplies to the display/camera */
|
||||||
[AB8500_LDO_AUX1] = {
|
[AB8500_LDO_AUX1] = {
|
||||||
|
.supply_regulator = "ab8500-ext-supply3",
|
||||||
.constraints = {
|
.constraints = {
|
||||||
.name = "V-DISPLAY",
|
.name = "V-DISPLAY",
|
||||||
.min_uV = 2800000,
|
.min_uV = 2800000,
|
||||||
@@ -387,6 +388,7 @@ static struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = {
|
|||||||
},
|
},
|
||||||
/* supplies to the on-board eMMC */
|
/* supplies to the on-board eMMC */
|
||||||
[AB8500_LDO_AUX2] = {
|
[AB8500_LDO_AUX2] = {
|
||||||
|
.supply_regulator = "ab8500-ext-supply3",
|
||||||
.constraints = {
|
.constraints = {
|
||||||
.name = "V-eMMC1",
|
.name = "V-eMMC1",
|
||||||
.min_uV = 1100000,
|
.min_uV = 1100000,
|
||||||
@@ -402,6 +404,7 @@ static struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS] = {
|
|||||||
},
|
},
|
||||||
/* supply for VAUX3, supplies to SDcard slots */
|
/* supply for VAUX3, supplies to SDcard slots */
|
||||||
[AB8500_LDO_AUX3] = {
|
[AB8500_LDO_AUX3] = {
|
||||||
|
.supply_regulator = "ab8500-ext-supply3",
|
||||||
.constraints = {
|
.constraints = {
|
||||||
.name = "V-MMC-SD",
|
.name = "V-MMC-SD",
|
||||||
.min_uV = 1100000,
|
.min_uV = 1100000,
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#include <asm/proc-fns.h>
|
#include <asm/proc-fns.h>
|
||||||
|
|
||||||
#include "db8500-regs.h"
|
#include "db8500-regs.h"
|
||||||
|
#include "id.h"
|
||||||
|
|
||||||
static atomic_t master = ATOMIC_INIT(0);
|
static atomic_t master = ATOMIC_INIT(0);
|
||||||
static DEFINE_SPINLOCK(master_lock);
|
static DEFINE_SPINLOCK(master_lock);
|
||||||
@@ -114,6 +115,9 @@ static struct cpuidle_driver ux500_idle_driver = {
|
|||||||
|
|
||||||
int __init ux500_idle_init(void)
|
int __init ux500_idle_init(void)
|
||||||
{
|
{
|
||||||
|
if (!(cpu_is_u8500_family() || cpu_is_ux540_family()))
|
||||||
|
return -ENODEV;
|
||||||
|
|
||||||
/* Configure wake up reasons */
|
/* Configure wake up reasons */
|
||||||
prcmu_enable_wakeups(PRCMU_WAKEUP(ARM) | PRCMU_WAKEUP(RTC) |
|
prcmu_enable_wakeups(PRCMU_WAKEUP(ARM) | PRCMU_WAKEUP(RTC) |
|
||||||
PRCMU_WAKEUP(ABB));
|
PRCMU_WAKEUP(ABB));
|
||||||
|
Reference in New Issue
Block a user