]> git.sur5r.net Git - u-boot/commit
regulator: palmas: Add support for LDO1 regulator to provide 1.8V
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Jul 2017 09:42:46 +0000 (11:42 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:01 +0000 (11:58 +0900)
commit9554a14df2e2f1eee8cbecbaa021aaaae9f457ad
treee5cdc9a89dde51a3b5d024657db6cb24f4b0fa50
parent3936514b82e8a00115c56bf58e8745f73bfb119f
regulator: palmas: Add support for LDO1 regulator to provide 1.8V

Modify palmas_mmc1_poweron_ldo() API to set the voltage based on the
voltage parameter passed as argument instead of always setting it to
3.0V. This allows MMC1 to set the LDO1 regulator voltage to 3.3V or 1.8V.
1.8V is required to add support for UHS mode.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/power/palmas.c