0001 ===========================
0002 Samsung GPIO implementation
0003 ===========================
0004
0005 Introduction
0006 ------------
0007
0008 This outlines the Samsung GPIO implementation and the architecture
0009 specific calls provided alongside the drivers/gpio core.
0010
0011
0012 S3C24XX (Legacy)
0013 ----------------
0014
0015 See Documentation/arm/samsung-s3c24xx/gpio.rst for more information
0016 about these devices. Their implementation has been brought into line
0017 with the core samsung implementation described in this document.
0018
0019
0020 GPIOLIB integration
0021 -------------------
0022
0023 The gpio implementation uses gpiolib as much as possible, only providing
0024 specific calls for the items that require Samsung specific handling, such
0025 as pin special-function or pull resistor control.
0026
0027 GPIO numbering is synchronised between the Samsung and gpiolib system.
0028
0029
0030 PIN configuration
0031 -----------------
0032
0033 Pin configuration is specific to the Samsung architecture, with each SoC
0034 registering the necessary information for the core gpio configuration
0035 implementation to configure pins as necessary.
0036
0037 The s3c_gpio_cfgpin() and s3c_gpio_setpull() provide the means for a
0038 driver or machine to change gpio configuration.
0039
0040 See arch/arm/mach-s3c/gpio-cfg.h for more information on these functions.