
Hi Simon,
On Fri, Dec 20, 2013 at 2:10 AM, Simon Glass sjg@chromium.org wrote:
Hi Ajay,
On 12 November 2013 05:27, Ajay Kumar ajaykumar.rs@samsung.com wrote:
Enabling VDD_28IO_DP via LDO38 for SMDK5420.
Signed-off-by: Ajay Kumar ajaykumar.rs@samsung.com
board/samsung/common/board.c | 3 +++ include/power/s2mps11_pmic.h | 3 +++ 2 files changed, 6 insertions(+)
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 2536457..224f83d 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -180,6 +180,9 @@ int board_init_s2mps11(void) {PMIC_REG_WRITE, S2MPS11_BUCK3_CTRL2,
S2MPS11_BUCK_CTRL2_1V},
{PMIC_REG_WRITE, S2MPS11_BUCK4_CTRL2,
S2MPS11_BUCK_CTRL2_1V},
{PMIC_REG_WRITE, S2MPS11_BUCK6_CTRL2,
S2MPS11_BUCK_CTRL2_1V},
+#ifdef CONFIG_SMDK5420
{PMIC_REG_WRITE, S2MPS11_LDO38_CTRL,
S2MPS11_LDO_CTRL_2_8V},
+#endif
Should this be a runtime check based on a device tree setting?
Will change it.
{PMIC_REG_UPDATE, S2MPS11_REG_RTC_CTRL, S2MPS11_RTC_CTRL_32KHZ_CP_EN |
S2MPS11_RTC_CTRL_JIT},
{PMIC_REG_BAIL}
diff --git a/include/power/s2mps11_pmic.h b/include/power/s2mps11_pmic.h index 20c781d..8c6bf4b 100644 --- a/include/power/s2mps11_pmic.h +++ b/include/power/s2mps11_pmic.h @@ -125,6 +125,8 @@ enum s2mps11_reg { #define S2MPS11_BUCK_CTRL2_1_2V 0x60 /* Value to set voltage as 1.2625V */ #define S2MPS11_BUCK_CTRL2_1_2625V 0x6A +/* Value to set voltage as 2.8V */ +#define S2MPS11_LDO_CTRL_2_8V 0x78
/* Buck register addresses */ #define S2MPS11_BUCK1_CTRL2 0x26 @@ -133,6 +135,7 @@ enum s2mps11_reg { #define S2MPS11_BUCK4_CTRL2 0x2c #define S2MPS11_BUCK6_CTRL2 0x34 #define S2MPS11_LDO22_CTRL 0x52 +#define S2MPS11_LDO38_CTRL 0x62
#define S2MPS11_DEVICE_NAME "S2MPS11_PMIC"
-- 1.7.12.4
Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot