From 7c24cb15cbf51c0d6b11e45bacb8fd9c980dae27 Mon Sep 17 00:00:00 2001 From: "Bao D. Nguyen" Date: Thu, 10 Apr 2025 13:05:42 -0700 Subject: [PATCH] ARM: dts: msm: Add SD card LS external feedback clock support Add the Level Shifter's external feedback clock entry to support the SD card HS50 mode running at 50MHz. By default, the Sun platforms use the Level Shifter devices with external feedback clock signal connects back to the MSM in order for the HS50 mode to work at 50MHz. Without the external feedback clock, the HS50 mode works at reduced frequency at 37.5MHz. Change-Id: I56c61411d7f792a389fa85661fce7fa5074e2c9f Signed-off-by: Bao D. Nguyen --- qcom/sun-cdp.dtsi | 9 ++++++++- qcom/sun-mtp.dtsi | 9 ++++++++- qcom/sun-qrd.dtsi | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/qcom/sun-cdp.dtsi b/qcom/sun-cdp.dtsi index 28d1a324..e548c260 100644 --- a/qcom/sun-cdp.dtsi +++ b/qcom/sun-cdp.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -206,7 +206,14 @@ resets = <&gcc GCC_SDCC2_BCR>; reset-names = "core_reset"; + /* + * By default, the Sun reference platforms use Level Shifter + * devices with its Feedback Clock signal connects to the MSM. + * Without the external feedback clock, the HS50 mode works at + * reduced frequency at 37.5MHz. + */ qcom,uses_level_shifter; + qcom,external-fb-clk; }; &eusb2_phy0 { diff --git a/qcom/sun-mtp.dtsi b/qcom/sun-mtp.dtsi index 22d806c0..6b9b9be8 100644 --- a/qcom/sun-mtp.dtsi +++ b/qcom/sun-mtp.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -282,7 +282,14 @@ resets = <&gcc GCC_SDCC2_BCR>; reset-names = "core_reset"; + /* + * By default, the Sun reference platforms use Level Shifter + * devices with its Feedback Clock signal connects to the MSM. + * Without the external feedback clock, the HS50 mode works at + * reduced frequency at 37.5MHz. + */ qcom,uses_level_shifter; + qcom,external-fb-clk; }; &pmih010x_eusb2_repeater { diff --git a/qcom/sun-qrd.dtsi b/qcom/sun-qrd.dtsi index d71a76a4..bb420bf0 100644 --- a/qcom/sun-qrd.dtsi +++ b/qcom/sun-qrd.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -219,7 +219,14 @@ resets = <&gcc GCC_SDCC2_BCR>; reset-names = "core_reset"; + /* + * By default, the Sun reference platforms use Level Shifter + * devices with its Feedback Clock signal connects to the MSM. + * Without the external feedback clock, the HS50 mode works at + * reduced frequency at 37.5MHz. + */ qcom,uses_level_shifter; + qcom,external-fb-clk; }; &eusb2_phy0 {