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=ham 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 A827DC43613 for ; Mon, 24 Jun 2019 10:17:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8125920645 for ; Mon, 24 Jun 2019 10:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561371442; bh=eNchQqzVh7+iy2vqenaB8YiRNViboiJaue4XOW0p4FA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mXqMrRgl8mI1DpuybJnrOWlRRxN8djyotiwYa1F2f4LveKoHSSDpkeJiPtI3BYhv8 DMUXq5eXW6wSCQ1F9TL/3jkf6TJi3y9zcjkttRKfXPVZMxkzNX8hut7G3S2Sdle6Fa /8I2cE2vRsk4hTvK3eHkpfi27LnbExqAGUZeHV6A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730939AbfFXKRV (ORCPT ); Mon, 24 Jun 2019 06:17:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:54908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730892AbfFXKRQ (ORCPT ); Mon, 24 Jun 2019 06:17:16 -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 22855205C9; Mon, 24 Jun 2019 10:17:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561371435; bh=eNchQqzVh7+iy2vqenaB8YiRNViboiJaue4XOW0p4FA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LveVfHB9KC3JwX+Ew4QL9KGVNbBQiKNi9s6S+XwLfm0/wFsHZr4l1w/B3g1ZJiMCh BT4Lz2CAwJc6JG83+SX4W5SVBs3EMnYAgSgpfE/SlxxVYQED/jT8cgUp1zvVIedkgF SR5Rbm8AHIg8omgYLfzsGQwgGyOScFL59Cw+ktrM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Faiz Abbas , Tony Lindgren Subject: [PATCH 5.1 101/121] ARM: dts: am57xx-idk: Remove support for voltage switching for SD card Date: Mon, 24 Jun 2019 17:57:13 +0800 Message-Id: <20190624092325.884521134@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190624092320.652599624@linuxfoundation.org> References: <20190624092320.652599624@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 @@ -420,6 +420,7 @@ vqmmc-supply = <&ldo1_reg>; bus-width = <4>; cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ + no-1-8-v; }; &mmc2 {