Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1587843imd; Sun, 4 Nov 2018 05:54:18 -0800 (PST) X-Google-Smtp-Source: AJdET5dZsUuRAw/LhVz6UvfYpiYM19I6qZsVPQ0FuzchHMZKIwGRpGegxxWKNvrVrW3f9Yy8JS9d X-Received: by 2002:a17:902:3283:: with SMTP id z3-v6mr18740541plb.308.1541339658062; Sun, 04 Nov 2018 05:54:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541339658; cv=none; d=google.com; s=arc-20160816; b=tWrOiFA2HD74cHgBgL23VDxZKThaPDgdmoCAQwOgY8rVbyWuA22MXTGd0pBLe5KbCF t3EmnjHbdhl4By3WsBrQjY8QTh/+ugDLHEcQUjKQpw2i5BzkXbB6T3Z1ihFbqqBpVWiT qndG84gIhFeIAgOJAlF+6HaOcDESPwwhqaL5QeqCnLvQ5ltDKoqEclOFW0Fb0ltzm+CI opvCu6pb7D+NZVk3pJBMTPbvDe8g152sV/Q18LJP1z5SuXd4rnVNMczSzybhLNJQWbCc vczB8hRHrZ5g32lMYlN52/WlqZV3spw4xUdg+JyqjeEiuqP3xFIMPBez9u0LaFHMBGmr ymnw== 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; bh=oLTdc6ryux793F3wo/bSAauhJ+DLDhZtOzyjo+O/C/A=; b=oZmZvypthcOJN3Cucvu6hQ1k0jDV3NQ1P9bi4hjI6QQWUyZLi8id55S1C72AxAgInr pSkLRJqmmdU1tYhA1aHFa/VnSWOwPfgohKdiWzqaJWJ9imf59cGnH47MiPdMi5lqKHU+ ul7AlzS+rZyzFvlgjKHNNv5+rlL4JLM8oia8hLbz+GHSfJPCSnY+ntpbylsvVVSDlOZQ DZ089/Wo8dJ/epy6bwQUcQNB/HfEnWLiXCKWa/eSFO9lltSDl3DkKUyZUQUp9dbZOKbo tpZWv5HOr2Ezksy/1hI8BnMLx3W12n0dlx5ZIfoKbvoNnraFiIrKgvSCgCOc85NgSlJk q3aw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i64-v6si28206849pli.135.2018.11.04.05.54.02; Sun, 04 Nov 2018 05:54:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729691AbeKDVl2 (ORCPT + 99 others); Sun, 4 Nov 2018 16:41:28 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40475 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729573AbeKDVl2 (ORCPT ); Sun, 4 Nov 2018 16:41:28 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 8B2BB8072F; Sun, 4 Nov 2018 13:26:34 +0100 (CET) Date: Sun, 4 Nov 2018 13:26:36 +0100 From: Pavel Machek To: Lubomir Rintel Cc: Mark Brown , Geert Uytterhoeven , Darren Hart , Andy Shevchenko , Greg Kroah-Hartman , James Cameron , Sebastian Reichel , Rob Herring , Mark Rutland , Eric Miao , Haojian Zhuang , Daniel Mack , Robert Jarzmik , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, platform-driver-x86@vger.kernel.org, devel@driverdev.osuosl.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 03/15] dt-bindings: olpc,xo1.75-ec: Add OLPC XO-1.75 EC bindings Message-ID: <20181104122636.GX23864@amd> References: <20181010172300.317643-1-lkundrak@v3.sk> <20181010172300.317643-4-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b2s+RKoBicgQlNJs" Content-Disposition: inline In-Reply-To: <20181010172300.317643-4-lkundrak@v3.sk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --b2s+RKoBicgQlNJs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2018-10-10 19:22:48, Lubomir Rintel wrote: > The OLPC XO-1.75 Embedded Controller is a SPI master that uses extra > signals for handshaking. It needs to know when is the slave (Linux) > side's TX FIFO ready for transfer (the ready-gpio signal on the SPI > controller node) and when does it wish to respond with a command (the > cmd-gpio property). >=20 > Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek > --- > .../bindings/misc/olpc,xo1.75-ec.txt | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Documentation/devicetree/bindings/misc/olpc,xo1.75-ec= =2Etxt >=20 > diff --git a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.txt b/= Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.txt > new file mode 100644 > index 000000000000..14385fee65d2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.txt > @@ -0,0 +1,24 @@ > +OLPC XO-1.75 Embedded Controller > + > +Required properties: > +- compatible: Should be "olpc,xo1.75-ec". > +- cmd-gpio: gpio specifier of the CMD pin > + > +The embedded controller requires the SPI controller driver to signal rea= diness > +to receive a transfer (that is, when TX FIFO contains the response data)= by > +strobing the ACK pin with the ready signal. See the "ready-gpio" propert= y of the > +SSP binding as documented in: > +. > + > +Example: > + &ssp3 { > + spi-slave; > + status =3D "okay"; > + ready-gpio =3D <&gpio 125 GPIO_ACTIVE_HIGH>; > + > + slave { > + compatible =3D "olpc,xo1.75-ec"; > + spi-cpha; > + cmd-gpio =3D <&gpio 155 GPIO_ACTIVE_HIGH>; > + }; > + }; --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --b2s+RKoBicgQlNJs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlve5XwACgkQMOfwapXb+vJx6QCdGqqNgkjNqR4djwsotKU86vIg OmMAnjS8aSbF0gsMNHfYnF5fM5wl4Sfv =CwE1 -----END PGP SIGNATURE----- --b2s+RKoBicgQlNJs--