Message ID | 20220923014322.33620-3-mailingradian@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | SDM670 SDHCI support | expand |
On 23/09/2022 03:43, Richard Acayan wrote: > The Snapdragon 670 has the same quirk as Snapdragon 845 (needing to > restore the dll config). Add a compatible string check to detect the need > for this. > > Signed-off-by: Richard Acayan <mailingradian@gmail.com> > --- > drivers/mmc/host/sdhci-msm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c > index dc2991422a87..3a091a387ecb 100644 > --- a/drivers/mmc/host/sdhci-msm.c > +++ b/drivers/mmc/host/sdhci-msm.c > @@ -2441,6 +2441,7 @@ static const struct of_device_id sdhci_msm_dt_match[] = { > */ > {.compatible = "qcom,sdhci-msm-v4", .data = &sdhci_msm_mci_var}, > {.compatible = "qcom,sdhci-msm-v5", .data = &sdhci_msm_v5_var}, > + {.compatible = "qcom,sdm670-sdhci", .data = &sdm845_sdhci_var}, > {.compatible = "qcom,sdm845-sdhci", .data = &sdm845_sdhci_var}, > {.compatible = "qcom,sc7180-sdhci", .data = &sdm845_sdhci_var}, Probably we should make them a family of compatible devices, because the list grows. For three items: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> If you want to add fourth, I propose to make it a family. Best regards, Krzysztof
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index dc2991422a87..3a091a387ecb 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -2441,6 +2441,7 @@ static const struct of_device_id sdhci_msm_dt_match[] = { */ {.compatible = "qcom,sdhci-msm-v4", .data = &sdhci_msm_mci_var}, {.compatible = "qcom,sdhci-msm-v5", .data = &sdhci_msm_v5_var}, + {.compatible = "qcom,sdm670-sdhci", .data = &sdm845_sdhci_var}, {.compatible = "qcom,sdm845-sdhci", .data = &sdm845_sdhci_var}, {.compatible = "qcom,sc7180-sdhci", .data = &sdm845_sdhci_var}, {},
The Snapdragon 670 has the same quirk as Snapdragon 845 (needing to restore the dll config). Add a compatible string check to detect the need for this. Signed-off-by: Richard Acayan <mailingradian@gmail.com> --- drivers/mmc/host/sdhci-msm.c | 1 + 1 file changed, 1 insertion(+)