Patch "arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-allwinner-h6-allow-up-to-150-mhz-mmc-bus-f.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 5e0f116feb2fc80a2e22d6c4bf2c14116b26a7d5
Author: Andre Przywara <andre.przywara@xxxxxxx>
Date:   Wed Jan 13 15:26:27 2021 +0000

    arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
    
    [ Upstream commit cfe6c487b9a1abc6197714ec5605716a5428cf03 ]
    
    The H6 manual explicitly lists a frequency limit of 150 MHz for the bus
    frequency of the MMC controllers. So far we had no explicit limits in the
    DT, which limited eMMC to the spec defined frequencies, or whatever the
    driver defines (both Linux and FreeBSD use 52 MHz here).
    
    Put those maximum frequencies in the SoC .dtsi, to allow higher speed
    modes (which still would need to be explicitly enabled, per board).
    
    Tested with an eMMC using HS-200 on a Pine H64. Running at the spec'ed
    200 MHz indeed fails with I/O errors, but 150 MHz seems to work stably.
    
    Fixes: 8f54bd1595b3 ("arm64: allwinner: h6: add device tree nodes for MMC controllers")
    Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
    Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>
    Signed-off-by: Maxime Ripard <maxime@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210113152630.28810-6-andre.przywara@xxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index 8b77bd5a3c017..1583cd5915214 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
@@ -332,6 +332,7 @@
 			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
 			pinctrl-names = "default";
 			pinctrl-0 = <&mmc0_pins>;
+			max-frequency = <150000000>;
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -348,6 +349,7 @@
 			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
 			pinctrl-names = "default";
 			pinctrl-0 = <&mmc1_pins>;
+			max-frequency = <150000000>;
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -364,6 +366,7 @@
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 			pinctrl-names = "default";
 			pinctrl-0 = <&mmc2_pins>;
+			max-frequency = <150000000>;
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux