From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752640AbcGAIUB (ORCPT ); Fri, 1 Jul 2016 04:20:01 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:32906 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbcGAIE1 (ORCPT ); Fri, 1 Jul 2016 04:04:27 -0400 Date: Fri, 1 Jul 2016 09:02:30 +0100 From: Mark Brown To: apronin@chromium.org Cc: linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Message-ID: <20160701080230.GB6247@sirena.org.uk> References: <1467258867-117727-1-git-send-email-apronin@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3IyuMspwcGTbYISR" Content-Disposition: inline In-Reply-To: <1467258867-117727-1-git-send-email-apronin@chromium.org> X-Cookie: You are always busy. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 137.158.23.187 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 1/4] spi: Add option to wake a device by toggling CS X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3IyuMspwcGTbYISR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 29, 2016 at 08:54:24PM -0700, apronin@chromium.org wrote: > From: Andrey Pronin >=20 > Some SPI devices may go to sleep after a period of inactivity > on SPI. For such devices, if enough time has passed since the > last SPI transaction, toggle CS and wait for the device to > start before communicating with it. This seems incredibly specialist, I can imagine someone might implement something like this but it really feels like something I'd expect the driver for the device to be doing rather than the core. Is it really a bounce that's needed and not something like putting a small delay after asserting chip select? --3IyuMspwcGTbYISR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXdiOVAAoJECTWi3JdVIfQZzYH/jyu6+ob5u/vCMMCP7cg/mtA POCOdrpKt1VT2b4i1pVXMyYrTljguWXWxiG4HvpUgVp+5gLeXvJzqFCl+RkzN4pD +0aVxVX+17SUQYnJJIYtTeyL3w6wSUfZgnyYqb/WjdCoJyYKruvckOqpz/BVOep3 jrdmtA010vZUhD85CdqrJnNc2XJZKURUqj4eg0R8b87NyFnqAMai0bUMRXZnFkpb VEeAU2z0ELTgBFvvMqvQkyK44KZxelTBq3y+Hzp/rpau2l5DhzWAwN4WL/nggrZA ECblOG+5KmxW5qBgN/U3c1ujAIIE5ktAzQrTnUsyOYfdgD1SOjKQR0gmd2lDflM= =7tz4 -----END PGP SIGNATURE----- --3IyuMspwcGTbYISR--