MLK-14638-1 regulator: fixed: add off_on_delay support
authorHaibo Chen <haibo.chen@nxp.com>
Fri, 14 Apr 2017 10:51:17 +0000 (18:51 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:56 +0000 (15:21 -0500)
commit9e486898819f5d13d69ff86442c4b1fe7eb95aaa
tree645c726379d38e5bbb163b284fabfd92be6875c8
parent5f79ebd1bd501dc8d39447038e5d56ca7a4ffedc
MLK-14638-1 regulator: fixed: add off_on_delay support

Add off_on_delay for fixed regulator. This can assign the delay time
between the regulator disable and regulator enable.

User can define the delay value by using 'off-on-delay' in dts file.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
drivers/regulator/fixed.c
include/linux/regulator/fixed.h