Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp703824imu; Wed, 9 Jan 2019 05:08:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN46ERZ1uZQXAQPdUi/1TFeajKMcka3wf+1Vs3iq11d7artLzO62WjQgUSR1gDonadJcS1/H X-Received: by 2002:a17:902:1745:: with SMTP id i63mr5820132pli.145.1547039282361; Wed, 09 Jan 2019 05:08:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547039282; cv=none; d=google.com; s=arc-20160816; b=qKVabhMXGkIhzxxu7LiFPHxFUN7QifGSfTrkvorirFEtE2TcZMF//SdaEZW7vQk5gI 7s1i7CEd0VGqf3fOfOGixm7mJ20l0THIfmbJ/vc/PM7XtAYHMyULd7iJYNGcmgZX75zP YBpigUGRC0oHnaWh+AEWadRgHuJFo0EgksysdA1jw/SJipVkmUGo6hF1b5SKEsn9rx9H NSVwFR/QIWiG+06ZllMHY88hO+Om2vNnygpF4pG8S9F/1kwoHhIVhAtyTgRD1/fw2Y1J 5k+J/Gg1KZ0BDEDDZFWAMVa3EKms/2aEbb092Pm6BvA9X1MrHCVnoatrt8xANMEU3j2d 0btg== 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=Rajy4flKaggD3cKyOAf78FUBLukYgZSQuQj2XtBOVOM=; b=JRBDL+Vhyg6X28gPyKhSR7AxkaceKkNjcv2heu+3RE/GFNn/R1IpXxDx9VWvFmjYSE Qq0WnP36yMzq5h1N+TF4YL14Mh6bdVotP1wT9idBgfiaxzSIH9qJeg8gchLPqBiv1dsn pEsyA5wgY6r+luyWxby+ULRlLjQXU3AeEuXBYZVHdIs5pgM+bPMZRwnPuXJh81Ba4RVV SJBOi+AgoExAoFk13o8qEB28zxOYbvWKi7dYUczwwsugr1FogrUwbYfR96+uzbVtkZeT fuKuCiXbfvwcyBFoqfYhHUtcjVxNt6cibACEeGfLidIrZGjrzx0CjwtLJULvb2KQXVsm wryg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=UJQODgAy; 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 33si7664230plt.228.2019.01.09.05.07.15; Wed, 09 Jan 2019 05:08:02 -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=UJQODgAy; 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 S1730412AbfAIMdL (ORCPT + 99 others); Wed, 9 Jan 2019 07:33:11 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:50618 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730017AbfAIMdK (ORCPT ); Wed, 9 Jan 2019 07:33:10 -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=Rajy4flKaggD3cKyOAf78FUBLukYgZSQuQj2XtBOVOM=; b=UJQODgAyUjeAK9WwHdue7yq5M Dk6NgcjzDT6MTTW8JRudNrjZVBnaFa/hqMERj8/4FLvHvVpPeSY+S9XGvMrAU4W7yjrRQAIC2IYPn jQYQOIQY5y8SkEbzAeS3hNzEzjUMx1CH33R/52fU6pit8LETHV0V/dbtHOQR7FyBiGx3Q=; 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 1ghD2h-0007xr-NR; Wed, 09 Jan 2019 12:33:07 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 41B6A1127528; Wed, 9 Jan 2019 12:33:07 +0000 (GMT) Date: Wed, 9 Jan 2019 12:33:07 +0000 From: Mark Brown To: Clark Wang Cc: "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 7/8] spi: lpspi: Add cs-gpio support Message-ID: <20190109123307.GB10405@sirena.org.uk> References: <20190107074639.6336-1-xiaoning.wang@nxp.com> <20190107074639.6336-8-xiaoning.wang@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gj572EiMnwbLXET9" Content-Disposition: inline In-Reply-To: <20190107074639.6336-8-xiaoning.wang@nxp.com> X-Cookie: VMS version 2.0 ==> 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 --gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 07, 2019 at 07:47:47AM +0000, Clark Wang wrote: > Add cs-gpio feature for LPSPI. > The cs line will be controlled in fsl_lpspi_transfe_one_msg() function. >=20 > Still support using the mode without cs-gpio. It depends on if attribute > cs-gpio has been configured in dts file. This is open coding the GPIO - it'd be better to convert to use transfer_one() so you can use the core GPIO handling but that's not really directly relevant to this patch so I'm going to apply, just something it'd be good to work on. --gj572EiMnwbLXET9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlw16gIACgkQJNaLcl1U h9DaJwf9Exgdkvi3rZsDT1R7F1yOvLKAdQE5R1ZokJnvkEmbN2zfWmYpRbImm+Nt O6OhL6Sx1J2WXlYDxQB9wr55fbTu51LAWYT8utJHAf3gMrbNEI6f5+RJMJ8rfK8v DtwxU7pESj2C/FK2Ope74YV8zASasIl+9Hwo4UH6tKmioCwGitNqmUwpnaZn3GB1 GvnzkV5ol5eOSkRZh4nX+MjOAxOBePf/mcZ2ViSP5ej7Yn5dqoLkQHp0XPKz+DLW n++4Oa9Rq7rrc3vjMliyKb9xqJOJ3Y3f0OqoKvvNDxnxV5B7NDvAB3wn43JitiSx eWsErR/D3P3Zuwcma2Of+C1q6hNJ2g== =ZlzS -----END PGP SIGNATURE----- --gj572EiMnwbLXET9--