From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbcFNGxw (ORCPT ); Tue, 14 Jun 2016 02:53:52 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:35890 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751359AbcFNGxu (ORCPT ); Tue, 14 Jun 2016 02:53:50 -0400 MIME-Version: 1.0 In-Reply-To: <20160613130628.GA28944@sophia> References: <20160613130628.GA28944@sophia> From: Linus Walleij Date: Tue, 14 Jun 2016 08:53:48 +0200 Message-ID: Subject: Re: [PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104 To: William Breathitt Gray Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Alexandre Courbot , "linux-gpio@vger.kernel.org" , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 13, 2016 at 3:06 PM, William Breathitt Gray wrote: > The Apex Embedded Systems STX104 device features eight lines of digital > I/O (four digital inputs and four digital outputs). This patch adds GPIO > support for these eight lines of digital I/O via GPIOLIB. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Signed-off-by: William Breathitt Gray > --- > Changes in v3: > - Revert v2 change; any arch should be able to select GPIOLIB > - Return -EINVAL when attempting to set a GPIO to a direction it > cannot be > - Call stx104_gpio_set to have an initial value when setting a GPIO to > output direction Reviewed-by: Linus Walleij Yours, Linus Walleij