* [PATCH 1/2] ARM: dts: msm8974-FP2: Drop unused card-detect pin
@ 2019-09-26 18:44 Luca Weiss
2019-09-26 18:44 ` [PATCH 2/2] ARM: dts: msm8974-FP2: Increase load on l20 for sdhci Luca Weiss
0 siblings, 1 reply; 2+ messages in thread
From: Luca Weiss @ 2019-09-26 18:44 UTC (permalink / raw)
Cc: Luca Weiss, Andy Gross, Rob Herring, Mark Rutland, linux-arm-msm,
devicetree, linux-kernel
The gpio is not used for SD card detection on the FP2.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index bf402ae39226..2869be16bc6e 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -272,14 +272,6 @@
};
};
- sdhc2_cd_pin_a: sdhc2-cd-pin-active {
- pins = "gpio62";
- function = "gpio";
-
- drive-strength = <2>;
- bias-disable;
- };
-
sdhc2_pin_a: sdhc2-pin-active {
clk {
pins = "sdc2_clk";
@@ -317,7 +309,7 @@
bus-width = <4>;
pinctrl-names = "default";
- pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
+ pinctrl-0 = <&sdhc2_pin_a>;
};
usb@f9a55000 {
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] ARM: dts: msm8974-FP2: Increase load on l20 for sdhci
2019-09-26 18:44 [PATCH 1/2] ARM: dts: msm8974-FP2: Drop unused card-detect pin Luca Weiss
@ 2019-09-26 18:44 ` Luca Weiss
0 siblings, 0 replies; 2+ messages in thread
From: Luca Weiss @ 2019-09-26 18:44 UTC (permalink / raw)
Cc: Luca Weiss, Andy Gross, Rob Herring, Mark Rutland, linux-arm-msm,
devicetree, linux-kernel
Before this change, trying to boot from the internal storage would
result in a lot of errors like:
[ 11.224046] mmc0: cache flush error -110
[ 11.224180] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
or:
[ 137.544673] mmc0: tuning execution failed: -5
[ 137.569832] mmcblk0: error -110 requesting status
[ 137.593558] mmcblk0: recovery failed!
With this patch, there are no more sdhci errors and booting works fine.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
index 2869be16bc6e..dfab2518df60 100644
--- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -221,6 +221,8 @@
regulator-max-microvolt = <2950000>;
regulator-boot-on;
+ regulator-system-load = <200000>;
+ regulator-allow-set-load;
};
l21 {
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-26 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-26 18:44 [PATCH 1/2] ARM: dts: msm8974-FP2: Drop unused card-detect pin Luca Weiss
2019-09-26 18:44 ` [PATCH 2/2] ARM: dts: msm8974-FP2: Increase load on l20 for sdhci Luca Weiss
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).