Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421619

Re: [PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded Systems STX104
Date 2016-06-14 09:00 +0200
Message-ID <rJQul-1bc-5@gated-at.bofh.it> (permalink)
References <rJzMR-6In-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 13, 2016 at 3:06 PM, William Breathitt Gray
<vilhelm.gray@gmail.com> 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 <linus.walleij@linaro.org>
> Cc: Alexandre Courbot <gnurou@gmail.com>
> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
> ---
> 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 <linus.walleij@linaro.org>

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded  Systems STX104 William Breathitt Gray <vilhelm.gray@gmail.com> - 2016-06-13 15:10 +0200
  Re: [PATCH v3] iio: stx104: Add GPIO support for the Apex Embedded  Systems STX104 Linus Walleij <linus.walleij@linaro.org> - 2016-06-14 09:00 +0200

csiph-web