Re: GPIO IN LINUX KERENL 4.8

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

 



On Thu, Nov 17, 2016 at 9:16 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Thu, Nov 17, 2016 at 12:01 PM, Rahul Mahajan
> <rahulcmahajan.84@xxxxxxxxx> wrote:
>
>> Can you please tell ,
>> 1) i need to change modify pin control for gpio then how to do that ?
>
> Like any other driver? I don't understand the question. You have
> to be more specific.

I understand the question now, after private mail.

There are two clasess of pin control/GPIO interaction:

- Drivers where GPIO and pin control is orthogonal: there the
  pin control settings in device tree or similar, that configure the
  pin to be used as GPIO.

- Drivers where GPIO and pin control interact, so the GPIO
  driver calls back into the pin controller using GPIO ranges
  and the pin controller driver has a set of special callbacks
  to configure the line as GPIO.

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



[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