regulator: qcom-rpmh-regulator: add pm8009-1 chip revision
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 31 Dec 2020 12:23:47 +0000 (15:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:37:53 +0000 (11:37 +0100)
commitb7c77df94684e2a39453c48b4ace948be489fd83
treef492922ce3fd8fe2cf109c9bc662387847de6552
parente00a29e24575e5f8f796213b16fca40b744a5bda
regulator: qcom-rpmh-regulator: add pm8009-1 chip revision

[ Upstream commit 951384cabc5dfb09251d440dbc26058eba86f97e ]

PM8009 has special revision (P=1), which is to be used for sm8250
platform. The major difference is the S2 regulator which supplies 0.95 V
instead of 2.848V. Declare regulators data to be used for this chip
revision. The datasheet calls the chip just pm8009-1, so use the same
name.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 06369bcc15a1 ("regulator: qcom-rpmh: Add support for SM8150")
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20201231122348.637917-4-dmitry.baryshkov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/regulator/qcom-rpmh-regulator.c