Re: [PATCH] gpio:pca953x: add mechanism to simulate open drain outputs

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 11:49 PM, H. Nikolaus Schaller wrote: > [Me] >> I understand the approach, but this is the wrong way to do it. >> Instead of indicating that a pin on the pin controller should be >> open drain, the *consumer* specifying its gpios = <> should >> do this. > > On a second

Re: [PATCH] gpio:pca953x: add mechanism to simulate open drain outputs

2015-09-24 Thread H. Nikolaus Schaller
Am 25.09.2015 um 00:11 schrieb Linus Walleij : > On Wed, Sep 23, 2015 at 11:13 AM, H. Nikolaus Schaller > wrote: > >> 1. add a DT property to specify the list of GPIO pins that are to become >> "open drain" >> 2. if a pin is configured as "open drain", set value by either outputting a >> "0

Re: [PATCH] gpio:pca953x: add mechanism to simulate open drain outputs

2015-09-24 Thread H. Nikolaus Schaller
Am 25.09.2015 um 00:11 schrieb Linus Walleij : > On Wed, Sep 23, 2015 at 11:13 AM, H. Nikolaus Schaller > wrote: > >> 1. add a DT property to specify the list of GPIO pins that are to become >> "open drain" >> 2. if a pin is configured as "open drain", set value by either outputting a >> "0

Re: [PATCH] gpio:pca953x: add mechanism to simulate open drain outputs

2015-09-24 Thread Linus Walleij
On Wed, Sep 23, 2015 at 11:13 AM, H. Nikolaus Schaller wrote: > 1. add a DT property to specify the list of GPIO pins that are to become >"open drain" > 2. if a pin is configured as "open drain", set value by either outputting a >"0" (low level) or switching to input (high impedance) > >