On Fri, Oct 7, 2016 at 5:31 PM, Martyn Welch
wrote:
> WRT this driver, I think I need to keep set_single_ended, but change
> .direction_input
> to always return a failure and have .direction_output always return success to
> avoid pins being driven in unexpected
On Fri, Oct 07, 2016 at 04:31:26PM +0100, Martyn Welch wrote:
> Also, if an output can only be open-drain, attempting to set the pin as
> push-pull succeeds because gpiolib (currently) assumes that a pin can
> always be p-p and doesn't even check the return value of it's call to
>
On Tue, Oct 04, 2016 at 02:13:26PM +0200, Linus Walleij wrote:
> On Sat, Sep 24, 2016 at 12:50 AM, Martyn Welch
> wrote:
>
> > This patch adds support for the GPIO found on the CP2105.
>
>
> > This device supports either push-pull or open-drain modes, it doesn't
>
On Sat, Sep 24, 2016 at 12:50 AM, Martyn Welch
wrote:
> This patch adds support for the GPIO found on the CP2105.
> This device supports either push-pull or open-drain modes, it doesn't
> provide an explicit input mode, though the state of the GPIO can be read
>
This patch adds support for the GPIO found on the CP2105. Unlike the GPIO
provided by some of the other devices supported by the cp210x driver, the
GPIO on the CP2015 is muxed on pins otherwise used for serial control
lines. The GPIO have been configured in 2 separate banks as the choice to