From: Guodong Xu Date: Wed, 13 Aug 2014 11:33:42 +0000 (+0800) Subject: regulator: add driver for hi6421 voltage regulator X-Git-Tag: fixes-for-v3.18-merge-window~31^2~3^5~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87ca186f7eb663fc5e52b65452a91fe0fec170a0;p=pandora-kernel.git regulator: add driver for hi6421 voltage regulator Add driver support for HiSilicon Hi6421 voltage regulators. Two rules for regulator enabling are defined in hi6421 spec: 1) Between disable and enable of each regulator (LDOs or BUCKs), there must be a protection gap. Use @off_on_delay of regulator core to implement this. 2) No two regulators can be enabled at the same time. Use mutex in hi6421_regulator_pdata to ensure this. A protection gap of 100us is added into each LDO/BUCK's .enable_time. Signed-off-by: Guodong Xu Signed-off-by: Mark Brown --- Reading git-diff-tree failed