Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8433433 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: Enable sending AOP DDR related messaging for sm8150"

parents c4cc6c8b 21cfda6c
Loading
Loading
Loading
Loading
+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>;
	};
+6 −0
Original line number Original line Diff line number Diff line
@@ -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>;
+1 −0
Original line number Original line Diff line number Diff line
@@ -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
+1 −0
Original line number Original line Diff line number Diff line
@@ -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
+7 −0
Original line number Original line Diff line number Diff line
@@ -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