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

From: Jonathan Cameron
Date: Sun Jun 26 2016 - 12:10:35 EST


On 14/06/16 07:53, Linus Walleij wrote:
> On Mon, Jun 13, 2016 at 3:06 PM, William Breathitt Gray
> <vilhelm.gray@xxxxxxxxx> 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@xxxxxxxxxx>
>> Cc: Alexandre Courbot <gnurou@xxxxxxxxx>
>> Signed-off-by: William Breathitt Gray <vilhelm.gray@xxxxxxxxx>
>> ---
>> 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@xxxxxxxxxx>
Applied to the togreg branch of iio.git - initially pushed out as testing
for the autobuilders to play with it.

Thanks,

Jonathan
>
> Yours,
> Linus Walleij
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>