Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp196815yba; Fri, 12 Apr 2019 01:34:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLPDCLpHduv8OseJrz1qQB6leX2xRfE0YmZIvkPQR0fMs+sb+9V+BJmRot9THz+2OLZr+l X-Received: by 2002:aa7:81d0:: with SMTP id c16mr55972293pfn.132.1555058043193; Fri, 12 Apr 2019 01:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555058043; cv=none; d=google.com; s=arc-20160816; b=jpi21M7ZzSRgFr0+7NZAwSQLZ877m1VIxbRDGA8sP+FL1VQ/HjD4qIYbFpVeJGDaX3 5Ux2wp4E3Y40rkEZHZl9KpKJXvxgnBIBS5klxdGRgKnjCEaoJpf0MQTuqGgQf0r1f0z7 3O6dHf4GtgkInQ217i21NinFvNweM1XO5CkridEqT4WVhOjQHrtwIVmEtM/PzgXiatgG OlPOikCn6+eboLqzj+fd5E20gUgdiAWxZ4aNTucODvmmftNPYpzlxnTMaijRDKNDv6+t +PpMBS0J7ykZ5N0iBVkt/m/1/7ULHud4Tgo8ejLtNEdoTFFRcSPSs2++aQpnKQ9rkAbh 0qfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=arIenWz3SmqWmwZOoKF34oUQXPOGDlF1TlDXs4ri0m4=; b=V+b/59SdYraL9NOIa2wM5iJZO5V2His5x25lTN6hufbwAlP2x9c8jz9TCQ6wP6e7AN tbVJ2BBZUCxcWyPk8MVwLx9ZICjDTK7V3taL84Ga9lV/2qDjbAQUcQ+9qHUnWz9mUKaL XMjQbYQ+9yEJmf5tIY9Jl99tpZaOYqc4DzS9mGkbHy8L6KFGDINg1kT6kHwNFbKkhJ/3 nhSEHkjyd+cuwZXqj1Tj4klCldnazPdGSRFCnzt0QmHSYmnKrJkiPGeXJp6oNo4V4uN8 jhhn6RZI/Lt11EJu78mccBmdyC0MDMTpuCIzwSpo5k9ey0ZdMtHUCeFM0LYG1pZaa8xT JjrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jjlYpRYS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si36351705plo.98.2019.04.12.01.33.47; Fri, 12 Apr 2019 01:34:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=jjlYpRYS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727340AbfDLIcz (ORCPT + 99 others); Fri, 12 Apr 2019 04:32:55 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:33930 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727021AbfDLIcz (ORCPT ); Fri, 12 Apr 2019 04:32:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=arIenWz3SmqWmwZOoKF34oUQXPOGDlF1TlDXs4ri0m4=; b=jjlYpRYSE6f3PVXTDLzy5oa8O KkHo0DkEQCSxrhHioAkl4oEXJXKoKrFgZ0svL+FWguo42sOaQiwdvFtdqs/7R+LQj0VqZyc8syY+d oCQRbeZUSQ/TaF4tVK3pAHvwzVwTX0eLdTAmfHwXmlqcermPPmPo3jrH80UL5KcEHpIL4=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hErc9-000661-Jn; Fri, 12 Apr 2019 08:32:49 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 03ADB1127945; Fri, 12 Apr 2019 09:32:48 +0100 (BST) Date: Fri, 12 Apr 2019 09:32:48 +0100 From: Mark Brown To: Sowjanya Komatineni Cc: "thierry.reding@gmail.com" , Jonathan Hunter , Timo Alho , "robh+dt@kernel.org" , "mark.rutland@arm.com" , Krishna Yarlagadda , Laxman Dewangan , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH V2 11/20] spi: expand mode support and add LSBYTE_FIRST mode Message-ID: <20190412083248.GB6909@sirena.org.uk> References: <1554423259-26056-1-git-send-email-skomatineni@nvidia.com> <1554423259-26056-11-git-send-email-skomatineni@nvidia.com> <20190408062819.GJ2803@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: X-Cookie: Your present plans will be successful. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 11, 2019 at 07:58:33PM +0000, Sowjanya Komatineni wrote: > > On Thu, Apr 04, 2019 at 05:14:10PM -0700, Sowjanya Komatineni wrote: > > > Some SPI Master controllers support configuring Least significant byt= e=20 > > > first or Most significant byte first order for transfers. Also some= =20 > > > SPI slave devices expect bytes to be in Least significant first order= =20 > > > and some devices expect Most significant first order. > > > SPI driver declares mode and mode_bits as u16 and all bits are used. > > > This patch changes mode and mode_bits to be u32 to allow for more mod= e=20 > > > configurations. > > > This patch also creates SPI_LSBYTE_FIRST mode to allow SPI clients to= =20 > > > choose LSByte order or MSByte order through the device tree property= =20 > > > spi-lsbyte-first. > > Please submit one patch per change, each with a clear changelog, as cov= ered in SubmittingPatches. This makes it much easier to review things sinc= e it's easier to tell if the patch does what it was intended to do and mean= s that if one part of the patch casues problems it won't hold up the other = parts. > I split changes on SPI code side and SPI Tegra side as separate patches. > Do you meant to have both changes on SPI core and SPI Tegra together in a= single patch? You are expanding the size of the mode variable and adding a new mode in the same patch. These are two separate changes and should be in two separate patches, as soon as you start writing "Also..." in a changelog that should be a warning flag. 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. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlywTTAACgkQJNaLcl1U h9ASVgf/YJl1oQzWArLRQHn7PzVwQ4QsUKLnP+dbbx8RWVhM93Whw0IURubE0Qkj zHIRDTu88rSP4hQMymsqJwcN9ZSWA/QgWW/950S+kZQ23a7d2hmSfC5LEXZACawm gJ1MFuHKf5zA1nHTeSu1aXVR6QdABMaAvu0Bk+VPplAZPuLI5k7vvLxcxGZ7G3e8 S5Xwyo3Prv9T4J8pMiD/5eg4jc/o05MTw26M2kFRE2IV9STQ25DaSIQjtMhTq8c2 kaBMQKAfEnQ+roNYcqNKMo4SPCCmNrR8MljdRf/bmIqaLIhyj9P/qRFOrjeC19eM ELTmw4Unue23lYbVs5FVE3JuWWbQgg== =0IqI -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--