diff options
author | Konrad Dybcio <konradybcio@kernel.org> | 2024-08-13 21:08:41 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-08-19 10:03:31 +0200 |
commit | b8e4b0529d59a3ccd0b25a31d3cfc8b0f3b34068 (patch) | |
tree | cc2545343f66b19757fe09b5476e15b582df3701 /drivers/power | |
parent | Linux 6.11-rc1 (diff) | |
download | linux-b8e4b0529d59a3ccd0b25a31d3cfc8b0f3b34068.tar.xz linux-b8e4b0529d59a3ccd0b25a31d3cfc8b0f3b34068.zip |
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 <konradybcio@kernel.org>
[Bartosz: split Konrad's bigger patch, write the commit message]
Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20240813190841.155067-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/sequencing/pwrseq-qcom-wcn.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/power/sequencing/pwrseq-qcom-wcn.c b/drivers/power/sequencing/pwrseq-qcom-wcn.c index 42dacfda745e..a958d29eb18b 100644 --- a/drivers/power/sequencing/pwrseq-qcom-wcn.c +++ b/drivers/power/sequencing/pwrseq-qcom-wcn.c @@ -198,6 +198,13 @@ static const struct pwrseq_qcom_wcn_pdata pwrseq_qca6390_of_data = { .gpio_enable_delay_ms = 100, }; +static const struct pwrseq_qcom_wcn_pdata pwrseq_wcn6855_of_data = { + .vregs = pwrseq_qca6390_vregs, + .num_vregs = ARRAY_SIZE(pwrseq_qca6390_vregs), + .pwup_delay_ms = 50, + .gpio_enable_delay_ms = 5, +}; + static const char *const pwrseq_wcn7850_vregs[] = { "vdd", "vddio", @@ -315,6 +322,10 @@ static const struct of_device_id pwrseq_qcom_wcn_of_match[] = { .data = &pwrseq_qca6390_of_data, }, { + .compatible = "qcom,wcn6855-pmu", + .data = &pwrseq_wcn6855_of_data, + }, + { .compatible = "qcom,wcn7850-pmu", .data = &pwrseq_wcn7850_of_data, }, |