Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3092419rdb; Tue, 13 Feb 2024 06:46:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZVyIF4B6maAHVVSOOvs4p0mQ3xa1p9uwnH5whJ3i3APacm76QMDPii0aEJcGyIb0eIifJQjb4LZex+6FMxj21HHgwRQ99KtOmiSgJfQ== X-Google-Smtp-Source: AGHT+IHZvyoVcTc9z5LXiP2InqaAA4sA6u8tLnux1RUlxdCBU0EQ8I/cjQjoslRt3pDCE26wSikc X-Received: by 2002:a05:6358:80a3:b0:17a:cd7f:4964 with SMTP id a35-20020a05635880a300b0017acd7f4964mr11224725rwk.6.1707835566148; Tue, 13 Feb 2024 06:46:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707835566; cv=pass; d=google.com; s=arc-20160816; b=OFjmBl0vGjn9qNOFfPWNVk0eT6455mU3VSsPQW2ii95P2wWY5R3h8yoVNWz/KVChp8 YTyrM8I0/sVp2b+rwSglv1b0FZ+6o9DkJ2qDH/rNRC2xti+YCKQTnwykvzsSIBeeyOtf oeSJMjuPvEvA+xzBlEGXslQtAJfpn7KcYl2oTV1ejMfm+r6HnNpq9NTAMAhJeUnXTOGA 4KkObD56PkbvonaUvTVWj3H9sdzlhynctgkWTytf89X+GQ/PmwPhODpX+lJt0JvkVXNg WtnrIf3MRZ1P5vSMzY6HqXOFfYvBVNfFm8+42hQ9i5V6legClcKIU0imL7NRJ9zaNptc zEcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=o7asF3ytPsrC6IcT+PsO814QNdIekiDywQYgKLWsaH4=; fh=T/LTQxx5zlPznxSRqBLK1INc00qB97EMEziEGmde8OA=; b=fhZBXAS+MY8FbXybdEKxAex/rzGYIKWISSyu4KaMZybJx60xqpUxeodMMr9mrbhieG hoE9F+1ruPuRP4zUrXLnxTvodmcpiUZjNT63otBY38dJcG4lhql3D1KDGn2V0QV/o6DP LajYfg6u+1awIZGrQg8zCamcLngVI3AKArheQEHTBfpELZ8XxTzLxnwk9GhFRfoNe4mv ICsRmh8yrp5jY6+9nBRRtIwsPWmP54LShPFUrCb5BlIRfLP2OUkkzGqWRMLhQkqM+2mA PUd8XDIngHb/NSlmZbWXgYuYY9KORLi+fguHiWw1F81ZpeUI/jhP7X5WVeA58aa5E8BR T8CQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b=k5WiWRy0; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-63601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63601-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVvAZpVSIXlzAJSYjxy3oRWI3QNiVSk8MOF1yKk0GAqKmcJKl1OuX6IMbddA9uIFqL6n7T0NBxhQnuHXSU7S625TGBxar6RhGM/S8jGwA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i6-20020a639d06000000b005dbcb1780dfsi2132427pgd.813.2024.02.13.06.46.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:46:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63601-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=@atomide.com header.s=25mailst header.b=k5WiWRy0; arc=pass (i=1 dkim=pass dkdomain=atomide.com); spf=pass (google.com: domain of linux-kernel+bounces-63601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63601-linux.lists.archive=gmail.com@vger.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 17B56B26DE4 for ; Tue, 13 Feb 2024 13:36:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8F0E43AC1; Tue, 13 Feb 2024 13:36:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="k5WiWRy0" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) (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 6921555E70; Tue, 13 Feb 2024 13:36:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.50.62.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707831406; cv=none; b=lvzUmsCSakQPcJ8Kfx0JVgUSLhBn4Wa2H4aUuLWp0WMm2FI5pUiTKLSOZhIl89v0UfqYIzGcdj/movSq+/I35Zn3a44T+wGgmPO9NDOvTY2lRAKsB4IEo9A69krsoUMKciF4jecRZaSthFXqVC9z0VKeKESrgN9bLse3TJm3XlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707831406; c=relaxed/simple; bh=mjTZ1TQrSFe8LDnKFWgz0FauMtLusLC+oCe1Q0r3aw8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uK3iSvwvkXTUglsA4/ml3g/8RUFWsVKxNy9T6q+URTBSwwptIhwNXkv+VXxvSngjXgNx5RxaYox5dgMJlqB6gOibrK03RHgKOfcDxL+jy1ZZM6V1p33UqNJl8HDEOobnHLLLAxz/WiigUDmf2xdU2tMRqtaFn3wPBnVHTEvXTxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com; spf=fail smtp.mailfrom=atomide.com; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b=k5WiWRy0; arc=none smtp.client-ip=74.50.62.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=atomide.com Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 95EF4604A1; Tue, 13 Feb 2024 13:36:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1707831403; bh=mjTZ1TQrSFe8LDnKFWgz0FauMtLusLC+oCe1Q0r3aw8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k5WiWRy0R3Rmurel7+6LyuchnxN5J1AmcbxoO41Fz1XjABun9aX4AMuiEIqRZBAkY 8hLurdeLOdnkHIWWFJU/e6VHi32JWD72uPRycUKo2bAUyy1DJ1lKMGNT3iYcmOXltJ rAASaWjDZEHdMidSPIwTyBYxSqjFZFZ0Eie5kV9jIrnWXmJlXzgrXxpRHiHIK1BBzn 4fJa3Qp7iKk4P0w7U51f7R/R5c1nolRbRkbcWRD5HF1y5GrgadzEuz6ZNNPaiQCxsf 4Pl5/7UcAgFH3DzDu55fY4HV/2N2xizKXvL0DdHx9Wklf7VOfBLQhnlOs8HyiPLQQC pGVpB5xvsORxQ== Date: Tue, 13 Feb 2024 15:36:22 +0200 From: Tony Lindgren To: Adam Ford Cc: linux-omap@vger.kernel.org, aford@beaconembedded.com, =?utf-8?Q?Beno=C3=AEt?= Cousson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: dts: omap3: Migrate hsmmc driver to sdhci driver Message-ID: <20240213133622.GJ52537@atomide.com> References: <20240213124146.202391-1-aford173@gmail.com> <20240213125618.GG52537@atomide.com> <20240213130208.GI52537@atomide.com> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: * Adam Ford [240213 13:29]: > On Tue, Feb 13, 2024 at 7:02 AM Tony Lindgren wrote: > > > > * Tony Lindgren [240213 12:56]: > > > * Adam Ford [240213 12:41]: > > > > The sdhci driver has been around for several years, and it supports > > > > the OMAP3 family. Instead of using the older driver, let's finally > > > > migrate to the newer one. > > > > > > I think we also should do these to avoid incomplete conversion: > > > > > > - ti,dual-volt property can be dropped > > > > > > - ti,non-removable should become non-removable > > I'll do a more comprehensive search for these flags. When I did my > testing on the AM3517, I didn't notice these, but I see now that > others might. I'll do a multi-patch series to first address the > multi-block, then omap3-ldp.dts, then migrate the omap3.dtsi to the > new driver while dropping the flags, and lastly update the individual > boards accordingly. I just have one question below. OK sounds good to me :) > > > - ti,omap3-pre-es3-hsmmc probably should not be needed with sdhci > > > > Hmm actually we may need to set SDHCI_QUIRK_NO_MULTIBLOCK for > > compatible ti,omap3-pre-es3-hsmmc. > > Should I update the driver and binding to add ti,omap3-pre-es3-sdhci > to set that flag, or should we create a boolean (maybe > 'ti,sdhci-no-multiblock') to the device tree options for that driver? Probably best to set up some sdhci generic property for it that then sets SDHCI_QUIRK_NO_MULTIBLOCK. Regards, Tony