From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77962C4646B for ; Mon, 24 Jun 2019 10:12:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45FF9208E3 for ; Mon, 24 Jun 2019 10:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561371158; bh=TTW5Nkeyvf2jF7NMFvKERC/B1WxDwj5qrlsRrLpSqo8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=VQGcjshqHjHpxtun0/eqIaaF2nAo1iRqASnuI8JO9I0KJl0hKerscyHVi7K7iFRAc B5/urIDVhKxzHmvCDsC/I1qFR7zE4iECHgTV6Cbzz53a3TGaHiX6tZev3RidZoiFtF p5/KTA547Flr7RrWeLcvWcMIkUXYFLrSNpXShJh0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730260AbfFXKMe (ORCPT ); Mon, 24 Jun 2019 06:12:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:37900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729999AbfFXKFu (ORCPT ); Mon, 24 Jun 2019 06:05:50 -0400 Received: from localhost (f4.8f.5177.ip4.static.sl-reverse.com [119.81.143.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 279A3213F2; Mon, 24 Jun 2019 10:05:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561370749; bh=TTW5Nkeyvf2jF7NMFvKERC/B1WxDwj5qrlsRrLpSqo8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gEANnt7DdIU3kIJ0JyJAA7uvVFU2BoXaW4/3dDe8h6ZyxGNLohAuFyOqbNdIZSN5c g3o2qwoWbaTM0g0E4b8zqkV+xUGqo2EH4uWP1d0d1HpiuVBkEVyoCM+xMmarMa56o0 x0Ng3jNoGwsAwgdNZRZfGeWRT7z4ywH7AX/ngVQQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Faiz Abbas , Tony Lindgren Subject: [PATCH 4.19 76/90] ARM: dts: am57xx-idk: Remove support for voltage switching for SD card Date: Mon, 24 Jun 2019 17:57:06 +0800 Message-Id: <20190624092318.951732384@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190624092313.788773607@linuxfoundation.org> References: <20190624092313.788773607@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Faiz Abbas commit 88a748419b84187fd1da05637b8e5928b04a1e06 upstream. If UHS speed modes are enabled, a compatible SD card switches down to 1.8V during enumeration. If after this a software reboot/crash takes place and on-chip ROM tries to enumerate the SD card, the difference in IO voltages (host @ 3.3V and card @ 1.8V) may end up damaging the card. The fix for this is to have support for power cycling the card in hardware (with a PORz/soft-reset line causing a power cycle of the card). Since am571x-, am572x- and am574x-idk don't have this capability, disable voltage switching for these boards. The major effect of this is that the maximum supported speed mode is now high speed(50 MHz) down from SDR104(200 MHz). Cc: Signed-off-by: Faiz Abbas Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/am57xx-idk-common.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -410,6 +410,7 @@ vqmmc-supply = <&ldo1_reg>; bus-width = <4>; cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ + no-1-8-v; }; &mmc2 {