OSDN Git Service

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)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jan 2021 14:25:04 +0000 (14:25 +0000)
commit951384cabc5dfb09251d440dbc26058eba86f97e
tree4d58427eb81fda3fe2005a0283aeb7d23a51ddf6
parentdf6b92fa40050e59ea89784294bf6d04c0c47705
regulator: qcom-rpmh-regulator: add pm8009-1 chip revision

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>
drivers/regulator/qcom-rpmh-regulator.c