msm: samarium: Enable low power mode drivers at boot
Low Power Mode drivers need to be initialized before many other platform devices. Initialize these drivers in board file. Allow the architecture to compile and include low power mode drivers in Kconfig. Change-Id: I223c28b37ba056ea1b2568cd23425139914a2e5e Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
This commit is contained in:
parent
6a601c541a
commit
c284a85e42
|
@ -547,6 +547,7 @@ config ARCH_MSMSAMARIUM
|
|||
select MSM_NATIVE_RESTART
|
||||
select MSM_RESTART_V2
|
||||
select MSM_PM8X60 if PM
|
||||
select MSM_RPM_SMD
|
||||
select MAY_HAVE_SPARSE_IRQ
|
||||
select SPARSE_IRQ
|
||||
select ARM_HAS_SG_CHAIN
|
||||
|
|
|
@ -28,11 +28,14 @@
|
|||
#include <mach/clk-provider.h>
|
||||
#include <mach/msm_smem.h>
|
||||
#include <mach/msm_smd.h>
|
||||
#include <mach/rpm-smd.h>
|
||||
#include "spm.h"
|
||||
#include "board-dt.h"
|
||||
#include "clock.h"
|
||||
#include "devices.h"
|
||||
#include "platsmp.h"
|
||||
#include "modem_notifier.h"
|
||||
#include "pm.h"
|
||||
|
||||
static struct clk_lookup msm_clocks_dummy[] = {
|
||||
CLK_DUMMY("xo", cxo_pil_lpass_clk, "fe200000.qcom,lpass", OFF),
|
||||
|
@ -134,6 +137,9 @@ void __init msmsamarium_add_drivers(void)
|
|||
msm_smem_init();
|
||||
msm_init_modem_notifier_list();
|
||||
msm_smd_init();
|
||||
msm_rpm_driver_init();
|
||||
msm_pm_sleep_status_init();
|
||||
msm_spm_device_init();
|
||||
msm_clock_init(&msm_dummy_clock_init_data);
|
||||
tsens_tm_init_driver();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue