Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp968707pxb; Tue, 8 Feb 2022 06:35:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPpOx+/bzSXVmTkRRejRMUPJKw/ctjda3Y25vmzqiemUXrxhHyemC3U4mqW9hn/YEoJpk4 X-Received: by 2002:a05:6a00:2305:: with SMTP id h5mr4671392pfh.13.1644330908835; Tue, 08 Feb 2022 06:35:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644330908; cv=none; d=google.com; s=arc-20160816; b=gejJoELDeCuu7co/SvCIVyHC4DSZ1WvTfFwIV16iUkEbt7/m9HBzXI85A1NjOez1LW Nvw8eKf9IREiRNorewcyDsqlif9DGKlyc4OiuT0B+OX5LCoPo3CR3GLvBgdyWEW0gUKO cniG6WntUX8IuxHmggHhmDc7xCQDlunLcVTAWYY7Tz7ynRic3odizyWfu7BfrMJ4JNtj Ubnm4G47Cg5tB2wxMGYyadckMoOKypoTUKAli9qRUetcMYl0AdQbxl4IHO47IzJQS6cM NOLEmwjHkJYlqoLxbVIGH6ii1nJcicR1uM230CgGVJn5eOMgdMTYvLnlPGcYLSPVEILw RrAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oSiyAeRXSyqt/jiaosep5Rrwfh8n61MfBFaUf6H2a7s=; b=L0MvtoLdo0VaS/MnUQCb5wnEQbFJhT5SyN+NNXpjwTIOn2BalD8vjvb4bVzyMcWrIs 3QQoadjdaxyz3cMFlDXZSm4fGMb/I6xXhrxNF/IDHmYMTms+i/e18XG/n6Zd2LlWCrn4 IlXULW0VXS3QyjcjbNjJMpDMNE6suCFhzzxqonRap7gDGgnoX68f70Gbv03uLpmND40q APZTK9V82dzhjVsVcpctXNrfyNNYXrh+IWg66RWfacMwARcJvdyVC3Czk2C+hb2HeNiS Yc/XuIO72iJZgou+pF4PWerXMUaBk7eedUFaHaFkgFMe5iiCZB9Fm+JZ7P1I+nda7lNj V3SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RsSjUqwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12si13298560pfh.345.2022.02.08.06.34.55; Tue, 08 Feb 2022 06:35:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RsSjUqwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443185AbiBGPKt (ORCPT + 99 others); Mon, 7 Feb 2022 10:10:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354785AbiBGPFj (ORCPT ); Mon, 7 Feb 2022 10:05:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA5D4C0401C1; Mon, 7 Feb 2022 07:05:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 58AEE6145D; Mon, 7 Feb 2022 15:05:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7672CC340F1; Mon, 7 Feb 2022 15:05:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644246337; bh=j5R4Gv27wDTelz/5MkpZClOBJ+BnL0TYVY4HhplRl4E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RsSjUqwnB108XHjy4DpeXhNZRDJQfdUVj5DgQLcXjvYwGZ3e02kLXwlIiEsuk/ob4 a3JAY6QGJ2ByFyuxOwNjC9TWd35teKnyd5hEwH5BE1KAJ7PmZOVKfadSvqBuL1MC4O tuGE5UxdAiI/vcfCVHPvMXGpenjf+GQyxZ44zy0NFzgzY3UHxRJUPKGC9FF8hA7zUW f4ErsoqYf1J4TUYGjUfpXljPLHCFKi7EItaAVxJBT8Q9ww5AtEDnWpMYHeCjfc+XsZ i1R5nISuNaO3tm+Faok2X5kx7uINBpgFT0I7pz/6r7WXCimT2kcETLXLVYjJFP/bdB vY5HMS9WKMQiA== Date: Mon, 7 Feb 2022 15:05:32 +0000 From: Mark Brown To: Krishna Yarlagadda Cc: "thierry.reding@gmail.com" , Jonathan Hunter , "linux-spi@vger.kernel.org" , "linux-tegra@vger.kernel.org" , Sowjanya Komatineni , Laxman Dewangan , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "p.zabel@pengutronix.de" Subject: Re: [PATCH 6/6] spi: tegra210-quad: combined sequence mode Message-ID: References: <1643970576-31503-1-git-send-email-kyarlagadda@nvidia.com> <1643970576-31503-7-git-send-email-kyarlagadda@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="L2V1A7HZ4pNge4n4" Content-Disposition: inline In-Reply-To: X-Cookie: Never give an inch! X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --L2V1A7HZ4pNge4n4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 07, 2022 at 02:54:00PM +0000, Krishna Yarlagadda wrote: > > > + if (cdata->is_cmb_xfer && transfer_count == 3) > > > + ret = tegra_qspi_combined_seq_xfer(tqspi, msg); > > > + else > > > + ret = tegra_qspi_non_combined_seq_xfer(tqspi, msg); > > This check needs to be more specific. But like I said in reply to the binding > > patch I don't see why we can't just pattern match on the data without requiring > > a property here, we'd need to check that the message is suitable no matter > > what. > There is no real-world use case we encountered so far preventing us stick to pattern. > But this was to avoid any corner case where there could be 3 different transfers sent in single msg. So you'll remove the property and just pattern match on the message? Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. --L2V1A7HZ4pNge4n4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIBNTsACgkQJNaLcl1U h9BFNwf/ZmIVt/rPd9AefPfAWPMK3pHWlBlYzPmBgZi391BXYFZQwyI/4bJYQ7Ab PMBM5GNFjTtqa2KFmkQ9hikJEuxTzcXckRikQ0wO+kix9rydqC/DYSxKl0Bo/y1V syLYHM1voFHziWbqfnaFATKU88+CtaTHBNjfIqagE+MtUUZi8yeF+TJB444m4gxt Pp4o+Ux83APBvyLsuYWYT5ua22o4ChDhAjOTQWP/fh4Eywd/yBDDw4kYDB0GYEwg OR8NX5K+nZgz/TSavbQqeDx1NrY4WcV5TyFfGa4jajDXw1BlcgA2hZcwOMfO7MOI GscayI2JryM5qaUgVL3vSM7ePri9Jg== =5TVG -----END PGP SIGNATURE----- --L2V1A7HZ4pNge4n4--