Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3006672imm; Sun, 1 Jul 2018 10:09:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeZytl75I7znv49PIbhF/fIqKbX1QzgCkVRGZJcWWn3PmvMrBAqyBwk0JMCOrAGoHLqoGSn X-Received: by 2002:a63:1811:: with SMTP id y17-v6mr3361144pgl.356.1530464981236; Sun, 01 Jul 2018 10:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530464981; cv=none; d=google.com; s=arc-20160816; b=Sxa7Rm0WnBZjR3n6ayK8nLuC7HzaPz4YmgR+VxP/Xi9Ogy7LcLlCdZb2+FA8sGxEJU AfEWNPD9jlCZ/pJF7gm+pvfQfs8FRfnGd5L3OjPNyaz2/TRuv9rAAxLYjZqFpODF+m9w hKDX51zhcNlPW3d6ftnUtpqPINxFAlaMN6INlnF9n/h0PPcw4KGBKoG6KiRy1uA89NIb Y9ktJg6bC0ZJpo+kMgpr1qhQT7Jj+ixPCBaeoa0vg5of8nPtxaAbGgnH4DZXbotfHJ4w TDnuDkT0GQFLwYB0cRElFDsCV5YgRGHKCSigSLtwFTQ2r9SSr6MuWcBPFiy0uKj4KZLG uEQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=4FSQmY/QL/H6RWJA5HtkxkjkhpnCbrB+ubGLRkIm/3U=; b=NM7BzkxFOdf5PuxZqnDaqbmCo8MsauAIW9ilHeTzH4tSydsw+cafC7wIw+mablcAyS ga2bK9xNGLuS7a6VBxwl/ET1MCMZHnBgbgoFTjqs4SVyAQPq+sAISVGsopyhuD32Me+3 QG/7EjNMxYwsWvXnDyuJ5YzAU3IUHFpzZ+Q8pq+4ex5RixKYS4ZnDFfQVIo7GBLK4gk+ XLTTSLLh3j1wNLaE2j0nFY1zXoEo3Tc42Qo5/P/X4eNldCNmwIysTk4fX4xi5hGqcNdo dijmg7Tpn6YftanjCCfHxfPIopvHsyx1Qt/cSaCo7ZL2HHl42Xqj7fwVAoDaUR5V2Lj4 Dblw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 195-v6si12016553pgb.176.2018.07.01.10.09.26; Sun, 01 Jul 2018 10:09:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753731AbeGARID (ORCPT + 99 others); Sun, 1 Jul 2018 13:08:03 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37418 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031508AbeGAQlj (ORCPT ); Sun, 1 Jul 2018 12:41:39 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3E31BAA6; Sun, 1 Jul 2018 16:41:39 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jerome Brunet , Kevin Hilman Subject: [PATCH 4.17 076/220] ARM64: dts: meson: disable sd-uhs modes on the libretech-cc Date: Sun, 1 Jul 2018 18:21:40 +0200 Message-Id: <20180701160911.625574766@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701160908.272447118@linuxfoundation.org> References: <20180701160908.272447118@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jerome Brunet commit d5b4885b1dff72ac670b518cfeaac719d768bd4d upstream. There is a problem with the sd-uhs mode when doing a soft reboot. Switching back from 1.8v to 3.3v messes with the card, which no longer respond (timeout errors). According to the specification, we should perform a card reset (power cycling the card) but this is something we cannot control on this design. Then the only solution to restore the communication with the card is an "unplug-plug" which is not acceptable Until we find a solution, if any, disable the sd-uhs modes on this design. For the people using uhs at the moment, there will a performance drop as a result. Fixes: 3cde63ebc85c ("ARM64: dts: meson-gxl: libretech-cc: enable high speed modes") Signed-off-by: Jerome Brunet Cc: stable@vger.kernel.org Signed-off-by: Kevin Hilman Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 3 --- 1 file changed, 3 deletions(-) --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts @@ -234,9 +234,6 @@ bus-width = <4>; cap-sd-highspeed; - sd-uhs-sdr12; - sd-uhs-sdr25; - sd-uhs-sdr50; max-frequency = <100000000>; disable-wp;