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 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.

> 2) properly not understand relationship between gpio and pin control?

Read the documentation:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Documentation/pinctrl.txt

And I also have a few presentations:
http://www.df.lth.se/~triad/papers/pincontrol.pdf
http://www.df.lth.se/~triad/papers/Linaro_pinctrl_overview.pdf

> 3) how to do tge linux kernel interact with gpio?

Read the documentation:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/gpio

Also presentations:
http://www.df.lth.se/~triad/papers/pincontrol-gpio-update.pdf
http://www.df.lth.se/~triad/papers/GPIO-for-Engineers-and-Makers.pdf

> 4) how we application can access with named gpio.

Use the character device.
See the last presentation for an overview, but also read the examples:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/tools/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