Re: GPIO controller driver pull up/down without pinctrl

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

 



On Fri, 11 Oct 2019 at 12:39, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> On Fri, Oct 11, 2019 at 8:26 AM Jay Aurabind <jay.aurabind@xxxxxxxxx> wrote:
>
> > Quoting "Documentation/devicetree/bindings/gpio/gpio.txt":
> >
> >          Optional standard bitfield specifiers for the last cell:
> >
> >          [snip]
> >
> >          This setting only applies to hardware with a simple on/off
> >          control for pull-up configuration. If the hardware has more
> >          elaborate pull-up configuration, it should be represented
> >          using a pin control binding.
> >
> > So if I do not want a separate pinctrl driver, how can I do the
> > necessary pull up/down setup in the gpio controller driver? I could
> > not find any drivers using the simple interface. Is this facility
> > available?
>
> See:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpio/gpio-pca953x.c
> Callbacks pca953x_gpio_set_config() and what it calls further from there.
>

Thank you very much for the quick response!

-- 

Thanks and Regards,
Jay



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux