Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp575584pxb; Wed, 13 Jan 2021 10:29:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhRImf2Vaay0Gvx6Mt8PS71uRYlnqpQWlF0HQE7Z+QS834ckHmUeZsg9rqzbdUj8O1u5sb X-Received: by 2002:a17:906:34c3:: with SMTP id h3mr2514817ejb.132.1610562553692; Wed, 13 Jan 2021 10:29:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610562553; cv=none; d=google.com; s=arc-20160816; b=g1SXcagKxUFo5dQtVaTSzmCyNO0D8zLi3a13Io+b2x2bivFsr2/5ddGZdPWcs2VCzD 0ULOYIUR5Kbf9UO6dF5/rV0ShiJW7teGK0Ank+DF63TSA8I3ARk9UeZv9FpqmLJLgUjg 5d/DTOEezMrhxiZFK47IM2jJEwqs1ZJJuRgNAuP9lHXc+/WSkZLXbuBfLMXBqCQWUxh3 lBqv5EYXHw6DJiOWfvGYN39cOZUU1fG9ln5wem1YpVSa/SGfBk7cmj6Tc7Y8pBjyuXLm 34KFEIXS9e8y+Qeu2AYs3DhSd6IeDoUZcXaN4U9OjD6nLjL7Gvja14Zf8DaNX+z7PX5b iV/A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=E2lk75BZSz27MihA13aYu0dHFwcD4S99yuODfKDmRY4=; b=SXdhkQ+69tOSIS+Jh4ni/NSglQYaagyHOOqjF38KLPDGeDhaRXuKJ9uO/cVlRRaFG5 PSenoDTh/aPClAGNUTE3UF95iOaICBsgLji8XFkiNIQC9WwfDLCemy4+wPRxecfGqoR2 LLczaxe0VG0eXahAEWxqB62lRYH0ivmstpumLE7PjXW1pIpcOu/IV+S8irrvnzpDduio eubiujnTeisFdbBqrtW2vFQ7pfOXYguLEmIA4twdZjgrZSA6bv+ifBiftqIG0CY9ecPe vHL+AZuQ3LOSmXB7t+yeNcUgD3JlbmKDrkXpaWMP5W/XsLvT4/CSbwRUTp+kWoJftK3t +0vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=p7KbIaT2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sa14si1321703ejb.54.2021.01.13.10.28.50; Wed, 13 Jan 2021 10:29:13 -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=@mailerdienst.de header.s=20200217 header.b=p7KbIaT2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728369AbhAMS1E (ORCPT + 99 others); Wed, 13 Jan 2021 13:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727896AbhAMS1E (ORCPT ); Wed, 13 Jan 2021 13:27:04 -0500 Received: from mxwww.masterlogin.de (mxwww.masterlogin.de [IPv6:2a03:2900:1:1::a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C923C061786; Wed, 13 Jan 2021 10:26:18 -0800 (PST) Received: from mxout1.routing.net (unknown [192.168.10.81]) by backup.mxwww.masterlogin.de (Postfix) with ESMTPS id F1EFB2C42D; Wed, 13 Jan 2021 18:10:36 +0000 (UTC) Received: from mxbox4.masterlogin.de (unknown [192.168.10.79]) by mxout1.routing.net (Postfix) with ESMTP id B79043FF07; Wed, 13 Jan 2021 18:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1610561380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=E2lk75BZSz27MihA13aYu0dHFwcD4S99yuODfKDmRY4=; b=p7KbIaT2J3AJYD/JahEVLjPrQ4jj7GjomcnVJ1/fcmhVkIq5wT9Poun1UJTkfxPJgCRs2E ZIwh4ylWARf/gJ8NRKEki06Nr2tg/vW8um66hjs/vhUbrUAh4m3HNYVjaLDlJI1z0NsXEj pMpCAGQ/8uCMPo41Ebg8aqi654rZ5k4= Received: from localhost.localdomain (fttx-pool-185.75.74.15.bambit.de [185.75.74.15]) by mxbox4.masterlogin.de (Postfix) with ESMTPSA id 884FD80AFA; Wed, 13 Jan 2021 18:09:39 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Matthias Brugger , Sean Wang , Jimin Wang , Ryder Lee , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sin_wenjiehu , Wenbin.Mei@mediatek.com, skylake.huang@mediatek.com, stable@vger.kernel.org Subject: [PATCH v2] dts64: mt7622: fix slow sd card access Date: Wed, 13 Jan 2021 19:09:19 +0100 Message-Id: <20210113180919.49523-1-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: a4fbb957-4fd1-4532-9841-53bdb81f3d8c Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Wunderlich 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. Cc: stable@vger.kernel.org Fixes: 2c002a3049f7 ("arm64: dts: mt7622: add mmc related device nodes") Signed-off-by: Frank Wunderlich --- changes since v1: - drop change to uhs-mode because mt7622 does not support it --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 5b9ec032ce8d..7c6d871538a6 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -698,6 +698,8 @@ mmc1: mmc@11240000 { 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"; }; -- 2.25.1