regulator: Add support for ramp delay
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 6 Mar 2019 18:37:54 +0000 (19:37 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 11 Mar 2019 06:53:19 +0000 (15:53 +0900)
commite66d1cb3c2344ee5bbf2059e75fa94350aea9f5f
tree4a66659f0998cacf6dacd77605773ab66d78c22d
parentfce86100606d14e53517a3601849646e69715465
regulator: Add support for ramp delay

Changing voltage and enabling regulator might require delays so the
regulator stabilizes at expected level.

Add support for "regulator-ramp-delay" binding which can introduce
required time to both enabling the regulator and to changing the
voltage.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
doc/device-tree-bindings/regulator/regulator.txt
drivers/power/regulator/regulator-uclass.c
include/power/regulator.h