Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1539724ybv; Thu, 6 Feb 2020 05:56:10 -0800 (PST) X-Google-Smtp-Source: APXvYqwUOgQL6jhkp6CUEoxj4FU0cfvAAuqLgJvVlQm6eiQygFti+MzgJ+xtvim/T4U3r6UkbGIj X-Received: by 2002:a54:4418:: with SMTP id k24mr7156829oiw.46.1580997370021; Thu, 06 Feb 2020 05:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580997370; cv=none; d=google.com; s=arc-20160816; b=zAhgLqv+KqbWc1jEnisyWJ8aa1HHKTZrIj8dUNq8wS7hg4xXG59cydWugG5LYK10lu 2AhH+6PPFeLS3Cu6sbYQXlbh5Kns/mwfdRtILyx/XYDYz1RSoS5mfYae/Q8t5M7IxPUp 9NC6Vax5v9/S4uyyq9ROhuehtHbOpa9Qx4jkS3PRsW5H76T+oWevvIgNL2zXI1+in+Ob Ug9sLr4NX4eAxmx3xKLYiWUDZsTFMDjEuQc85m6PQCh2kuq523jp2EIp8lYO6HE4p572 M6XTgyJC1tJT+PX0gDUMzw7k6bldFY6xhnSsfja0Cz+ETSm72wtUesoIV6DMo1bu7/MZ TZnA== 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=GCzxJGLDhyzAc2+59nJJJlFFQZG+KekwiRcn/IX7tEw=; b=tTtckKdW5NsKA4Gh2dOb2Abj1df8mcVxYGN6h8v6FwWZscQJH9uv+7zoV5FDZw/uF/ tVKxxFfMgC6kOFDyAm7/Nf1IYXG3LtU+zmUoziDPRTgSyMy9O4w+EkBFMePO2kNsqJDv xaPk0aL0KmpwDejDh6kBsH4zBb3W9Y4+HqPi+Sytl6pSm9DYozu590Y6E9Txdt7E8YnT 6EoYPViQQaqoBft+79jobsYmSdPlHVeXzsDIKBY0tR+0PxHdw4PW3fIOPronCJNw7wF4 NReJDmOsKHGbh03Y/BrwavHRiLLhx74ruu9XRUBWtrfBlfxQ8tdDoX2Bz+JGlEeH9yAt CNDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=OQWErEdD; 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 s11si1784656otd.245.2020.02.06.05.55.57; Thu, 06 Feb 2020 05:56:10 -0800 (PST) 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=OQWErEdD; 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 S1727872AbgBFNyH (ORCPT + 99 others); Thu, 6 Feb 2020 08:54:07 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:42910 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbgBFNyH (ORCPT ); Thu, 6 Feb 2020 08:54:07 -0500 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=GCzxJGLDhyzAc2+59nJJJlFFQZG+KekwiRcn/IX7tEw=; b=OQWErEdDb/s7SaXS1CW0VBVGO zsh/6D9z+LcFFmHYN/TIyNXdiSVzPvzGz+DXiucYa9JFU5a8V1Zkk+deq/vRR4sMtgYiGw/r4IHnX 2qg+E3luQg91bzTitvqbqjY1NeeTiz3KlQyKLAbRRBwiEFVETeqx3WX56J6iPCTo2IApw=; Received: from fw-tnat-cam2.arm.com ([217.140.106.50] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izhbY-0002Fm-Dn; Thu, 06 Feb 2020 13:54:04 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id E3403D01D7F; Thu, 6 Feb 2020 13:54:03 +0000 (GMT) Date: Thu, 6 Feb 2020 13:54:03 +0000 From: Mark Brown To: Chuanhong Guo Cc: linux-spi@vger.kernel.org, open list , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH resend 1/2] spi: add driver for ar934x spi controller Message-ID: <20200206135403.GP3897@sirena.org.uk> References: <20200206084443.209719-1-gch981213@gmail.com> <20200206084443.209719-2-gch981213@gmail.com> <20200206113158.GK3897@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T6OnZCvW5HcnivXR" Content-Disposition: inline In-Reply-To: X-Cookie: Programming is an unnatural act. 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 --T6OnZCvW5HcnivXR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 06, 2020 at 08:33:33PM +0800, Chuanhong Guo wrote: > On Thu, Feb 6, 2020 at 8:30 PM Chuanhong Guo wrote: > > Chipselect is also handled during transfer. Controller asserts > > corresponding chipselect in SHIFT_CTRL register, and if SHIFT_TERM bit > > is set, controller will deassert chipselect after current transfer is > > done. I need to know whether this is the last transfer and set > > SHIFT_TERM accordingly. > Oh, I remembered that I saw transfer_one function name somewhere and > thought maybe I could shorten the function name a bit. I'll correct > this back to ar934x_spi_transfer_one_message in v2. OK, sounds good - I see the chip select handling now. --T6OnZCvW5HcnivXR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl48GnkACgkQJNaLcl1U h9Abxwf/bD6z7Zyx5ZcODXIHhsjroI14CG3xmml4eA/SkHeU5P02YglZOlXrAjQK AxJfhBpbiDy+R/eKMrzK4bsFjEOWsVLBiJ9HItN0qnnUmTXwfm5hyyxgw5qeHejb Uzu6XVVf5KmUS9XrOZ4p4JIIO5HWitOpmCtrfMQtvjp7hi+5NIjApdSw5nCMZYxb edOMq+0DDhXeMdLytbsQOehx6Vflyi7nEZS9TNEeLYG1zQPotBJccAiHypEtU0P0 l/T1U624W5dSwFkSARM+Ko6HNSVgriPTMS1ZVqz4RHnfB+U3g3IsnjAdNgU1nUQP okovYCXjjOzLRa1fubeUMcjxNrRaZg== =fyFm -----END PGP SIGNATURE----- --T6OnZCvW5HcnivXR--