Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2584654yba; Sun, 7 Apr 2019 23:39:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqztsUJsu6UBLw5hB5CyJ4t4aZq0kTkowTd5WdMZ36WYJOtp42wlyUWbwn6T6IasBV7KynVD X-Received: by 2002:a63:cc0a:: with SMTP id x10mr25704835pgf.179.1554705559367; Sun, 07 Apr 2019 23:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554705559; cv=none; d=google.com; s=arc-20160816; b=bheWIwHbx9jv9nA9NW6pUENFLD+ai5dK9e1iC0LG/Z0UXytoFZ7iMOxw9JXQFoetyB SmkM4t520N+ZhMKX/Lumy8e9gQWtbvMvsgtBUGZw7RcSOymc3Kz2QBTv3AImM0Be4H4x Q/RQkr0GYZ/KB9FId5WNJjRL4jKbG5uq2SXfl7imRW+xJZPDyiDXf0gQuOG6uZ45xLUp 5jcbdJOwLFkne40qJ5Gnh3PQlrVwr2Ls32aLFGkEtYy2VfZFg0yGGzMefQ/DQg4EeEts l5VPoI33R8R9f/dLsb1I7C6iMCSLzZz49dG+UFMu6Yjc/c+hu2w53k8NaqKRXQ9QoreC 4LbQ== 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=g9Wqmy/TaeacjPVG1SqNfKJAbxOr29MphTAyMzcWaQI=; b=YKFYJdObaar51Z+PNMkxIDSsP78kAMVTKNVCBjFp6g/y66/t5ew1wKpUeQT5h8anm8 jqMwX/iJKWAp4zPWUK/Jji0sjXh39GiGBOF9BLmKlaNUjVEzUZ2ySUZTOdByDAhlFF3G biGKC1hfUhtSkJjkncDPCX6NM64HTap1COZ33ArNpE+CB9tpuIJVYYmvzmZJ0U0wXgVK wBARzh8adLF7/lBysEFe0N+OS7sWo+9dAtj+M0q9r/RI70yKv2SEpE84Afc4JLdloIDz sE5i7PX1s0X/9eYqi3Yw7SXWS1W0tIaxtMDRgJPuqaYoqxsBjnftWpZ1JdVBawuUIU2h tDtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eR6OwDUz; 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 h73si27006290pfj.220.2019.04.07.23.39.04; Sun, 07 Apr 2019 23:39:19 -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=eR6OwDUz; 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 S1726496AbfDHGiH (ORCPT + 99 others); Mon, 8 Apr 2019 02:38:07 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37322 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfDHGiG (ORCPT ); Mon, 8 Apr 2019 02:38:06 -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=g9Wqmy/TaeacjPVG1SqNfKJAbxOr29MphTAyMzcWaQI=; b=eR6OwDUz8mxZVfQoHQrR6O8EX P/c+1PBRXuLrh4D3fsQr01tVH3ys7yhlXMzzSoGa8HWCkXTn3Nvl3x4BOrApVI5/WI/ftl+Qcg55j m3hVTRgoKwwjzsOalfdHk6d9RjWPscag3ZGpzkE8lVjoMsz1AfHY29ial5SAdIQwcsDfs=; Received: from [8.46.76.46] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hDNup-0003ef-TC; Mon, 08 Apr 2019 06:38:01 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id B5224441D56; Mon, 8 Apr 2019 13:28:19 +0700 (+07) Date: Mon, 8 Apr 2019 13:28:19 +0700 From: Mark Brown To: Sowjanya Komatineni Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, talho@nvidia.com, robh+dt@kernel.org, mark.rutland@arm.com, kyarlagadda@nvidia.com, ldewangan@nvidia.com, 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: <20190408062819.GJ2803@sirena.org.uk> References: <1554423259-26056-1-git-send-email-skomatineni@nvidia.com> <1554423259-26056-11-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="F4+N/OgRSdC8YnqX" Content-Disposition: inline In-Reply-To: <1554423259-26056-11-git-send-email-skomatineni@nvidia.com> X-Cookie: Shah, shah! Ayatollah you so! 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 --F4+N/OgRSdC8YnqX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 04, 2019 at 05:14:10PM -0700, Sowjanya Komatineni wrote: > Some SPI Master controllers support configuring Least significant byte > first or Most significant byte first order for transfers. Also some SPI > slave devices expect bytes to be in Least significant first order and > some devices expect Most significant first order. >=20 > SPI driver declares mode and mode_bits as u16 and all bits are used. >=20 > This patch changes mode and mode_bits to be u32 to allow for more mode > configurations. >=20 > This patch also creates SPI_LSBYTE_FIRST mode to allow SPI clients to > choose LSByte order or MSByte order through the device tree property > spi-lsbyte-first. Please submit one patch per change, each with a clear changelog, as covered in SubmittingPatches. This makes it much easier to review things since it's easier to tell if the patch does what it was intended to do and means that if one part of the patch casues problems it won't hold up the other parts. --F4+N/OgRSdC8YnqX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlyq6gIACgkQJNaLcl1U h9DuHwf/ZtMyHrfW3WzW3cRTFF1ocpo6CZNO/MsgbS9BbngjgkNeCST7eNBKSUIx PRhkYretkGShqbxWzCcImUTUuMcJfD4ssKG9DGWiYAtAs8kK0YRsPgrmWEjKNwDm tUf5RsjgebZukSQo/Ba53PNmWosGCg1STb2gs8ZWE8HO/zxCGH6DFPSgMuRZk/iB bTwVJGKKXuNW2UMMCRwvv6b5+Zm8E/HWGwlfXBOeI1X9WXKNhWUQfl0bIv0qps59 ViMc+YMFcSD1JRE1471cWONSKbcMWPx7TQFUaQBBszdRn+asko27l0hHcvH7chDt K7/zgtAI3QFNjfN3Oc1UPzMrfk4c3Q== =XP4S -----END PGP SIGNATURE----- --F4+N/OgRSdC8YnqX--