arm64: dts: qcom: add reset to SDHC on IPQ SoCs
cover arm64: dts: qcom: add reset to SDHC on IPQ SoCs
Add the GCC SDCC block reset to the SDHCI controller node on IPQ5332, IPQ5424, IPQ5210 and IPQ9650, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
---
Kathiravan Thirumoorthy (4):
arm64: dts: qcom: ipq5332: add reset to SDHC
arm64: dts: qcom: ipq5424: add reset to SDHC
arm64: dts: qcom: ipq5210: add reset to SDHC
arm64: dts: qcom: ipq9650: add reset to SDHC
arch/arm64/boot/dts/qcom/ipq5210.dtsi | 1 + arch/arm64/boot/dts/qcom/ipq5332.dtsi | 1 + arch/arm64/boot/dts/qcom/ipq5424.dtsi | 1 + arch/arm64/boot/dts/qcom/ipq9650.dtsi | 1 + 4 files changed, 4 insertions(+)
---
base-commit: 799dd936553182df5770dde7f38d94c8337df75a
change-id: 20261203-ipq_sdhc_reset-f081430004f3
Best regards,
Signature · 1 line
Kathiravan Thirumoorthy <[email protected]>
PATCH 1/4 arm64: dts: qcom: ipq5332: add reset to SDHC
Add the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
--- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/ipq5332.dtsi +1 -0
@@ -383,6 +383,7 @@ sdhc: mmc@7804000 { <&gcc GCC_SDCC1_APPS_CLK>, <&xo_board>; clock-names = "iface", "core", "xo"; + resets = <&gcc GCC_SDCC_BCR>; status = "disabled"; };
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH 1/4] arm64: dts: qcom: ipq5332: add reset to SDHC
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: qcom: missing Fixes trailer for IPQ5332 SDHC reset fix --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: qcom: missing Fixes trailer for IPQ5332 SDHC reset fix
--
commit 398b29ae5ef0956c9476baf29188ee36066d45ff
Author: Kathiravan Thirumoorthy <[email protected]>
Quoted 7 lines
arm64: dts: qcom: ipq5332: add reset to SDHC
Add the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
Signed-off-by Kathiravan Thirumoorthy <[email protected]>
[Severity: Low]
This fixes SDHCI timeout issues on IPQ5332, and adding a Fixes tag allows stable trees to pick it up. Should this include:
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
PATCH 2/4 arm64: dts: qcom: ipq5424: add reset to SDHC
In reply to Kathiravan ThirumoorthyAdd the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
--- arch/arm64/boot/dts/qcom/ipq5424.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/ipq5424.dtsi +1 -0
@@ -566,6 +566,7 @@ sdhc: mmc@7804000 { <&gcc GCC_SDCC1_APPS_CLK>, <&xo_board>; clock-names = "iface", "core", "xo"; + resets = <&gcc GCC_SDCC_BCR>; supports-cqe;
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH 2/4] arm64: dts: qcom: ipq5424: add reset to SDHC
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: qcom: ipq5424: missing Fixes trailer for SDHC reset fix --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: qcom: ipq5424: missing Fixes trailer for SDHC reset fix
--
commit 6a8efb83f52a4b465957eaa60f85146480925aad
Author: Kathiravan Thirumoorthy <[email protected]>
Quoted 7 lines
arm64: dts: qcom: ipq5424: add reset to SDHC
Add the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
Signed-off-by Kathiravan Thirumoorthy <[email protected]>
[Severity: Low]
This looks like a bug fix for SDHCI timeout issues on IPQ5424. Should this include:
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
PATCH 3/4 arm64: dts: qcom: ipq5210: add reset to SDHC
In reply to Kathiravan ThirumoorthyAdd the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
--- arch/arm64/boot/dts/qcom/ipq5210.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/ipq5210.dtsi +1 -0
@@ -224,6 +224,7 @@ sdhc: mmc@7804000 { clock-names = "iface", "core", "xo"; + resets = <&gcc GCC_SDCC_BCR>; non-removable; status = "disabled";
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH 3/4] arm64: dts: qcom: ipq5210: add reset to SDHC
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: qcom: missing Fixes trailer for IPQ5210 SDHC reset fix --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: qcom: missing Fixes trailer for IPQ5210 SDHC reset fix
--
commit 7d9a36e3da2c9ae6c44fbf990d15bc2fb12f85a9
Author: Kathiravan Thirumoorthy <[email protected]>
Quoted 7 lines
arm64: dts: qcom: ipq5210: add reset to SDHC
Add the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
Signed-off-by Kathiravan Thirumoorthy <[email protected]>
[Severity: Low]
Since this fixes SDHCI timeout issues caused by the sdhc node missing its reset property, should this include:
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
PATCH 4/4 arm64: dts: qcom: ipq9650: add reset to SDHC
In reply to Kathiravan ThirumoorthyAdd the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
--- arch/arm64/boot/dts/qcom/ipq9650.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/ipq9650.dtsi +1 -0
@@ -428,6 +428,7 @@ sdhc: mmc@7804000 { clock-names = "iface", "core", "xo"; + resets = <&gcc GCC_SDCC_BCR>; non-removable; status = "disabled";
Signature · 1 line
2.34.1
[email protected]
AI reviewRe: [PATCH 4/4] arm64: dts: qcom: ipq9650: add reset to SDHC
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] arm64: dts: qcom: missing Fixes trailer for IPQ9650 SDHC reset fix --
Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Low] arm64: dts: qcom: missing Fixes trailer for IPQ9650 SDHC reset fix
--
commit caff921ec8727b73a635d64eca3291a921120f9f
Author: Kathiravan Thirumoorthy <[email protected]>
Quoted 7 lines
arm64: dts: qcom: ipq9650: add reset to SDHC
Add the reset to the SDHCI controller node, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
Signed-off-by Kathiravan Thirumoorthy <[email protected]>
[Severity: Low]
This looks like a bug fix for SDHC timeout issues on IPQ9650, where the sdhc node was added without the GCC_SDCC_BCR reset. Should this include:
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=4
Quoted 4 lines · Kathiravan Thirumoorthy
Add the GCC SDCC block reset to the SDHCI controller node on IPQ5332, IPQ5424, IPQ5210 and IPQ9650, so the controller can be reset to avoid timeout issues caused by the configuration left behind by the bootloader.
Applied, thanks!
[1/4] arm64: dts: qcom: ipq5332: add reset to SDHC
commit: cb07c67e6c2521fe1098448c1a2266066d622382
[2/4] arm64: dts: qcom: ipq5424: add reset to SDHC
commit: 9792d8b8f6e7c835c72effccfe34fab952d96500
[3/4] arm64: dts: qcom: ipq5210: add reset to SDHC
commit: b23791e20249b89819de0e1051b251458f34fcfc
[4/4] arm64: dts: qcom: ipq9650: add reset to SDHC
commit: 03542fd0ea2bba44800652b1a4fed9f1bb3616c0Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>