linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/4] Add level shifter support for qualcomm SOC's
@ 2025-06-18  7:28 Sarthak Garg
  2025-06-18  7:28 ` [PATCH V3 1/4] mmc: sdhci-msm: Enable tuning for SDR50 mode for SD card Sarthak Garg
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Sarthak Garg @ 2025-06-18  7:28 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bjorn Andersson, Konrad Dybcio, Adrian Hunter
  Cc: linux-mmc, devicetree, linux-kernel, linux-arm-msm, quic_cang,
	quic_nguyenb, quic_rampraka, quic_pragalla, quic_sayalil,
	quic_nitirawa, quic_bhaskarv, kernel, Sarthak Garg

Add level shifter support for qualcomm SOC's.

- Changed from v2
    - As suggested by Konrad Dybcio and Ulf Hansson redesigned logic
      to introduce a new DT property max-sd-hs-frequency and override
      the hs_max_dtr accordingly in sd.c file.

- Changed from v1
    - As suggested by Krzysztof Kozlowski redesigned logic to use
    compatible property for adding this level shifter support.
    - Addressed Adrian Hunter comments on V1 with resepect to
      checkpatch.
    - Cleared the bits first and then set bits in
      sdhci_msm_execute_tuning as suggested by Adrian Hunter.
    - Upated the if condition logic in msm_set_clock_rate_for_bus_mode
      as suggested by Adrian Hunter.

Sarthak Garg (4):
  mmc: sdhci-msm: Enable tuning for SDR50 mode for SD card
  dt-bindings: mmc: controller: Add max-sd-hs-frequency property
  mmc: core: Introduce a new flag max-sd-hs-frequency
  arm64: dts: qcom: sm8550: Remove SDR104/SDR50 broken capabilities

 .../bindings/mmc/mmc-controller-common.yaml       | 10 ++++++++++
 arch/arm64/boot/dts/qcom/sm8550.dtsi              |  4 +---
 drivers/mmc/core/host.c                           |  2 ++
 drivers/mmc/core/sd.c                             |  2 +-
 drivers/mmc/host/sdhci-msm.c                      | 15 +++++++++++++++
 include/linux/mmc/host.h                          |  1 +
 6 files changed, 30 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-07-24 11:48 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18  7:28 [PATCH V3 0/4] Add level shifter support for qualcomm SOC's Sarthak Garg
2025-06-18  7:28 ` [PATCH V3 1/4] mmc: sdhci-msm: Enable tuning for SDR50 mode for SD card Sarthak Garg
2025-06-18  7:28 ` [PATCH V3 2/4] dt-bindings: mmc: controller: Add max-sd-hs-frequency property Sarthak Garg
2025-06-18  7:43   ` Krzysztof Kozlowski
2025-06-18  8:38     ` Sarthak Garg
2025-06-18  9:08       ` Krzysztof Kozlowski
2025-06-20  9:07         ` Sarthak Garg
2025-06-21 10:20     ` Konrad Dybcio
2025-06-22  9:48       ` Krzysztof Kozlowski
2025-06-23 12:08         ` Konrad Dybcio
2025-06-23 12:16           ` Krzysztof Kozlowski
2025-06-23 12:31             ` Konrad Dybcio
2025-06-24  6:06               ` Krzysztof Kozlowski
2025-07-01  9:04                 ` Konrad Dybcio
2025-07-01  9:30                   ` Krzysztof Kozlowski
2025-07-24 11:48                     ` Sarthak Garg
2025-06-18  7:28 ` [PATCH V3 3/4] mmc: core: Introduce a new flag max-sd-hs-frequency Sarthak Garg
2025-06-18  7:28 ` [PATCH V3 4/4] arm64: dts: qcom: sm8550: Remove SDR104/SDR50 broken capabilities Sarthak Garg
2025-06-18  7:41   ` Krzysztof Kozlowski
2025-06-18  8:44     ` Sarthak Garg
2025-06-18  9:08       ` Krzysztof Kozlowski
2025-06-21 10:23   ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).