xref: /linux/Documentation/arch/arm/samsung/gpio.rst (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
1===========================
2Samsung GPIO implementation
3===========================
4
5Introduction
6------------
7
8This outlines the Samsung GPIO implementation and the architecture
9specific calls provided alongside the drivers/gpio core.
10
11
12GPIOLIB integration
13-------------------
14
15The gpio implementation uses gpiolib as much as possible, only providing
16specific calls for the items that require Samsung specific handling, such
17as pin special-function or pull resistor control.
18
19GPIO numbering is synchronised between the Samsung and gpiolib system.
20
21
22PIN configuration
23-----------------
24
25Pin configuration is specific to the Samsung architecture, with each SoC
26registering the necessary information for the core gpio configuration
27implementation to configure pins as necessary.
28
29The s3c_gpio_cfgpin() and s3c_gpio_setpull() provide the means for a
30driver or machine to change gpio configuration.
31
32See arch/arm/mach-s3c/gpio-cfg.h for more information on these functions.
33