Path: blob/master/Documentation/arm/Samsung/GPIO.txt
10823 views
Samsung GPIO implementation1===========================23Introduction4------------56This outlines the Samsung GPIO implementation and the architecture7specific calls provided alongisde the drivers/gpio core.8910S3C24XX (Legacy)11----------------1213See Documentation/arm/Samsung-S3C24XX/GPIO.txt for more information14about these devices. Their implementation is being brought into line15with the core samsung implementation described in this document.161718GPIOLIB integration19-------------------2021The gpio implementation uses gpiolib as much as possible, only providing22specific calls for the items that require Samsung specific handling, such23as pin special-function or pull resistor control.2425GPIO numbering is synchronised between the Samsung and gpiolib system.262728PIN configuration29-----------------3031Pin configuration is specific to the Samsung architecutre, with each SoC32registering the necessary information for the core gpio configuration33implementation to configure pins as necessary.3435The s3c_gpio_cfgpin() and s3c_gpio_setpull() provide the means for a36driver or machine to change gpio configuration.3738See arch/arm/plat-samsung/include/plat/gpio-cfg.h for more information39on these functions.4041424344