Skip to content

Commit b8e4b05

Browse files
konradybcioBartosz Golaszewski
authored andcommitted
power: sequencing: qcom-wcn: add support for the WCN6855 PMU
Enable support for controlling the power-up sequence of the PMU inside the WCN6855 model. Signed-off-by: Konrad Dybcio <[email protected]> [Bartosz: split Konrad's bigger patch, write the commit message] Co-developed-by: Bartosz Golaszewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 8400291 commit b8e4b05

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ static const struct pwrseq_qcom_wcn_pdata pwrseq_qca6390_of_data = {
198198
.gpio_enable_delay_ms = 100,
199199
};
200200

201+
static const struct pwrseq_qcom_wcn_pdata pwrseq_wcn6855_of_data = {
202+
.vregs = pwrseq_qca6390_vregs,
203+
.num_vregs = ARRAY_SIZE(pwrseq_qca6390_vregs),
204+
.pwup_delay_ms = 50,
205+
.gpio_enable_delay_ms = 5,
206+
};
207+
201208
static const char *const pwrseq_wcn7850_vregs[] = {
202209
"vdd",
203210
"vddio",
@@ -314,6 +321,10 @@ static const struct of_device_id pwrseq_qcom_wcn_of_match[] = {
314321
.compatible = "qcom,qca6390-pmu",
315322
.data = &pwrseq_qca6390_of_data,
316323
},
324+
{
325+
.compatible = "qcom,wcn6855-pmu",
326+
.data = &pwrseq_wcn6855_of_data,
327+
},
317328
{
318329
.compatible = "qcom,wcn7850-pmu",
319330
.data = &pwrseq_wcn7850_of_data,

0 commit comments

Comments
 (0)