msm: board-8226: initialize SPM, NCP6335D, FAN53555 and CPR drivers
SPM, NCP6335D and FAN53555 regulators needs to be initialized before CPR
regulator initialization. When cpr-regulator probes, it will try to get a
handle to each of the three regulators: the fan53555-regulator, the
ncp6335d-regulator and spm-regulator devices. CPR will use the first
available handle as its vdd_apc regulator. It is only possible to get a
handle to each of these regulator devices after the driver has probed.
NCP6335D and FAN53555 regulators are clients of QUP I2C, QUP_I2C is a
client of MSM_BUS_FABRIC driver, hence initialize MSM_BUS_FABRIC and
QUP I2C drivers before NCP6335D and FAN53555 regulators.
Change-Id: I57e358b55645c21b058e34a55f039850b71197d4
Signed-off-by: Ke Liu <keliu@codeaurora.org>
1 file changed