From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id k143si435499wmg.1.2016.04.10.08.12.38 for ; Sun, 10 Apr 2016 08:12:38 -0700 (PDT) Date: Sun, 10 Apr 2016 17:12:37 +0200 From: Alexandre Belloni To: Akinobu Mita Cc: rtc-linux@googlegroups.com, devicetree@vger.kernel.org, Sergey Yanovich , Alessandro Zummo Subject: [rtc-linux] Re: [PATCH 0/4] support control with using GPIO lines Message-ID: <20160410151237.GD5377@piout.net> References: <1460300366-25248-1-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1460300366-25248-1-git-send-email-akinobu.mita@gmail.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Hi, On 10/04/2016 at 23:59:22 +0900, Akinobu Mita wrote : > This series adds support access to DS1302 with GPIO lines. > > Recently rtc-ds1302 is rewritten using SPI 3wire mode. This adds > another platform driver using GPIO while supporting both modes. > > 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. > Well, isn't spi-gpio fitting for that use case? I'd like to avoid open coding gpio bitbanging in the driver. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- 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. --- 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 email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Subject: Re: [PATCH 0/4] support control with using GPIO lines Date: Sun, 10 Apr 2016 17:12:37 +0200 Message-ID: <20160410151237.GD5377@piout.net> References: <1460300366-25248-1-git-send-email-akinobu.mita@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1460300366-25248-1-git-send-email-akinobu.mita-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Akinobu Mita Cc: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sergey Yanovich , Alessandro Zummo List-Id: devicetree@vger.kernel.org Hi, On 10/04/2016 at 23:59:22 +0900, Akinobu Mita wrote : > This series adds support access to DS1302 with GPIO lines. > > Recently rtc-ds1302 is rewritten using SPI 3wire mode. This adds > another platform driver using GPIO while supporting both modes. > > 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. > Well, isn't spi-gpio fitting for that use case? I'd like to avoid open coding gpio bitbanging in the driver. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html