Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp219492lqh; Wed, 27 Mar 2024 22:39:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh3ncmocjQoAZMssHnsLfQWypqs6AO7roN2a67YbfuggZdwEN7dTOk5ep76w5PADjfN5b9P+iy2PI7T2Y2trz2vqaVPWEgOj6Ptzh4Yw== X-Google-Smtp-Source: AGHT+IHQh4/t1HuWsV8k73QC82/rEe5+BpPh5V0+Ha4UURj+VJpXj3m4zzNmxElvMcc7pPdNRZWo X-Received: by 2002:a17:906:fa89:b0:a4e:9d3:cc8b with SMTP id lt9-20020a170906fa8900b00a4e09d3cc8bmr902043ejb.40.1711604364701; Wed, 27 Mar 2024 22:39:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711604364; cv=pass; d=google.com; s=arc-20160816; b=zwTEdcJDV4P2pFmZw965HK+yFfA0yMKvscpSzg8PbgOIsKrizAGMygJQSWC+2IUBZI ZLEt9oiQ2MYD8NapkwjW0Rffh3jEzh3Pl/lzauKUUJdlSy1NBZ0j3s0kqzJREmEFCR/f ioXhl3VSM86ssm/Bwg0q6DcqGV4xWipl6jfEENZU3liMO3PPPD2lp73A4QQCzEzGl4Kt CxDI9n2pz8G4Zd+SCZx5MX62lHXVNdc0mCmkOww8nZS4xXnvTf7tJXJuNIzeFRWF0BfV zSlLcu/rrqkc7zQh0KyLIA8uKwRV8RrgyOP+6QYPAaYbC/WHwh7Rup14wcSjl1Yx94Bi F3DA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=8bpAMB9esGoyKjb6HYvl4Hl3DyZNyWqqG/1CmejiuWw=; fh=M0Hycb9t67+VqL+xSrzP6kGaA9RfMuddTHBK4cxIg2U=; b=od8hZO5BZyQPdnhSbG+74jOYq8UVp10S0ZdQ9HLuWhN1j9PD/p4skgrLeox64kI8Fr +De6fqjnNxizaff0QKn5kqkFhveBm1cDOwK22gTlXDfZsQP+OKInw8StSLF4Q14+1wxQ mvIQs2iyYVt971KUAis1Jsm2tDc2neVplb0/6XzrqNxo2DZXHLnRmxdqS+Kd25tANbRZ DqYeOHxW16wZgb4LBtW85pvkI2IZdRS+qRpWcNpFej7r3XNxjCtNV/wA9xf+mnqkCJJj aiCw/tg+FK09pJUn0u4ncUhZED7UiiuV3tI/BIut5s+kzhXidu0Qx1cgoMednYI+0P/F 5GJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AR4OYyaz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bx14-20020a170906a1ce00b00a4a38d9ff55si334289ejb.419.2024.03.27.22.39.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 22:39:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122431-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=@kernel.org header.s=k20201202 header.b=AR4OYyaz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 6EACC1F2490E for ; Thu, 28 Mar 2024 05:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD7794A9BF; Thu, 28 Mar 2024 05:39:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AR4OYyaz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BFBB53FBA7; Thu, 28 Mar 2024 05:39:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711604356; cv=none; b=WKeAoMDuKl8R4P4yJialjLEIvc8POg4GbJ12zClhf+a395HDkOnKAsfvMjtF0TWd/WY+dAHvq3QFjKH3Hdj7347/HOduKdpCJejOmE6h+nONccWmPKF5377bAe+RmwRhN89X5nRlGQiFKRtNBl/yisAuYxuEBfVAd79x2hNII1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711604356; c=relaxed/simple; bh=1TbVjwG6FjPG/Z+RHTuE5W+27StHygVuGEX2BEaRZIQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=kNg0CmXVLoRshmWs2HW0vVK3SnAnjwreftxKQX0GS8rmGnKeniE5c8QjCiuJGV7/aTe2HwWkzCuBcREkMhcF13z0yWVSYPmJ/yh36oh1jVUruyqW5XeQzD7gvhiDBBHCcUzPHt1yeUuznHgt7sT1YSFQbOWpbGl8iSkRCPFbwvU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AR4OYyaz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AF8EC433B2; Thu, 28 Mar 2024 05:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711604356; bh=1TbVjwG6FjPG/Z+RHTuE5W+27StHygVuGEX2BEaRZIQ=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc:From; b=AR4OYyazeXF+nobr/ZHjH1xHqId0IihH3wDnZu58NmTUN8qUbZnULVfxduNtn4RNj A+QXAVhj/cxydxEEOjGVMngiqE5wUxh4YSnl+qj226koCR9aiVKhc+VLYBTLPk/GXw KnUt0bG/hba5VuK9cMKjdjmHpQxlwCmzYmS80xv34YeNcyhEjSabxXsJcT6f5gQV7d BoG9LB1TAYMZlQcFmUqPbgT6tTBPcxLFcYvTkLaAHV9/ftuCxQMTesUWOvksfqFJBp ce/J8F6NlhI4h4pXNGDWZ3NCCsTp6bSwJyOI6i+avQsPeBEgrmEGR0lwPHQRrEHsls 3Zk6jxRbtYXVw== Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2d46dd5f222so7451341fa.1; Wed, 27 Mar 2024 22:39:16 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXw9B30hY6hDzShBkN9Usiyjm1fk/D0knLeB+M4oEjExManYscmxyw3YuSxHd55L6HFB6f87Y4Gptyf0L4RvnATwsco2x8pUII763BBMbQMXgorFXAp0WBAZhOGYZIngTsEuACwb02H9w== X-Gm-Message-State: AOJu0YxaKqyhxvI1nw9yCkG1J0qXtYWtQ1NnbjY3yCXTS+MWsKgsXqK7 kmFVYnc2kd5oGU9myIDlShKIsjG/F2v+AbPvAW8Dmg/hFmW2Xl4M+zK23sQ6KvxxGgFamNHgvBg KEpcSrIgdQ2jPOrOH6hSkljooBtM= X-Received: by 2002:a2e:9d96:0:b0:2d4:7a3:67a7 with SMTP id c22-20020a2e9d96000000b002d407a367a7mr1272069ljj.22.1711604354573; Wed, 27 Mar 2024 22:39:14 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240327192641.14220-1-dev@folker-schwesinger.de> <20240327192641.14220-2-dev@folker-schwesinger.de> In-Reply-To: <20240327192641.14220-2-dev@folker-schwesinger.de> Reply-To: wens@kernel.org From: Chen-Yu Tsai Date: Thu, 28 Mar 2024 13:39:02 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: rockchip: Add enable-strobe-pulldown to emmc phy on ROCK Pi 4 To: Folker Schwesinger Cc: Vinod Koul , Yogesh Hegde , Heiko Stuebner , Chris Ruehl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dragan Simic , Christopher Obbard , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 28, 2024 at 4:33=E2=80=AFAM Folker Schwesinger wrote: > > 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/ar= m64/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 =3D "okay"; > }; > > @@ -648,7 +649,8 @@ &saradc { > &sdhci { > max-frequency =3D <150000000>; > bus-width =3D <8>; > - mmc-hs200-1_8v; Shouldn't this be kept around? The node should list all supported modes, not just the highest one. Same for the other patch. ChenYu > + mmc-hs400-1_8v; > + mmc-hs400-enhanced-strobe; > non-removable; > status =3D "okay"; > }; > -- > 2.44.0 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel