mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 01:03:52 +00:00
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>
This commit is contained in:
parent
40384c840e
commit
93e3c990fc
1 changed files with 22 additions and 0 deletions
|
|
@ -272,6 +272,24 @@ static const struct pwrseq_qcom_wcn_pdata pwrseq_qca6390_of_data = {
|
||||||
.targets = pwrseq_qcom_wcn_targets,
|
.targets = pwrseq_qcom_wcn_targets,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const char *const pwrseq_wcn6750_vregs[] = {
|
||||||
|
"vddaon",
|
||||||
|
"vddasd",
|
||||||
|
"vddpmu",
|
||||||
|
"vddrfa0p8",
|
||||||
|
"vddrfa1p2",
|
||||||
|
"vddrfa1p7",
|
||||||
|
"vddrfa2p2",
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct pwrseq_qcom_wcn_pdata pwrseq_wcn6750_of_data = {
|
||||||
|
.vregs = pwrseq_wcn6750_vregs,
|
||||||
|
.num_vregs = ARRAY_SIZE(pwrseq_wcn6750_vregs),
|
||||||
|
.pwup_delay_ms = 50,
|
||||||
|
.gpio_enable_delay_ms = 5,
|
||||||
|
.targets = pwrseq_qcom_wcn_targets,
|
||||||
|
};
|
||||||
|
|
||||||
static const char *const pwrseq_wcn6855_vregs[] = {
|
static const char *const pwrseq_wcn6855_vregs[] = {
|
||||||
"vddio",
|
"vddio",
|
||||||
"vddaon",
|
"vddaon",
|
||||||
|
|
@ -431,6 +449,10 @@ static const struct of_device_id pwrseq_qcom_wcn_of_match[] = {
|
||||||
.compatible = "qcom,wcn7850-pmu",
|
.compatible = "qcom,wcn7850-pmu",
|
||||||
.data = &pwrseq_wcn7850_of_data,
|
.data = &pwrseq_wcn7850_of_data,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "qcom,wcn6750-pmu",
|
||||||
|
.data = &pwrseq_wcn6750_of_data,
|
||||||
|
},
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, pwrseq_qcom_wcn_of_match);
|
MODULE_DEVICE_TABLE(of, pwrseq_qcom_wcn_of_match);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue