]> 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:37:58 +0000 (14:37 +0200)
commit654c295f9079d2c7875172142022168e34c4e34e
tree8fc71f59d1716eceaed529e5105299dde8b79dfd
parent5111227d7f1f57f6804666b3abf780a23f44fc1d
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