[PATCH v5 5/7] regulator: add driver for hi6421 voltage regulator

2014-08-13 Thread Guodong Xu
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

[PATCH v5 5/7] regulator: add driver for hi6421 voltage regulator

2014-08-13 Thread Guodong Xu
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