Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp824091rba; Wed, 27 Mar 2024 12:56:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXG+8jKnzDLUayUFkeszdOKw41sqaGz87QjaZ9W+ne1PgMN5UskbiB1EKYCwVO3Br47saUe5Mtd0JgbZ0hcr1EYgO1TbtlZ274+HN3znA== X-Google-Smtp-Source: AGHT+IGh9Z/h0HkrmA0DiwTr0fPjd3kywF73ekwBEz5LkitngIAXcVuZ2KND9Z/WQKZydHZEuE+g X-Received: by 2002:a50:cd18:0:b0:56c:17be:5b03 with SMTP id z24-20020a50cd18000000b0056c17be5b03mr671164edi.36.1711569413230; Wed, 27 Mar 2024 12:56:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711569413; cv=pass; d=google.com; s=arc-20160816; b=dQUxP2cD56LZ/WtPI0duCRdcGO1twFl3tgULOzkdPXqRiPy6PZPeAsJRBL0PpMdLWU UHOamdEqHcSNUI5I6D0Qc8+htUafi1Bh7jHkNZtB6sy7HhzhJv1Wh1NolEmHquXQPoGU QwA64buRgr2iUH+KRGNwR/GxXxqlvY5M5J/um34YD9adb+9foCBtWv8llAwkP0CvZgxc 71tolxCgxTMfgsBZ9dbxzvhY+vR1sz1VoEN9nWp6Rpyax/naqWHondSbULaO6sva+qMD ncZWc7aGjxnfLSRbvbOPqeDn3eMnuMiFAzaToiSgofKvIi72LbPhmGPN9oShMwSbbuZI VR3w== 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=PbW/dVoNioC9H6nvXtciGc7SM7HI15MyzienCfKIkR4=; fh=buxBv84Em3z1SvGl51zZN20WT6OKl1fmpuML/pqbxo0=; b=QqHlnaroSwpGceF7YX6y6meEOYkwwBphRycVBeVrX1/xEfUmzWi3etpeoyb7tTu2NA 5tgGcLSm5fJv9oFf/2q2mEUphBRl++te0HiyL+XacAfWOqit/ZHNJteoXj1ONzTd7Olp RfU6x/MsM4KSDNlIHOwVzvwNdgDeWUAH2ld685Lu40OnHDCxtV4yJ57VH+cILXkpK9/o HbufKASkeo4sMlxPpgp08pzYkF2BB6FO8Axo9Bjt1GWYLNc6XE9eZxOqjLzNd11SyIhS wrd89OvcLEC4mnv5J4SghNaumEmGVfr+ezip3/XgfL63Flm6rb8u2OCY2vav5pud552r aGow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@folker-schwesinger.de header.s=default2212 header.b=VR8kDsBc; 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-121929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121929-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 am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fi27-20020a056402551b00b0056c07b4ac22si3931949edb.58.2024.03.27.12.56.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 12:56:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@folker-schwesinger.de header.s=default2212 header.b=VR8kDsBc; 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-121929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121929-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 015851F295B7 for ; Wed, 27 Mar 2024 19:56:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E9CB152506; Wed, 27 Mar 2024 19:56:45 +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="VR8kDsBc" 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 22D7214E2D9; Wed, 27 Mar 2024 19:56:41 +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=1711569404; cv=none; b=MY69trweyMw5UpcmDAirXtq6FEzB7oJ1Mh2FGXrrFgwt/EwDhSDIkYiGM+WSVi/XyLMy9Tbv8pe+q4cvzdgRIyVoW1KiGUuCXm4OCZBA/p7SY9wNkbbe8l20PW6aXJZNruVoA5Ng26cyEUrUmKD3o+cMYivSeQrqdi4+lktQJUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711569404; c=relaxed/simple; bh=axd3a0fX0rgtyK/RmzGt3WlUIVH/eX2dB52K53T7X8A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I+9clCqLWt1uDKIxirFhgeWY4v5CKjltRDpXd2X91UcaaGnZqF5tUILNm2FawWGVlo5Ts1empcKMq8NmRQ6FgsKEwh6NjjCMyJ2NXr1JB5Ki1sjV7Ve5E9UTjJVbky10bsVlJu1dbzot0emRWTynk7z5TttLAfe4ivtxvdjq4OE= 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=VR8kDsBc; 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=PbW/dVoNioC9H6nvXtciGc7SM7HI15MyzienCfKIkR4=; b=VR8kDsBcDbAEnaXTexmEIWas1t b2KR+fJi/XsXdOE1V5MMnZVMxq+8uMaUz04wzmN+wb13IgLK02yZtNeDGVjG4pQ4+iBemvahrXXOK a/xmDMbSeXX0Yk6BIByz4W0CW7/q17x1DsyiZ0cm3FVdQ4PC16h7Y09OoYOfY19fi6Y7aDtSX5eFZ GE+u8lB2OrlJRt4fHmCWrFTJxLwXjnfRFFmmk9R14VMxi8vsH0qTPEAVsfnN49ILe0VQqDUYjC5mO GSpfupQcYcfrrzfGw2j3qWsENzLylLIXG0vNrUkEsfp+VhUcE2LlHSjKbXnNC2QDJzSVRC+Anc4nD Tu8HyuKw==; 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 1rpYvT-000Isr-4F; Wed, 27 Mar 2024 20:27:07 +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 1rpYvS-000Iyc-EA; Wed, 27 Mar 2024 20:27:06 +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 2/2] arm64: dts: rockchip: Add enable-strobe-pulldown to emmc phy on ROCK 4C+ Date: Wed, 27 Mar 2024 20:26:38 +0100 Message-ID: <20240327192641.14220-3-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 the ROCK 4C+ board. Also re-enable HS400 mode, that was replaced with HS200 mode as a workaround for the stability issues in: 2bd1d2dd808c ("arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+"). Fixes: 8b5c2b45b8f0 ("phy: rockchip: set pulldown for strobe line in dts") Signed-off-by: Folker Schwesinger --- arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts index 7baf9d1b22fd..972aea843afd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts @@ -151,6 +151,7 @@ &cpu_b1 { }; &emmc_phy { + rockchip,enable-strobe-pulldown; status = "okay"; }; @@ -549,7 +550,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