Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp271070lqo; Wed, 27 Mar 2024 12:29:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqIaqq8gAzT35C/7S4mjr+ONyeEBKLDVn7Wnc8FP0LRnSmRvYcd6PDHl/ZiUKurIy5r9d2sE4oR7rTviXMee4XzhekE9oY/Ev4dQQeVw== X-Google-Smtp-Source: AGHT+IEUefsfT1izT06iyBGlA2+W4K7YJLgTWaEBBP/WXEqLfKFItxm21ycNqkQVm5tnZy9mZuxj X-Received: by 2002:a17:902:d50b:b0:1e0:bd7f:194 with SMTP id b11-20020a170902d50b00b001e0bd7f0194mr930196plg.36.1711567750816; Wed, 27 Mar 2024 12:29:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711567750; cv=pass; d=google.com; s=arc-20160816; b=iKMRNH9Azj18EJJto6OcKpgZvwMZZBV3BzUxMVI256l3/YaHjj02bdB7JNPXUGB1KL h6dJdaD60pdRAc81AK1KpAh5yGiWY33kljroZFPY/Z9VVRvi7HXcooTpo4YA6E1F4KIz Jm+V72sY2NbjsK/CtuFo7P2aoSlcKxpFbntdnT+51JUU96wzeZpUlYvsJorPpmOrgMGA nNoktqnrzwbfgv3RK+azqnoJw6Mx72jPXWR5k1Rjt0lsMSgUarayezbJBSfrWBI4Z46H NNIDIhepqTqxlNMv8n2H6jWDSYJR/WI2zSmkRlk8Cl1BNAKuykRt4DUQQRjh1cEWC57K 8v4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JvOtujP2hw1jZp38Opj2EyPsjN/F14SK8Ijf8kv0grg=; fh=buxBv84Em3z1SvGl51zZN20WT6OKl1fmpuML/pqbxo0=; b=gCpmTwlVjY5bxyeoMashNz1N4kI/dVfShsduGI0hpjlAy22uR8R7dusDg0jD13SfDL iLocJcIAP4O+4XjUEMtl2OvaqoDMRT4maWoJjerfMuyhRY98q1odcogf/MubqX5bOLu2 aKMth0kqBSE2RVy5XFFe03piCm+eYbpDdWY9YfCZnFAxMqtkXA0ganj6+K7oqDKoLFuq QZ+aojzQAxbaeIsmH/l8PtWEm+xuYEuWf49/Ckjj2OdgNUmwHIcHwEbOoaEenxuugZ0Q A5bAappt0lV1U0YVgyMvCq80RuKX5Q8Ndu4qImumuRCbWxT8o1ltwvkAovOzD7Vq4GJm OKRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@folker-schwesinger.de header.s=default2212 header.b=NWHVKnci; arc=pass (i=1 spf=pass spfdomain=folker-schwesinger.de dkim=pass dkdomain=folker-schwesinger.de dmarc=pass fromdomain=folker-schwesinger.de); spf=pass (google.com: domain of linux-kernel+bounces-121900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=folker-schwesinger.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n8-20020a170902d2c800b001e0c76a7462si6198450plc.53.2024.03.27.12.29.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 12:29:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@folker-schwesinger.de header.s=default2212 header.b=NWHVKnci; arc=pass (i=1 spf=pass spfdomain=folker-schwesinger.de dkim=pass dkdomain=folker-schwesinger.de dmarc=pass fromdomain=folker-schwesinger.de); spf=pass (google.com: domain of linux-kernel+bounces-121900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=folker-schwesinger.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0A121B2467D for ; Wed, 27 Mar 2024 19:27:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB75F152197; Wed, 27 Mar 2024 19:27:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=folker-schwesinger.de header.i=@folker-schwesinger.de header.b="NWHVKnci" Received: from www522.your-server.de (www522.your-server.de [195.201.215.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6049B152515; Wed, 27 Mar 2024 19:27:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.201.215.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711567626; cv=none; b=rken34ksIsUP5vWI+suDbp1quShfc3XCWnxKMhJHWEPFjtvymx5R6UFqnEGGngKrp82PIR/6jpV+JC1N6u+CZbvP0OaYpZpXt2LZOQkdX2B+j4F19kStkPDhzSEVCdrNHSOa+OGxzO6Aimo9Y9u+LDoygqJ9uCqpy8726dXYESY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711567626; c=relaxed/simple; bh=plrKOI/0dfIPwEDH00nMhgV2c3PC1PSWWCuztwgZtMc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cXPbn360CbdiJIgRZK4YqtnUcCP3ncf0jNe0asUpHfqcSkweYl+6qXF+kzeZ8XmjVCXCKge12fXBOXEq0Le1FXvtBF80ftq1Nffihb5mTiEkfChLBUpFc40yRPNmTuKbTaVnY5NYD/NL6MjIEIb5ARA32zqz3b9BNdf9vdwtrwE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=folker-schwesinger.de; spf=pass smtp.mailfrom=folker-schwesinger.de; dkim=pass (2048-bit key) header.d=folker-schwesinger.de header.i=@folker-schwesinger.de header.b=NWHVKnci; arc=none smtp.client-ip=195.201.215.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=folker-schwesinger.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=folker-schwesinger.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=folker-schwesinger.de; s=default2212; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=JvOtujP2hw1jZp38Opj2EyPsjN/F14SK8Ijf8kv0grg=; b=NWHVKnciuFbROEAcxxjmL6mKM5 G9daR0oSoXCGk1ilMPcgDoF7MStJZfyjFEyL0rlVQRJ6Mt87PAzLyp0MO+sq+tP/m4YImHPeoACHL 7HAWfzlR0mQ+720/nncIUbFlWSNeGCcIXMr/UeVdQTuwSL1TgpwPQh9G3XLzX0vphuYM7DyLfZ+Nh 6wivJNpyzd0h03vTtSgzL7Yh5V31G9oDUPzsNTkGwYdLKSXgwptWzvIq0iCNmFoNFke3H2u8bqRmp RMnUBlxwG7nOGg4cf2M5VOhU5grsO98XqaYKttE37ZLadzC3IjjqdlylG+25wI1pZ2XrQensl0V2x NROXwfSg==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www522.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rpYvN-000IrM-74; Wed, 27 Mar 2024 20:27:01 +0100 Received: from [185.209.196.215] (helo=homedev.localdomain) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rpYvM-000Iyc-GM; Wed, 27 Mar 2024 20:27:00 +0100 From: Folker Schwesinger To: Vinod Koul , Yogesh Hegde , Heiko Stuebner , Chris Ruehl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Folker Schwesinger , Dragan Simic , Christopher Obbard , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: rockchip: Add enable-strobe-pulldown to emmc phy on ROCK Pi 4 Date: Wed, 27 Mar 2024 20:26:37 +0100 Message-ID: <20240327192641.14220-2-dev@folker-schwesinger.de> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240327192641.14220-1-dev@folker-schwesinger.de> References: <20240327192641.14220-1-dev@folker-schwesinger.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Sender: dev@folker-schwesinger.de X-Virus-Scanned: Clear (ClamAV 0.103.10/27227/Wed Mar 27 09:33:27 2024) Commit 8b5c2b45b8f0 disabled the internal pull-down for the strobe line causing I/O errors in HS400 mode for various eMMC modules. Enable the internal strobe pull-down for ROCK Pi 4 boards. Also re-enable HS400 mode, that was replaced with HS200 mode as a workaround for the stability issues in: cee572756aa2 ("arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4"). This was tested on ROCK 4SE and ROCK Pi 4B+. Fixes: 8b5c2b45b8f0 ("phy: rockchip: set pulldown for strobe line in dts") Signed-off-by: Folker Schwesinger --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 281a12180703..b9d6284bb804 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -194,6 +194,7 @@ &cpu_b1 { }; &emmc_phy { + rockchip,enable-strobe-pulldown; status = "okay"; }; @@ -648,7 +649,8 @@ &saradc { &sdhci { max-frequency = <150000000>; bus-width = <8>; - mmc-hs200-1_8v; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; non-removable; status = "okay"; }; -- 2.44.0