]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:42:02 +0000 (14:42 +0200)
commitfef1e1487dea81c2b4560e393ba4b0be57e28d01
tree11a5c1b6aaeb4e6f2f8d0ee5d8c808a9807be555
parentc5b23df98a925c2f79b9d2c5c02fe74812e02152
remoteproc: qcom_wcnss: Handle platforms with only single power domain

[ Upstream commit 65991ea8a6d1e68effdc01d95ebe39f1653f7b71 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/remoteproc/qcom_wcnss.c