Skip to content

Commit 93e3c99

Browse files
quicjathotBartosz Golaszewski
authored andcommitted
power: sequencing: qcom-wcn: add support for the WCN6750 PMU
Enable support for controlling the power-up sequence of the PMU inside the WCN6750 model. Signed-off-by: Janaki Ramaiah Thota <quic_janathot@quicinc.com> Link: https://lore.kernel.org/r/20241209103455.9675-5-quic_janathot@quicinc.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent 40384c8 commit 93e3c99

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/power/sequencing/pwrseq-qcom-wcn.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,24 @@ static const struct pwrseq_qcom_wcn_pdata pwrseq_qca6390_of_data = {
272272
.targets = pwrseq_qcom_wcn_targets,
273273
};
274274

275+
static const char *const pwrseq_wcn6750_vregs[] = {
276+
"vddaon",
277+
"vddasd",
278+
"vddpmu",
279+
"vddrfa0p8",
280+
"vddrfa1p2",
281+
"vddrfa1p7",
282+
"vddrfa2p2",
283+
};
284+
285+
static const struct pwrseq_qcom_wcn_pdata pwrseq_wcn6750_of_data = {
286+
.vregs = pwrseq_wcn6750_vregs,
287+
.num_vregs = ARRAY_SIZE(pwrseq_wcn6750_vregs),
288+
.pwup_delay_ms = 50,
289+
.gpio_enable_delay_ms = 5,
290+
.targets = pwrseq_qcom_wcn_targets,
291+
};
292+
275293
static const char *const pwrseq_wcn6855_vregs[] = {
276294
"vddio",
277295
"vddaon",
@@ -431,6 +449,10 @@ static const struct of_device_id pwrseq_qcom_wcn_of_match[] = {
431449
.compatible = "qcom,wcn7850-pmu",
432450
.data = &pwrseq_wcn7850_of_data,
433451
},
452+
{
453+
.compatible = "qcom,wcn6750-pmu",
454+
.data = &pwrseq_wcn6750_of_data,
455+
},
434456
{ }
435457
};
436458
MODULE_DEVICE_TABLE(of, pwrseq_qcom_wcn_of_match);

0 commit comments

Comments
 (0)