Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp172656rba; Tue, 26 Mar 2024 12:23:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMKFxfg/EOg/nDwe51h0ec1PvMB0BQOJGt76droEXpL4NXKJ0bsd8tAthlR3syOsRHD7hzbSYmorEjtEpVCp7QeAOu7vIGXl5MzbGOcw== X-Google-Smtp-Source: AGHT+IEJs1seHZrfXeQm6HduqTdfpe1EJZKBIKmW+pJnTHrAB0T3/j6CaBiNeQeOgdo9gzjpWgGX X-Received: by 2002:a17:902:d2d0:b0:1e0:9e32:e3dd with SMTP id n16-20020a170902d2d000b001e09e32e3ddmr16642595plc.61.1711481027372; Tue, 26 Mar 2024 12:23:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711481027; cv=pass; d=google.com; s=arc-20160816; b=T67BCX7V3RUGyoK5H0vlDQkWJ7EKYdjlTpm6wOOqVU8mJwPjPtc24zAUiH7Iq3sHND j4nOOLT6unTIG68srZbM/6W0Ocw+oeuLUyRW6l09T6sLAFIdPmNoo01rpcksY6I2qIIq LACm5zdM25fsX0xnF06NcZb3yQO8DMU1LiHxOrJBK/fW/YpSzzz3JCTadIjwU8YmBlvx r3dnsn2wdpsTjZ3TX2I+Z4/mnOjuakBihgqyF5s3Bwt2jvn4k1jtwEtgsb2iUk6JBI6G oCfm+VgexFgAj0oCJNubMoOJ0NgzYF2OWs7RXHkhOGXMXgWakFxROaLHnaKYu5p830Dc LI3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=nXc21Fbi8dT6r0xe7vcxTqvB990oRhCOO7JunhwAmHg=; fh=VYKK42FEgPH8y/YwkxFUXR0xrufwvEXqPoqPV4uFoHw=; b=0TypCOG1TROduPspjYi11Ybu4KVbp2mLGXD2Tvr38XK0j9QzCucU+lImWM/yifkySb FXE+5mfiZy26EBl6yRxTcDWSGQxdW3Ljn0mL3kncsRlLekRttWX99LTtUkX7+3bOTy2y NGdYPzVPzU+04/N8NaQZqrCc0FW3nUkgJgiM8MywmzwYfV3SiQ0MW+IZq2oI9fDRPkok pwl+IOqD2TTM6iwHkDBc+k25aTx4qi5r2VWdO2ByKK1WJLqljWmo4+xjSVWvFUqV4GXu ar1Y062aczgPLJ8vDZWI+rvSWzkXjzkYr1zBtMro64lS841XyPYTTRTqPgf8WkwrEQOL HhkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R5jhoRbN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-119731-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t2-20020a1709028c8200b001dd8daf99a5si6893775plo.195.2024.03.26.12.23.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 12:23:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119731-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R5jhoRbN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-119731-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119731-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 485EDB2B20D for ; Tue, 26 Mar 2024 18:57:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23D6413CC6E; Tue, 26 Mar 2024 18:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R5jhoRbN" 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 3AF30129E88; Tue, 26 Mar 2024 18:57:23 +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=1711479444; cv=none; b=RqQNu0uJUhxX0Cow/3E5ovLDp2G18jPh/vu8xwnEgsWy7+qH0iofu4RHIJtY4IsQq4zF26EEazWiGxVx4vqTJGqUK9CSTBz1MhzTmGvLygi4atR5dgE5lY5sujNhYUUraAvCKtXVsRfq84zSzAo7wSF7FtuD+p8eonWtE/JZxgU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711479444; c=relaxed/simple; bh=E43foxj+UySf1m9AXwAy4EcKz2179uEogLNPhzYtuqU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=lCD6/eWO7ibwJmFPz847GQzgiL8/NDbKhTF3D0sYlacVFyN8GAcJcdHWX0HAZlBnnVv5WKJqNBUaZmlbeYKY5NUcWRSV4MWescs547swNAebfHK2fr9ET1IIzMskZYLBWKeFL5JgaHqUjN2wel7oOqpWeuKuU1tHRbo7t6vO+Aw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R5jhoRbN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id BB062C433C7; Tue, 26 Mar 2024 18:57:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711479443; bh=E43foxj+UySf1m9AXwAy4EcKz2179uEogLNPhzYtuqU=; h=From:Subject:Date:To:Cc:Reply-To:From; b=R5jhoRbNjNNZ8szwWvKMLlX9tX/YyyKDNyfAkAe32TdMq1uo6cOiS52xphFt+JGZH omO2+t8Sa8P7vTUxVswN15s5zgc++QAdnLjbQbFK17bk3adqXKuG8i2y1pGAjoflt8 bPkb7f4M32A6sVrGV1Jk7AzBUq88Cz/k/moNAhnD+CMS6EUmqUv6CK2st1YRxxM0gQ weFAdl0pEx4IB+K33U8U++YrMd574AXYvpBX/yphhQL41scrnl1YU0Vr55hLMXt1kv OzWZPd7IdJCQOGZ6orl9TsiICs8Ax5r3Fx0sTvq9FHssSIk7ppsN3PxbCH0n82HsYS msmQ9sOwiNILg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A14FCD11DF; Tue, 26 Mar 2024 18:57:23 +0000 (UTC) From: Folker Schwesinger via B4 Relay Subject: [PATCH 0/3] phy: rockchip: emmc: Enable internal strobe pull-down by default Date: Tue, 26 Mar 2024 19:54:34 +0100 Message-Id: <20240326-rk-default-enable-strobe-pulldown-v1-0-f410c71605c0@folker-schwesinger.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOsZA2YC/x3NTQqDMBBA4avIrB3QRKX0KsVFfiY6NCQy0bYg3 r3B5bd574RCwlTg2Zwg9OHCOVX0bQNuNWkhZF8NqlNDp9WE8kZPwRxxR0rGRsKyS7aE2xGjz9+ EWo+Te7jQ2yFA7WxCgX/34zVf1x+9MGmIcwAAAA== To: Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner , Chris Ruehl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Christopher Obbard , Alban Browaeys , Doug Anderson , Brian Norris , Jensen Huang , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Folker Schwesinger X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1969; i=dev@folker-schwesinger.de; h=from:subject:message-id; bh=E43foxj+UySf1m9AXwAy4EcKz2179uEogLNPhzYtuqU=; b=owGbwMvMwCXG5FBoZNu1u5bxtFoSQxqzVPcG4XrhRdxbmas+173ql3lw5G3uxq5OPd6sDzq9m U3MsX86SlkYxLgYZMUUWVjzMrYwZ5Yvte76+RpmDisTyBAGLk4BmMgeNoY/nM+WhP5tVnq2wjs6 kPnsU9EmyWUTV69YUBTcenfrjbKcfoZ/RmG52hezVCr2HS/90XD65CTtk8kWC3YYC4SuPKa2tfc NJwA= X-Developer-Key: i=dev@folker-schwesinger.de; a=openpgp; fpr=056E68B4036977A53B8AF9EB024071323D8ABB7D X-Endpoint-Received: by B4 Relay for dev@folker-schwesinger.de/default with auth_id=144 X-Original-From: Folker Schwesinger Reply-To: dev@folker-schwesinger.de Various RK3399 boards, including the Rock Pi 4 series, the NanoPi 4 series and possibly others showed instabilities with some eMMC modules when operating in HS400 mode [1]. Later, a missing pull-down resistor on the eMMC strobe line was identified as the root cause of these instabilities [2]. This series changes the Rockchip eMMC PHY driver to enable the internal pull-down for the strobe line by default, effectively restoring the behavior of the vendor kernel [3]. Addressing the problem in the driver avoids fix-ups in individual board DTs. As this change makes the optional DT property enable-strobe-pulldown obsolete, it is replaced by a new property disable-strobe-pulldown, that, when used, allows to disable the internal pull-down. While at it, the enable-strobe-pulldown property was removed from the NanoPi4 series DTS (which was the only user of the property in the kernel). [1]: https://lore.kernel.org/all/20230705144255.115299-1-chris.obbard@collabora.com/ [2]: https://lore.kernel.org/all/20220822074139.3810-1-jensenhuang@friendlyarm.com/ [3]: https://github.com/rockchip-linux/kernel/blob/develop-4.4/drivers/phy/rockchip/phy-rockchip-emmc.c#L310 Signed-off-by: Folker Schwesinger --- Folker Schwesinger (3): phy: rockchip: emmc: Enable pulldown for strobe line devicetree: phy: rockchip-emmc: Document changed strobe-pulldown property arm64: dts: rockchip: Remove enable-strobe-pulldown for NanoPi4 boards Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt | 4 ++-- arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi | 1 - drivers/phy/rockchip/phy-rockchip-emmc.c | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240326-rk-default-enable-strobe-pulldown-3356c8cf1b4f Best regards, -- Folker Schwesinger