via I2C bus. S2MPU09 is comprised of high efficient Buck converters
including Dual-Phase Buck converter, Buck-Boost converter, various LDOs.
+config REGULATOR_S2MPU09_BUCK8_1V35
+ tristate " Set S2MPU09 BUCK8 output 1.35V"
+ depends on REGULATOR_S2MPU09
+ default n
+ help
+ Enable config to set S2MPU09 BUCK8 output voltage to 1.35V from the
+ default vaule (1.3V).
+
config REGULATOR_S2MPB02
tristate "Samsung S2MPB02 regulator"
depends on MFD_S2MPB02
pr_info("%s s2mpu09 pmic driver Loading end\n", __func__);
s2mpu09_update_reg(s2mpu09->i2c, S2MPU09_PMIC_REG_RTCBUF, 0x4, 0x4);
+#ifdef CONFIG_REGULATOR_S2MPU09_BUCK8_1V35
+ s2mpu09_update_reg(s2mpu09->i2c, S2MPU09_PMIC_REG_B8OUT1, 0xA8, 0xff);
+ s2mpu09_update_reg(s2mpu09->i2c, S2MPU09_PMIC_REG_B8OUT2, 0xA8, 0xff);
+#else
+ /* BUCK8 DVS-L voltage: 1.25V */
+ s2mpu09_update_reg(s2mpu09->i2c, S2MPU09_PMIC_REG_B8OUT2, 0x98, 0xff);
+#endif
+
return 0;
err:
for (i = 0; i < S2MPU09_REGULATOR_MAX; i++)