mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 18:02:46 +00:00
Add patch fixing USB regulator as the LDO needs to use ID 5 instead of ID 2. Link: https://github.com/openwrt/openwrt/pull/17725 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From ad663ce6780477177e301756ade6cf236f36ae4c Mon Sep 17 00:00:00 2001
|
|
From: Varadarajan Narayanan <quic_varada@quicinc.com>
|
|
Date: Thu, 14 Dec 2023 16:10:52 +0530
|
|
Subject: [PATCH] regulator: qcom_smd: Add LDO5 MP5496 regulator
|
|
|
|
Add support for LDO5 regulator. This is used by IPQ9574 USB.
|
|
|
|
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
|
|
Rule: <add>
|
|
Link: https://lore.kernel.org/stable/20231214104052.3267039-1-quic_varada%40quicinc.com
|
|
Link: https://msgid.link/r/20231214104052.3267039-1-quic_varada@quicinc.com
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
|
---
|
|
drivers/regulator/qcom_smd-regulator.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c
|
|
index 09c471a0ba2e..d1be9568025e 100644
|
|
--- a/drivers/regulator/qcom_smd-regulator.c
|
|
+++ b/drivers/regulator/qcom_smd-regulator.c
|
|
@@ -796,6 +796,7 @@ static const struct rpm_regulator_data rpm_mp5496_regulators[] = {
|
|
{ "s1", QCOM_SMD_RPM_SMPA, 1, &mp5496_smps, "s1" },
|
|
{ "s2", QCOM_SMD_RPM_SMPA, 2, &mp5496_smps, "s2" },
|
|
{ "l2", QCOM_SMD_RPM_LDOA, 2, &mp5496_ldoa2, "l2" },
|
|
+ { "l5", QCOM_SMD_RPM_LDOA, 5, &mp5496_ldoa2, "l5" },
|
|
{}
|
|
};
|
|
|
|
--
|
|
2.45.2
|
|
|