lkml.org 
[lkml]   [2020]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.8 49/72] arm64: dts: meson: misc fixups for w400 dtsi
    Date
    From: Christian Hewitt <christianshewitt@gmail.com>

    [ Upstream commit 2fa17dd09533d5d83201be3229a28c1010a8ea3e ]

    Current devices using the W400 dtsi show mmc tuning errors:

    [12483.917391] mmc0: tuning execution failed: -5
    [30535.551221] mmc0: tuning execution failed: -5
    [35359.953671] mmc0: tuning execution failed: -5
    [35561.875332] mmc0: tuning execution failed: -5
    [61733.348709] mmc0: tuning execution failed: -5

    Removing "sd-uhs-sdr50" from the SDIO node prevents this. We also add
    keep-power-in-suspend to the SDIO node and fix an indentation.

    Fixes: 3cb74db9b256 ("arm64: dts: meson: convert ugoos-am6 to common w400 dtsi")
    Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
    Signed-off-by: Kevin Hilman <khilman@baylibre.com>
    Link: https://lore.kernel.org/r/20200721013952.11635-1-christianshewitt@gmail.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi | 6 ++++--
    1 file changed, 4 insertions(+), 2 deletions(-)

    diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi
    index 98b70d216a6f3..2802ddbb83ac7 100644
    --- a/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi
    +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-w400.dtsi
    @@ -336,9 +336,11 @@ &sd_emmc_a {

    bus-width = <4>;
    cap-sd-highspeed;
    - sd-uhs-sdr50;
    max-frequency = <100000000>;

    + /* WiFi firmware requires power to be kept while in suspend */
    + keep-power-in-suspend;
    +
    non-removable;
    disable-wp;

    @@ -398,7 +400,7 @@ bluetooth {
    shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
    max-speed = <2000000>;
    clocks = <&wifi32k>;
    - clock-names = "lpo";
    + clock-names = "lpo";
    };
    };

    --
    2.25.1
    \
     
     \ /
      Last update: 2020-08-09 01:50    [W:4.024 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site