Loading Documentation/devicetree/bindings/arm/msm/msm_aop_ddrss_cmd.txt 0 → 100644 +19 −0 Original line number Diff line number Diff line AOP (Always-On-Processor) DDRSS Commands The AOP DDRSS commands driver is used to send commands to the AOP, using the mailbox interface, to affect the behavior of the DDR. Required properties - compatible : "qcom,aop-ddrss-cmds" - mbox : QMP mailbox phandle and channel identifier Optional properties: -mbox-name: name of the mailbox Example: qcom,aop-ddrss-cmds { compatible = "qcom,aop-ddrss-cmds"; mboxes = <&qmp_aop 0>; }; arch/arm64/boot/dts/qcom/sm8150.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -1368,6 +1368,12 @@ mbox-name = "restart-ddr-mbox"; }; qcom,aop-ddrss-cmds { compatible = "qcom,aop-ddrss-cmds"; mboxes = <&qmp_aop 0>; mbox-name = "ddrss-cmds-mbox"; }; qcom,mpm2-sleep-counter@0xc221000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0xc221000 0x1000>; Loading arch/arm64/configs/vendor/sm8150-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -602,6 +602,7 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_QCOM_AOP_DDRSS_COMMANDS=y CONFIG_QCOM_HYP_CORE_CTL=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y Loading arch/arm64/configs/vendor/sm8150_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -630,6 +630,7 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_QCOM_AOP_DDRSS_COMMANDS=y CONFIG_QCOM_HYP_CORE_CTL=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y Loading drivers/soc/qcom/Kconfig +6 −0 Original line number Diff line number Diff line Loading @@ -888,6 +888,12 @@ config QCOM_AOP_DDR_MESSAGING 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. config QCOM_AOP_DDRSS_COMMANDS bool "Send commands to AOP to affect the behavior of the DDRSS" help This driver allows messages to be sent to the AOP to affect the DDRSS behavior. endmenu config QCOM_HYP_CORE_CTL Loading Loading
Documentation/devicetree/bindings/arm/msm/msm_aop_ddrss_cmd.txt 0 → 100644 +19 −0 Original line number Diff line number Diff line AOP (Always-On-Processor) DDRSS Commands The AOP DDRSS commands driver is used to send commands to the AOP, using the mailbox interface, to affect the behavior of the DDR. Required properties - compatible : "qcom,aop-ddrss-cmds" - mbox : QMP mailbox phandle and channel identifier Optional properties: -mbox-name: name of the mailbox Example: qcom,aop-ddrss-cmds { compatible = "qcom,aop-ddrss-cmds"; mboxes = <&qmp_aop 0>; };
arch/arm64/boot/dts/qcom/sm8150.dtsi +6 −0 Original line number Diff line number Diff line Loading @@ -1368,6 +1368,12 @@ mbox-name = "restart-ddr-mbox"; }; qcom,aop-ddrss-cmds { compatible = "qcom,aop-ddrss-cmds"; mboxes = <&qmp_aop 0>; mbox-name = "ddrss-cmds-mbox"; }; qcom,mpm2-sleep-counter@0xc221000 { compatible = "qcom,mpm2-sleep-counter"; reg = <0xc221000 0x1000>; Loading
arch/arm64/configs/vendor/sm8150-perf_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -602,6 +602,7 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_QCOM_AOP_DDRSS_COMMANDS=y CONFIG_QCOM_HYP_CORE_CTL=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y Loading
arch/arm64/configs/vendor/sm8150_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -630,6 +630,7 @@ CONFIG_QMP_DEBUGFS_CLIENT=y CONFIG_QCOM_SMP2P_SLEEPSTATE=y CONFIG_QCOM_CDSP_RM=y CONFIG_QCOM_AOP_DDR_MESSAGING=y CONFIG_QCOM_AOP_DDRSS_COMMANDS=y CONFIG_QCOM_HYP_CORE_CTL=y CONFIG_DEVFREQ_GOV_PASSIVE=y CONFIG_QCOM_BIMC_BWMON=y Loading
drivers/soc/qcom/Kconfig +6 −0 Original line number Diff line number Diff line Loading @@ -888,6 +888,12 @@ config QCOM_AOP_DDR_MESSAGING 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. config QCOM_AOP_DDRSS_COMMANDS bool "Send commands to AOP to affect the behavior of the DDRSS" help This driver allows messages to be sent to the AOP to affect the DDRSS behavior. endmenu config QCOM_HYP_CORE_CTL Loading