All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] SDM670 SDHCI support
@ 2022-09-23  1:43 Richard Acayan
  2022-09-23  1:43 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible Richard Acayan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Richard Acayan @ 2022-09-23  1:43 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Adrian Hunter,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-mmc, devicetree, Richard Acayan

This adds the compatible string for SDHCI on the Qualcomm Snapdragon 670.
As I noted before, I think it's fine to include something like this
before the initial device tree because it is trivial.

 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
 drivers/mmc/host/sdhci-msm.c                         | 1 +
 2 files changed, 2 insertions(+)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible
  2022-09-23  1:43 [PATCH 0/2] SDM670 SDHCI support Richard Acayan
@ 2022-09-23  1:43 ` Richard Acayan
  2022-09-23  9:36   ` Krzysztof Kozlowski
  2022-09-23  1:43 ` [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670 Richard Acayan
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Richard Acayan @ 2022-09-23  1:43 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Adrian Hunter,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-mmc, devicetree, Richard Acayan

The Snapdragon 670 supports eMMC with an SDHCI controller. Add the
appropriate compatible to the documentation.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
---
 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
index 775476d7f9f0..a96f143479c7 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
@@ -38,6 +38,7 @@ properties:
               - qcom,sc7180-sdhci
               - qcom,sc7280-sdhci
               - qcom,sdm630-sdhci
+              - qcom,sdm670-sdhci
               - qcom,sdm845-sdhci
               - qcom,sdx55-sdhci
               - qcom,sdx65-sdhci
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670
  2022-09-23  1:43 [PATCH 0/2] SDM670 SDHCI support Richard Acayan
  2022-09-23  1:43 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible Richard Acayan
@ 2022-09-23  1:43 ` Richard Acayan
  2022-09-23  9:38   ` Krzysztof Kozlowski
  2022-09-23  5:06 ` [PATCH 0/2] SDM670 SDHCI support Bhupesh Sharma
  2022-09-27 12:13 ` Ulf Hansson
  3 siblings, 1 reply; 7+ messages in thread
From: Richard Acayan @ 2022-09-23  1:43 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Adrian Hunter,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-mmc, devicetree, Richard Acayan

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},
 	{},
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] SDM670 SDHCI support
  2022-09-23  1:43 [PATCH 0/2] SDM670 SDHCI support Richard Acayan
  2022-09-23  1:43 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible Richard Acayan
  2022-09-23  1:43 ` [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670 Richard Acayan
@ 2022-09-23  5:06 ` Bhupesh Sharma
  2022-09-27 12:13 ` Ulf Hansson
  3 siblings, 0 replies; 7+ messages in thread
From: Bhupesh Sharma @ 2022-09-23  5:06 UTC (permalink / raw)
  To: Richard Acayan
  Cc: linux-arm-msm, Ulf Hansson, Rob Herring, Krzysztof Kozlowski,
	Adrian Hunter, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	linux-mmc, devicetree

On Fri, 23 Sept 2022 at 07:13, Richard Acayan <mailingradian@gmail.com> wrote:
>
> This adds the compatible string for SDHCI on the Qualcomm Snapdragon 670.
> As I noted before, I think it's fine to include something like this
> before the initial device tree because it is trivial.
>
>  Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
>  drivers/mmc/host/sdhci-msm.c                         | 1 +
>  2 files changed, 2 insertions(+)

With the assumption that the initial dts would be available for
upstream review soon (as we need to see actual user before integrating
such driver changes) - for the series:

Reviewed-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>

Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible
  2022-09-23  1:43 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible Richard Acayan
@ 2022-09-23  9:36   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-23  9:36 UTC (permalink / raw)
  To: Richard Acayan, linux-arm-msm
  Cc: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Adrian Hunter,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-mmc, devicetree

On 23/09/2022 03:43, Richard Acayan wrote:
> The Snapdragon 670 supports eMMC with an SDHCI controller. Add the
> appropriate compatible to the documentation.
> 
> Signed-off-by: Richard Acayan <mailingradian@gmail.com>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670
  2022-09-23  1:43 ` [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670 Richard Acayan
@ 2022-09-23  9:38   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-23  9:38 UTC (permalink / raw)
  To: Richard Acayan, linux-arm-msm
  Cc: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Adrian Hunter,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-mmc, devicetree

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] SDM670 SDHCI support
  2022-09-23  1:43 [PATCH 0/2] SDM670 SDHCI support Richard Acayan
                   ` (2 preceding siblings ...)
  2022-09-23  5:06 ` [PATCH 0/2] SDM670 SDHCI support Bhupesh Sharma
@ 2022-09-27 12:13 ` Ulf Hansson
  3 siblings, 0 replies; 7+ messages in thread
From: Ulf Hansson @ 2022-09-27 12:13 UTC (permalink / raw)
  To: Richard Acayan
  Cc: linux-arm-msm, Rob Herring, Krzysztof Kozlowski, Adrian Hunter,
	Andy Gross, Bjorn Andersson, Konrad Dybcio, Bhupesh Sharma,
	linux-mmc, devicetree

On Fri, 23 Sept 2022 at 03:43, Richard Acayan <mailingradian@gmail.com> wrote:
>
> This adds the compatible string for SDHCI on the Qualcomm Snapdragon 670.
> As I noted before, I think it's fine to include something like this
> before the initial device tree because it is trivial.
>
>  Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
>  drivers/mmc/host/sdhci-msm.c                         | 1 +
>  2 files changed, 2 insertions(+)
>
>

Applied for next, thanks!

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-27 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23  1:43 [PATCH 0/2] SDM670 SDHCI support Richard Acayan
2022-09-23  1:43 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: add sdm670 compatible Richard Acayan
2022-09-23  9:36   ` Krzysztof Kozlowski
2022-09-23  1:43 ` [PATCH 2/2] mmc: sdhci-msm: add compatible string check for sdm670 Richard Acayan
2022-09-23  9:38   ` Krzysztof Kozlowski
2022-09-23  5:06 ` [PATCH 0/2] SDM670 SDHCI support Bhupesh Sharma
2022-09-27 12:13 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.