summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPraveen Talari <praveen.talari@oss.qualcomm.com>2026-02-27 09:15:36 +0300
committerBjorn Andersson <andersson@kernel.org>2026-05-22 05:56:38 +0300
commit8f4ce470ff8c0d7d820d319f64f05ed9a239a240 (patch)
treefbee874c2b3a9a2e867d31e4f939ccd27b0c7e1e /include/linux/debugobjects.h
parente5f54cda9d75b21baa0e07616b5d662b55e7ff76 (diff)
downloadlinux-8f4ce470ff8c0d7d820d319f64f05ed9a239a240.tar.xz
soc: qcom: geni-se: Add resources activation/deactivation helpers
The GENI SE protocol drivers (I2C, SPI, UART) implement similar resource activation/deactivation sequences independently, leading to code duplication. Introduce geni_se_resources_activate()/geni_se_resources_deactivate() to power on/off resources.The activate function enables ICC, clocks, and TLMM whereas the deactivate function disables resources in reverse order including OPP rate reset, clocks, ICC and TLMM. Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Tested-by: Mattijs Korpershoek <mkorpershoek@kernel.org> Link: https://lore.kernel.org/r/20260227061544.1785978-6-praveen.talari@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions