Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2293388pja; Fri, 19 Apr 2019 11:26:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXk8Lzuqb+ws5jfwKC8ShFBslKN4pgN6j0wgG5taReHo8CqtLwOzB02Vq8+sPye5qa7+SG X-Received: by 2002:a63:500f:: with SMTP id e15mr5271034pgb.198.1555698365376; Fri, 19 Apr 2019 11:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555698365; cv=none; d=google.com; s=arc-20160816; b=COPPMHW/2x+/Os0bxz2Et0flUQxf9iklnEHN2BP4BDefaXc+QvtCxzjYhPIwEX5VLY uynsWNMHZ8CLKMqPWd/Dh0YlecHF84FPeF5BqAJtyqanYylKRM0G3QhotN4m3zEC9kj3 bv8fQkQ3l0TWtVMHwbaq9gc7nGA9dfy3OhYed8Fh8MUyDZzgJDMoHsDKWvx6+mkWyQ08 GpRXxacKGjgOGeE0HGkGUVR7qLpT8FlRAh6a1QvlZTD74YVds640siE2ZZyCf7qZyvxJ GhVNR7yWYOVjZUELO4m1QZ+3PWUBgRhXNCvg64RlG3IO/qsK1GInlysK9soLe0j2tt6J 3ndw== 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=6njRe5o8G6A+ppBgPdqz2Z6b688AhITNwzCSnl4pMIE=; b=cz7q24wLwazTWKCbImgW5hN88QVnjjOZEkc79O2Hvgzs2jCHvBn+1kY4YEnx6x7/Is l2HTvQDawDTZInBy1cyjUcfXrLnRq/DZn6cCZ9oRzpqE+hk4eMTsdCliODx7vmATPzWI oYc5tJkshvdBolIQcln5zO0gGQ9wNfryJOPpNOwv0qRePxPm2fxkOJX4qS5974aicyri ntwTnri1HVC46dZi89jnNCyThjhfW3ImaRbip7wYgG4iM2zxYm/hqIyZtyaXbnSEbG06 JmOgnE96jpi7+rcrilYTsKDMKnEcCEXkFZhwSR+VCPz0Jf9xUG6KnUd5XRJtJB+pJzVY LPDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Oph9NWt2; 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 b8si6166699pfd.55.2019.04.19.11.25.50; Fri, 19 Apr 2019 11:26:05 -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=Oph9NWt2; 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 S1727776AbfDSSVl (ORCPT + 99 others); Fri, 19 Apr 2019 14:21:41 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:38528 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbfDSSVj (ORCPT ); Fri, 19 Apr 2019 14:21:39 -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=6njRe5o8G6A+ppBgPdqz2Z6b688AhITNwzCSnl4pMIE=; b=Oph9NWt2oKBUOzs4gd8+/wNvw qwqXgco4cvwrNzOWmL2pW1dLljwWTXpwEyYOWjnWGVgkrytcXlFQSfxeFGDb5ZcEIZOcZTcD5pewX QsFKn2q08xDPbu7fmzkx5myCwFgafQ9ILbezAAmhbRHJoZODB12O/I3jkipNhR/PiMddU=; Received: from 188.29.164.213.threembb.co.uk ([188.29.164.213] 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 1hHVL8-0008HD-AH; Fri, 19 Apr 2019 15:22:10 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 6FCC6441D3B; Fri, 19 Apr 2019 16:22:08 +0100 (BST) Date: Fri, 19 Apr 2019 16:22:08 +0100 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 V3 3/9] spi: add SPI_LSBYTE_FIRST mode Message-ID: <20190419152208.GT2803@sirena.org.uk> References: <1555363834-32155-1-git-send-email-skomatineni@nvidia.com> <1555363834-32155-4-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pnDjx0H/VpusRTEI" Content-Disposition: inline In-Reply-To: <1555363834-32155-4-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 --pnDjx0H/VpusRTEI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 15, 2019 at 02:30:28PM -0700, Sowjanya Komatineni wrote: > Some SPI slaves expect bytes to be in least significant first order > and some expects most significant first oder. >=20 > This patch adds support for requesting SPI master controllers for > least significant first order using SPI_LSBYTE_FIRST mode. This is byte ordering as opposed to bit ordering which the core already supports. Do you have any examples of devices that need this or is it just being added for completeness? If devices are going to rely on this we probably need emulation support in the core I guess given that this is a pretty unusual controller feature. --pnDjx0H/VpusRTEI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAly5558ACgkQJNaLcl1U h9ABdAf/VSTPgRMQCRuu5mKG7sETGap2gcwbgefEWavIGVVyUwfycisAdwMX7fnz o9BCutybIvNC09o6dTuMEwJEVfYDMDQGdLY337ofB/O1lOKbFNp51bOC5knj69Rn rX1O0T5DP9pHAbAWle473JCt4QXoLjw6bfasqZww/g6GQBQVFTMFw5RAI6Tbdwci OSEmszHN/b8s6u5oty9GmPjc0kn2SPoahgM4myTvTBNFrzabvsfyXhV7XeaHOox8 kmMRDhZ2X8hrOkBpno4nFW63ZmVzKgqKkcrNoERIPmzw6awYpNCaWmvIA88Ba/es TMw7K+3CDCo+OOrDtOWR/CQ2VCUNAw== =00zp -----END PGP SIGNATURE----- --pnDjx0H/VpusRTEI--