Loading Documentation/devicetree/bindings/arm/msm/msm_aop_ddr_msgs.txt 0 → 100644 +18 −0 Original line number Original line Diff line number Diff line AOP (Always-On-Processor) DDR Related Messaging The AOP DDR messaging driver is used to send messages to the AOP, using the mailbox interface, to lower the DDR frequency during reboot. Required properties - compatible : "qcom,aop-ddr-msgs" - mbox : QMP mailbox phandle and channel identifier Optional properties: -mbox-name: name of the mailbox Example: qcom,aop-ddr-msgs { compatible = "qcom,aop-ddr-msgs"; mboxes = <&qmp_aop 0>; }; arch/arm64/boot/dts/qcom/sm8150.dtsi +6 −0 Original line number Original line Diff line number Diff line Loading @@ -1334,6 +1334,12 @@ qcom,rtb-size = <0x100000>; qcom,rtb-size = <0x100000>; }; }; qcom,aop-ddr-msgs { compatible = "qcom,aop-ddr-msgs"; mboxes = <&qmp_aop 0>; mbox-name = "restart-ddr-mbox"; }; qcom,mpm2-sleep-counter@0xc221000 { qcom,mpm2-sleep-counter@0xc221000 { compatible = "qcom,mpm2-sleep-counter"; compatible = "qcom,mpm2-sleep-counter"; reg = <0xc221000 0x1000>; reg = <0xc221000 0x1000>; Loading arch/arm64/configs/vendor/sm8150-perf_defconfig +1 −0 Original line number Original line Diff line number Diff line Loading @@ -583,6 +583,7 @@ CONFIG_MSM_PERFORMANCE=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y CONFIG_ARM_MEMLAT_MON=y Loading arch/arm64/configs/vendor/sm8150_defconfig +1 −0 Original line number Original line Diff line number Diff line Loading @@ -610,6 +610,7 @@ CONFIG_MSM_PERFORMANCE=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y CONFIG_ARM_MEMLAT_MON=y Loading drivers/soc/qcom/Kconfig +7 −0 Original line number Original line Diff line number Diff line Loading @@ -833,4 +833,11 @@ config QCOM_CX_IPEAK bit in tcsr register if it is going to cross its own threshold. If all bit in tcsr register if it is going to cross its own threshold. If all clients are going to cross their thresholds then Cx ipeak hw module will raise clients are going to cross their thresholds then Cx ipeak hw module will raise an interrupt to cDSP block to throttle cDSP fmax. an interrupt to cDSP block to throttle cDSP fmax. config QCOM_AOP_DDR_MESSAGING bool "Send messages to AOP about the DDR frequency during reboot" help This driver sends messages to the AOP to adjust the DDR frequency when the device is rebooting, to ensure that the device is powered off cleanly. endmenu endmenu Loading
Documentation/devicetree/bindings/arm/msm/msm_aop_ddr_msgs.txt 0 → 100644 +18 −0 Original line number Original line Diff line number Diff line AOP (Always-On-Processor) DDR Related Messaging The AOP DDR messaging driver is used to send messages to the AOP, using the mailbox interface, to lower the DDR frequency during reboot. Required properties - compatible : "qcom,aop-ddr-msgs" - mbox : QMP mailbox phandle and channel identifier Optional properties: -mbox-name: name of the mailbox Example: qcom,aop-ddr-msgs { compatible = "qcom,aop-ddr-msgs"; mboxes = <&qmp_aop 0>; };
arch/arm64/boot/dts/qcom/sm8150.dtsi +6 −0 Original line number Original line Diff line number Diff line Loading @@ -1334,6 +1334,12 @@ qcom,rtb-size = <0x100000>; qcom,rtb-size = <0x100000>; }; }; qcom,aop-ddr-msgs { compatible = "qcom,aop-ddr-msgs"; mboxes = <&qmp_aop 0>; mbox-name = "restart-ddr-mbox"; }; qcom,mpm2-sleep-counter@0xc221000 { qcom,mpm2-sleep-counter@0xc221000 { compatible = "qcom,mpm2-sleep-counter"; compatible = "qcom,mpm2-sleep-counter"; reg = <0xc221000 0x1000>; reg = <0xc221000 0x1000>; Loading
arch/arm64/configs/vendor/sm8150-perf_defconfig +1 −0 Original line number Original line Diff line number Diff line Loading @@ -583,6 +583,7 @@ CONFIG_MSM_PERFORMANCE=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y CONFIG_ARM_MEMLAT_MON=y Loading
arch/arm64/configs/vendor/sm8150_defconfig +1 −0 Original line number Original line Diff line number Diff line Loading @@ -610,6 +610,7 @@ CONFIG_MSM_PERFORMANCE=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_QCOM_BIMC_BWMON=y CONFIG_ARM_MEMLAT_MON=y CONFIG_ARM_MEMLAT_MON=y Loading
drivers/soc/qcom/Kconfig +7 −0 Original line number Original line Diff line number Diff line Loading @@ -833,4 +833,11 @@ config QCOM_CX_IPEAK bit in tcsr register if it is going to cross its own threshold. If all bit in tcsr register if it is going to cross its own threshold. If all clients are going to cross their thresholds then Cx ipeak hw module will raise clients are going to cross their thresholds then Cx ipeak hw module will raise an interrupt to cDSP block to throttle cDSP fmax. an interrupt to cDSP block to throttle cDSP fmax. config QCOM_AOP_DDR_MESSAGING bool "Send messages to AOP about the DDR frequency during reboot" help This driver sends messages to the AOP to adjust the DDR frequency when the device is rebooting, to ensure that the device is powered off cleanly. endmenu endmenu