Hello Lina, Sorry for spaming, Should have applied all of them. On Friday 08 August 2014 02:48 PM, Pramod Gurav wrote: > Hi Lina, > > On Friday 08 August 2014 09:35 AM, Lina Iyer wrote: >> Qualcomm chipsets use an separate h/w block to control the logic around >> the processor cores (cpu and L2). The SPM h/w block regulates power to >> the cores and controls the power when the core enter low power modes. >> >> Each core has its own instance of SPM. The SPM has the following key >> functions >> - Configure the h/w dependencies when entering low power modes >> - Wait for interrupt and wake up on interrupt >> - Ensure the dependencies are ready before bringing the core out >> of sleep >> - Regulating voltage to the core, interfacing with the PMIC. >> - Optimize power based on runtime recommendations. >> >> The driver identifies and configures the SPMs, by reading the nodes and >> the register values from the devicetree. The SPMs need to be configured >> to allow the processor to be idled in a low power state. > 22 30 0f]; > > <snip> > >> + }; >> diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile >> index 70d52ed..3de7ed9 100644 >> --- a/drivers/soc/qcom/Makefile >> +++ b/drivers/soc/qcom/Makefile >> @@ -1,3 +1,5 @@ >> obj-$(CONFIG_QCOM_GSBI) += qcom_gsbi.o >> +obj-$(CONFIG_QCOM_PM) += spm_devices.o spm.o > > Are we missing a Kconfig entry for CONFIG_QCOM_PM? This won't compile. >> + >> CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1) >> obj-$(CONFIG_QCOM_SCM) += scm.o scm-boot.o > > <snip> > >> +#endif /* defined (CONFIG_QCOM_PM) */ >> +#endif /* __MSM_SPM_H */ >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html