It is possible that number of commands to be send can exceed
MAX_RPMH_PAYLOAD.
This change adds error checking for such case.
Change-Id: I9c05bf3befd6590fee4625230bb44d7711c625a7
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Add NTN3 setup info struct to enable NTN3
IPA offload.
Change-Id: Idb8399fa7574dc7ac3b4c119c40b441bfa28793d
Signed-off-by: Amir Levy <alevy@codeaurora.org>
The CPU mux requires to vote correctly on the supply during the
frequency transitions, thus add the pre/post callback hooks which would
enable & set voltage vote on the rail.
Change-Id: I0d4bb88e8d319bfc3f4f8d682964eb7ff3719ce0
Signed-off-by: Taniya Das <tdas@codeaurora.org>
This enables rpmh master stats driver to get different subsystem's
statistical information.
Change-Id: I2689aa8887e8b1308827db8155acc4aad81240f7
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Enabled ram dump collection for
cDSP that is used for debug the
cDSP crashes due to UserPD.
Change-Id: I22b276ea5c19dc13d55ab8f36c807e14488fc4ed
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Replace the pm flag of rgmu
GMU_PRIV_PM_SUSPEND with RGMU_PRIV_PM_SUSPEND.
Change-Id: Ibf47e815dd4f45e31c0e31dabb8dde25979d79a6
Signed-off-by: Liu Jianhua <jianhl@codeaurora.org>
When the ioctl is interrupted, it is difficult to
predict and handle the firmware state properly from
the kernel. This change is to keep ioctl cmds from
being interrupted.
Change-Id: I1377122d23e4a63438cc7a844aec56f7e8a9b4cf
Signed-off-by: dpyun <dpyun@codeaurora.org>
This patch contains changes for correcting typo which will correct
expected result from strnstr() function while checking for asd
regulator name.
Change-Id: I85721e775f9bb0c13480ae15ad3b7f4e235e7942
Signed-off-by: priyankar <prigup@codeaurora.org>
There is illegal logic when call cnss_pci_suspend and check DRV
support. This change adds new flag - drv_supported to replace
cnss_pci_get_drv_connected and fixes this issue.
Change-Id: Ia836e06283ebe08483e325717fb30bac333ef5b7
Signed-off-by: Wu Gao <wugao@codeaurora.org>
During a SSR/PDR scenario, when pmic_glink state is down,
ucsi_glink driver unregisters from the UCSI framework thereby
setting udev->ucsi to NULL. Typically, we don't expect any
notification coming from the charger firmware that runs on a
remote subsystem until pmic_glink state is up and ucsi_glink
driver registers again with the UCSI framework. In the case,
if ucsi_glink driver receives a notification before UCSI driver
finishes the registration, then don't handle it.
Change-Id: Ieb792ca6026344462c7eae4d40aef87ae061ae96
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Currently we print a debug log in ucsi_qti_glink_write() only
after it succeeds with an ACK from PPM. To debug some timeout
issues, it is helpful to see the log printed before writing and
waiting for the ACK. So, move it.
Change-Id: I811bc7647030d247f7082092e73d31c90944e43b
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Revert the copyright year from 2021 to 2020 for rpmcc ids for MONACO.
Change-Id: I8a3dc5248945c42cb8cda2e9c97d133b982fa5ed
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
Previously ASPM L1-Sub-States control registers (CTL1 and CTL2)
weren't saved and restored during suspend/resume leading to ASPM-L1SS
configuration being lost post resume. Save the ASPM-L1SS control
registers so that the configuration is retained post resume.
Change-Id: Iaf8e873aca798557eb38c2ea105dcaadff998e86
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>