Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3560308pxb; Mon, 1 Mar 2021 13:21:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvLXYlZn8kQtBIAbm+F3sOKh7SNFXTFgbHfVrVrpABmNlynyLoIm13eix3QiQQDX36EmMg X-Received: by 2002:a17:907:76ed:: with SMTP id kg13mr16882251ejc.99.1614633705928; Mon, 01 Mar 2021 13:21:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614633705; cv=none; d=google.com; s=arc-20160816; b=rzEKNf5eQuETH5myGCNhvNkti/DjqvLidyx7qed+GCaSZ05EAegKR5iC73Pg2QroIz FYzrJyq9wOm4Tt4sOsl66Pzg9nFHlJzoXUrFCD/4EOLZlSMlq8U+ttAY+j34LBQNeUto XVmGId+Sg9Q4o7QHj0q3tk3vPA3voccNi7eMTJ5wAY6/YPstki71lNb8t+W8b4Lz6+t0 cb2++g0Gw+lVY+PvMK3kx9RiyLj8pDeebCUOTgTJk6bVSFyDuZbaDsAktu9LpOEXs+Dg b+JdoTKiX6vrNMRfqvcWhZdziYTosAK+mPMgd5OZRB9XcsaCi0ZloAVNHEMIpVoDo6M3 pq0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BZXlgfc0l/iCLVBRzecHEoie7HHdbb4uHTmCCc6TpE4=; b=kNid9/qfMsjhXuvcrVffjOf0+z/SyGUASCf+I4maqI2meFVdwsQpMLnQASAhCY24HW VJf+abGXYciezru0HPZ/rWaFhGa8oRxWjrgHiAVNZMua69I6dKbMtWmfvZWQpXp5nMhG EFjBL6jynBc1aT+7lt7R72yMYKSSrh9AXHX4o52Yry0q998TiNvM1opHfbhOpCWvi3ko 2Ckr8DcGWn9Dk99JDGyQZgEeTWCsRMBD7mUcfWpuZhoj1klKJWyLu0qLCL5vhjyNVghh eTuVOf9O9Y6mHNFEgiRwqir4XqEHPZsYQnm+Usug5hl+q3oIkZpmfKqs80XCz9wMXcFl VpvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gt8f5Qwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si9071041edq.32.2021.03.01.13.21.23; Mon, 01 Mar 2021 13:21:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gt8f5Qwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244180AbhCAVSO (ORCPT + 99 others); Mon, 1 Mar 2021 16:18:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:52652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232324AbhCAROC (ORCPT ); Mon, 1 Mar 2021 12:14:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 381D56503B; Mon, 1 Mar 2021 16:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614617117; bh=3/gAltotOdlbTZZ8MhdSgvikWypPfPam+ZNOuNInc2g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gt8f5QwnG0S8diH9xEBSQQjkzmt0otfDWv2dNjGjFTe5R0Do5MoTrWGKreNJBkzoe I1Z9924f3MD2UuTdM9P+3cf/uxyazgw5fxHUuhIKyfMkX0X7pasRUnX5WbQdCRviJx r6EKEiXEzw+FPWcaEGeRkn/tGAbVmCtm0Cl7UG1A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Frank Wunderlich , Matthias Brugger Subject: [PATCH 4.19 208/247] dts64: mt7622: fix slow sd card access Date: Mon, 1 Mar 2021 17:13:48 +0100 Message-Id: <20210301161041.854833045@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich commit dc2e76175417e69c41d927dba75a966399f18354 upstream. Fix extreme slow speed (200MB takes ~20 min) on writing sdcard on bananapi-r64 by adding reset-control for mmc1 like it's done for mmc0/emmc. Fixes: 2c002a3049f7 ("arm64: dts: mt7622: add mmc related device nodes") Signed-off-by: Frank Wunderlich Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210113180919.49523-1-linux@fw-web.de Signed-off-by: Matthias Brugger Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -641,6 +641,8 @@ clocks = <&pericfg CLK_PERI_MSDC30_1_PD>, <&topckgen CLK_TOP_AXI_SEL>; clock-names = "source", "hclk"; + resets = <&pericfg MT7622_PERI_MSDC1_SW_RST>; + reset-names = "hrst"; status = "disabled"; };