RE: [PATCH 1/2] dt-bindings: pinctrl: renesas: Add DT bindings for RZ/V2M pinctrl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linus,

On 14 June 2022 14:01 Phil Edworthy wrote:
> On 14 June 2022 13:10 Geert Uytterhoeven wrote:
> > On Fri, May 20, 2022 at 5:41 PM Phil Edworthy wrote:
<snip>

> > > +        gpio-hog: true
> > > +        gpios: true
> > > +        input-enable: true
> >
> > Missing output-enable?
> If it's an output, wouldn't you only want to set it high or low?
I'm trying to understand the use of input-enable and output-enable DT
properties. As far as I can tell, these are only useful for pins that
are not going to be used as gpios. Is that correct?

If they are to be used as gpios, gpiolib would set the direction via
struct gpio_chip direction_input() and direction_output()

Thanks
Phil




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux