]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
remoteproc: qcom_wcnss: Handle platforms with only single power domain
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>
Thu, 6 Feb 2025 19:56:48 +0000 (20:56 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 5 Mar 2025 22:01:28 +0000 (14:01 -0800)
commit65991ea8a6d1e68effdc01d95ebe39f1653f7b71
treeec72429e97ce99538a7844b820351e5d41362521
parent14198a0ca55ebec9890e33cb025a138542e2949d
remoteproc: qcom_wcnss: Handle platforms with only single power domain

Both MSM8974 and MSM8226 have only CX as power domain with MX & PX being
handled as regulators. Handle this case by reodering pd_names to have CX
first, and handling that the driver core will already attach a single
power domain internally.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
[luca: minor changes]
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20250206-wcnss-singlepd-v2-2-9a53ee953dee@lucaweiss.eu
[bjorn: Added missing braces to else after multi-statement if]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_wcnss.c