]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: qcom: pd-mapper: Add QCM6490 PD maps
authorBjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Sat, 5 Oct 2024 03:47:29 +0000 (20:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:39 +0000 (20:03 +0100)
commitc617ac0358601cf02b97d683ca8824eaefd40ce6
treea59ff8b218dcf48cd672c2f7394ed81ae5fb6177
parentbb6a99db1d2e3a216ab4640cc0bb85c13c7cac4d
soc: qcom: pd-mapper: Add QCM6490 PD maps

[ Upstream commit 31a95fe0851afbbc697b6be96c8a81a01d65aa5f ]

The QCM6490 is a variant of SC7280, with the usual set of protection
domains, and hence the need for a PD-mapper. In particular USB Type-C
port management and battery management is pmic_glink based.

Add an entry to the kernel, to avoid the need for userspace to provide
this service.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241004-qcm6490-pd-mapper-v1-1-d6f4bc3bffa3@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/qcom/qcom_pd_mapper.c