Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp208165lqo; Wed, 27 Mar 2024 10:43:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCjqkiDOe+QfKLm35lgHcoqli5Ij6g80vl+JvwQrOVZxmzx4XQpHumibVi7OST6TEuyi7SiOlN1tqtMVLJG/WGt/bToPd5d4qSQz8Yjw== X-Google-Smtp-Source: AGHT+IE+icC1ECe68OYZ92nz1VVZ74UROHQfCJYLLOoJugkf8YDdoAu8g/0bjE6SQJFSNzvjYN9c X-Received: by 2002:a05:6a00:2d0f:b0:6ea:c42f:d75e with SMTP id fa15-20020a056a002d0f00b006eac42fd75emr614093pfb.11.1711561429797; Wed, 27 Mar 2024 10:43:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711561429; cv=pass; d=google.com; s=arc-20160816; b=nZOVFRNAs+ZEykqfS1V5P6CrCcTWDb8Ud7prnp8JINYGwBd4k936W5D1FEnB3eTY33 mLl3kuJNn6bTKkiOg8/1WNB0+iXFAm/XfD6jPfYBKALsXg0/l3XKb1nlTByJ77sXhaIW ErqF026coc1XJXmXmWwcWIE5uhzMdjymXVdtexSMI6rXmGjgIqZzfOusn0yOQZWF12eP W1YBajSpca+GwYcOkl/YaOvS6J9j00DYSLx/UcTeQRrOJMn0KilT0WdJPgw0A8mjXNZX 6WIZOalnCYSFkPPhdLhXSfduOVoIdi3D5rPbSp+hogcAQPjGGe04mp/OmbQ8knzuD6XN jZ7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xROqHGua4j6HcszJt7ZG/hqG8TaOs2PmwN195yXx6hI=; fh=99zKzxMGr/DiRjLW3vbqI/jnsdlZLF1MxG0FdPGAfkc=; b=F8n7zrJfimZBRYcmtL23TQ8vMYQyJBak78RcLe6p2nOR5YsAC1i5JDNQTpDg1j5+TY 5xElsE5JC+ceDwMaR8EPWXWwqpuPKn3QsLHQ/v1tqsKbjcJkFasGlu7nZABXe8Qqjuuz mj9obfmaxoW4rSS9QbZMCMhMT3Vqa3WRBgK1EBnpD8A6I4KZrLiDguNe3aVN1lx12780 dTP/O8ENf6wjcc8Qnvip7Y4P9U4MoNLD3vz+dXUDRyejtnhkJ4lSL6q+bPQh3WiukRYY t/vaM/93l9ujq8mprDMh8ScPHQPQfzqADpTQAvxjKQATP0AHMX+st2D2ReEmnytSQUZ2 xPkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RkImE1FJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121690-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 u8-20020a056a00124800b006e6c1232c16si1163134pfi.9.2024.03.27.10.43.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 10:43:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121690-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=RkImE1FJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121690-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 5E7D7B20389 for ; Wed, 27 Mar 2024 17:21:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 325D614D428; Wed, 27 Mar 2024 17:21:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RkImE1FJ" 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 5946714D6EA; Wed, 27 Mar 2024 17:21:46 +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=1711560107; cv=none; b=oHbOXtvyV6IDcHPuif7Ot/bVzbKoO5FgWdA9lyrTarKv0N8LZEaROxzCzlCOwA+R4LEAGOtot1dq/hZQD8h2agpcgjQl/ilo7c6BM9T7vKTA0vWZQ4oNA/sxn3k9+JpTiHriB3i9KUSqIz50EEbtQN2BbMW8/74wZFGGfC2hlyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711560107; c=relaxed/simple; bh=xROqHGua4j6HcszJt7ZG/hqG8TaOs2PmwN195yXx6hI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BgyUwuXRnQalIp5/T1gteLpD3WrBWYT/hyuSigeJ6zT3KaPAtNW59gHmOFF5mdAMXvggWfGiCGub205k6ei5y0qlX9FX0uQ7yvKi7qSDiOfzObrOL6Ep7Hd0pBlc8J9QJEdelyVVf6rydJ0SLqGBUf6ctDg+J2wJ43GkuUCYsYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RkImE1FJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BB83C433F1; Wed, 27 Mar 2024 17:21:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711560106; bh=xROqHGua4j6HcszJt7ZG/hqG8TaOs2PmwN195yXx6hI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RkImE1FJHLz0Xv9jw+4vLwPD8Oq+E3m9s1Im/KSpkWfV5O3b3fs1Wx2oQmZ8jY7SM vOPzxfL5oLH4VnEC9nvuwnjMM/3vkesrI9CxY2eJkgSbsmwVcuBzwBV2gY0D0WNE4T 9/AtNS0r+mJhHpMjMKxAqxBOplYBMo7+NcpOCZQbVCEXHB+lQZPCr7S5a31aB1bEVH Pb6sNCHY9W2OhkVIP5svVIa40CCJXyb+3KXjJi9WEzLQMv63gDNV36olH6RKwwkXvg fw79W+Ko4rNsLJ6hqCA/6agFzRl4EVzUiZJbkNxCVTBmGaSTV1RAxQ4CaezxEHa5J8 fllbgdiEyUiAw== Date: Wed, 27 Mar 2024 17:21:40 +0000 From: Conor Dooley To: Folker Schwesinger Cc: Dragan Simic , Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner , Chris Ruehl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 Subject: Re: [PATCH 1/3] phy: rockchip: emmc: Enable pulldown for strobe line Message-ID: <20240327-reopen-subsoil-4b8434cbb41e@spud> References: <20240326-rk-default-enable-strobe-pulldown-v1-0-f410c71605c0@folker-schwesinger.de> <20240326-rk-default-enable-strobe-pulldown-v1-1-f410c71605c0@folker-schwesinger.de> <20240326-tactical-onlooker-3df8d2352dc2@spud> <436f78a981ecba441a0636912ddd1cf2@manjaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BktBpU3GHnzCWrgO" Content-Disposition: inline In-Reply-To: --BktBpU3GHnzCWrgO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 27, 2024 at 04:21:45PM +0000, Folker Schwesinger wrote: > Hi Conor and Dragan, >=20 > thanks for your feedback! >=20 > On Tue Mar 26, 2024 at 8:55 PM CET, Dragan Simic wrote: > > On 2024-03-26 20:46, Conor Dooley wrote: > > > On Tue, Mar 26, 2024 at 07:54:35PM +0100, Folker Schwesinger via B4 > > > Relay wrote: > > >> From: Folker Schwesinger > > >> > > >> Restore the behavior of the Rockchip kernel that undconditionally > > >> enables the internal strobe pulldown. > > > > > > What do you mean "restore the behaviour of the rockchip kernel"? Did > > > mainline behave the same as the rockchip kernel previously? If not, > > > using "restore" here is misleading. "Unconditionally" is also > > > incorrect, > > > because you have a property that disables it. >=20 > Apologizes for the misleading commit message. Prior to 5.11 the Linux > kernel did not touch the pull-down registers. However, it seems the > register's (factory?) default was set to enable the pull-down. As it > was mentioned elsewhere that was the configuration recommended by > Rockchip. The 4.4 vendor (Rockchip) kernel reflects that by enabling the > pull-down in its kernel. Yeah, seems like a bit of a sticky situation. Probably the wrong polarity was chosen when the property was implemented and the property should have been the one you wanted to switch to given the default before it existed was the factory defaults. > Of course, this has nothing to do with the Linux kernel, so "restore" > was a bad choice here. > > I previously had split the driver patch into two separate patches, one > for changing the default (unconditionally at that point), the other for > adding the disable property. As both changes were minimal I decided to > squash the commits. I updated the cover letter, but forgot to update the > commit message. Sorry. No worries. Squashing them was probably the right thing to do anyway. --BktBpU3GHnzCWrgO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZgRVowAKCRB4tDGHoIJi 0vZBAQCa7Y4ALYnndw09ojj/rscvv2/ascq71lwrZORFc7LgWwEA2fBPIlz+6yb+ Su6b6pt5k4wywnxerLOAC3N/zmJbEwY= =lcb4 -----END PGP SIGNATURE----- --BktBpU3GHnzCWrgO--