From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.kernel.org (mail.kernel.org. [198.145.29.136]) by gmr-mx.google.com with ESMTPS id y20si1902309pfa.2.2016.04.11.12.46.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Apr 2016 12:46:19 -0700 (PDT) Date: Mon, 11 Apr 2016 14:46:15 -0500 From: Rob Herring To: Sergei Ianovich Cc: Alexandre Belloni , Akinobu Mita , rtc-linux@googlegroups.com, devicetree@vger.kernel.org, Alessandro Zummo Subject: [rtc-linux] Re: [PATCH 0/4] support control with using GPIO lines Message-ID: <20160411194615.GA20768@rob-hp-laptop> References: <1460300366-25248-1-git-send-email-akinobu.mita@gmail.com> <20160410151237.GD5377@piout.net> <1460301781.17404.171.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1460301781.17404.171.camel@gmail.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On Sun, Apr 10, 2016 at 06:23:01PM +0300, Sergei Ianovich wrote: > On Sun, 2016-04-10 at 17:12 +0200, Alexandre Belloni wrote: > > Hi, > >=20 > > On 10/04/2016 at 23:59:22 +0900, Akinobu Mita wrote : > > >=20 > > > This series adds support access to DS1302 with GPIO lines. > > >=20 > > > Recently rtc-ds1302 is rewritten using SPI 3wire mode.=C2=A0=C2=A0Thi= s adds > > > another platform driver using GPIO while supporting both modes. > > >=20 > > > Thie series first fixes two problems I found while tesing, secondly > > > introduces the abstraction layer for the register access which > > > enables > > > to share the most code between spi and platform driver, and adds > > > the platform driver using GPIO. > > >=20 > > Well, isn't spi-gpio fitting for that use case? I'd like to avoid > > open > > coding gpio bitbanging in the driver. And I'd like to avoid a custom binding... > No, unfortunately. I've investigated this possibility for my platform. > spi-gpio doesn't support LSB-first and 3-wire options. Adding support > there is a very big change. The best way to add GPIO support is to > create spi-gpio-3wire with LSB-first support. None of this is a concern of the binding. Rob --=20 --=20 You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. ---=20 You received this message because you are subscribed to the Google Groups "= rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.