Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp726065imu; Fri, 25 Jan 2019 09:51:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN5LKTX3eqg8jO6buSYaLT/y4Qf57TZ1vRl+tJZsMCfjX4MiQZWmhGSeCc2iDQOweQab5MJI X-Received: by 2002:a17:902:8346:: with SMTP id z6mr11915276pln.340.1548438668348; Fri, 25 Jan 2019 09:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548438668; cv=none; d=google.com; s=arc-20160816; b=WCMyt2Hh/Q3mLkdgwms2HLj3OOyTIQxxRENiH7gAS1GINctmf1JOvh5cMeWnbxKzFl rrPFRmmm6InHQ+3lpS8ysLWnNrOkRj3VsuA0Xjes4570585cCpkvAUMlQTYsZ16dlH1c idh/wpEaaE1o9uOX0Jop0RNDK6qD/GVR+s8LzoDfCt7WV7to9L1weXJclFE9cP+jxkSG pl+BYuO8Bg+A0t4/rRaMzfRRIDk0YPk4UazO/P63ofh6HGI8jgqmRzN1Oqwh82q5ytSh oL+oBxk4o9qCAPQxY3c8Cc3SA18vjZZsbtvgqydj2udGW/4KG3Er3zd4pDswxElxbeOX kREA== 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=E2TYUzqmIB/WunQuG8CLDnll55MDpbZcVbi8uzr1exg=; b=OsLu3BU5Kxm6HhVk/2NCniEV+JgC4ZawoY3Um7M93zSJiSm/EOzaTBNM9TB2Rn2TZG 5ZsBy78ZFTRF5r132hONOMxiS9QvnzVDcuxYt4r6SA9PPQy37083MITuEhJ5RF++/luF CR+q0QzC8m+hi0K04XHZ3S8nNPhXzMzUhzYuQZJdZIYN7i8zTPaGsVpvQz2NUl+PsNu0 M1TGTTf3S8lXqAcx0Y/oTbZaPX9bpK4N1v7+zEPaziphWx0OhPqToWNSU58+ur6WjaqI 9ad+8KNDHnrQ8CZmqo/LPZ9N7LFw6F9nxbXAchOP6aIAjCcS+2oEYVxy6cWbfITt+SW8 ksMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=cJTiaRiD; 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 n5si25721623pgh.422.2019.01.25.09.50.53; Fri, 25 Jan 2019 09:51:08 -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=cJTiaRiD; 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 S1729215AbfAYRug (ORCPT + 99 others); Fri, 25 Jan 2019 12:50:36 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:39794 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726311AbfAYRuf (ORCPT ); Fri, 25 Jan 2019 12:50:35 -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=E2TYUzqmIB/WunQuG8CLDnll55MDpbZcVbi8uzr1exg=; b=cJTiaRiDjz06MYu5Z1IakiakZ XL+zVT9ZY/vzicQLNIIZrBy1xSzsIkz6zlYE+e63r59gwJP2dUSoclKAPJZT2Juk36avJ9cGYm5FB hIl+lk7Ba++4AaQ4JAAKU9gU/F7QYcPEbJIWoHI4tJerIZ1wD3xZZ34Hh1prUL7pDcg8g=; 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 1gn5cd-0004R8-Le; Fri, 25 Jan 2019 17:50:31 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 403DE1126FC0; Fri, 25 Jan 2019 17:50:31 +0000 (GMT) Date: Fri, 25 Jan 2019 17:50:31 +0000 From: Mark Brown To: Jonas Bonn Cc: Baolin Wang , LKML , linux-spi , Rob Herring , Mark Rutland , DTML Subject: Re: [PATCH 1/2] spi: support inter-word delay requirement for devices Message-ID: <20190125175031.GA25898@sirena.org.uk> References: <20190125114429.20066-1-jonas@norrbonn.se> <20190125114429.20066-2-jonas@norrbonn.se> <20190125174713.GA6939@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20190125174713.GA6939@sirena.org.uk> X-Cookie: You must be present to win. 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 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 25, 2019 at 05:47:13PM +0000, Mark Brown wrote: > On Fri, Jan 25, 2019 at 01:06:45PM +0100, Jonas Bonn wrote: > > Having this as device property rather than a transfer property allows this > > to be configured one time in setup() rather than having to fiddle with the > > configuration register for every transfer. > That doesn't mean that the coniguration should be done in DT though, and > given that this presumably is a property of the device there seems to be > no reason why we'd have it in DT - if every instance of the device is > going to need to set the property we should just figure it out from the > compatble string instead. To be clear here: the suggestion is to add a parameter the slave device can set in spi_device which sets the default word_delay similarly to how max_speed_hz works. --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlxLTGYACgkQJNaLcl1U h9DCxAf/ZhToJUZAbdC/m5PTY8/S4yw7f6hqcYtAsweSErRzlz8oiLKYQNQ7h29F pqKkoM6bRQMgVQU+P91QjCFJwsfOVHYUowcG97/zu8h5wmG/Ca9PNErXj1yhh8GI nWP6HidxnqPgnuv61U3nLxDV4sClpQwjbsVNKyGuyshyQiYNn5+8w2kjMJkEsjUe cGPLwgwpmarj4W3gvhdrQYZO09d6je5QH4hu1PGLLBIB2KfAPRWgHdpzrifZRSnC csO5ofEbBTOAsmgvtYxwG4jg7ewHbJmQ5zcOSVTziPs3GCWyrK7exyY29jDnzQqH Y1exY/p6I1RNfMj3R7U2EvWz7mbVaA== =AuTe -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--