GPIO.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Samsung GPIO implementation
  2. ===========================
  3. Introduction
  4. ------------
  5. This outlines the Samsung GPIO implementation and the architecture
  6. specific calls provided alongside the drivers/gpio core.
  7. S3C24XX (Legacy)
  8. ----------------
  9. See Documentation/arm/Samsung-S3C24XX/GPIO.txt for more information
  10. about these devices. Their implementation has been brought into line
  11. with the core samsung implementation described in this document.
  12. GPIOLIB integration
  13. -------------------
  14. The gpio implementation uses gpiolib as much as possible, only providing
  15. specific calls for the items that require Samsung specific handling, such
  16. as pin special-function or pull resistor control.
  17. GPIO numbering is synchronised between the Samsung and gpiolib system.
  18. PIN configuration
  19. -----------------
  20. Pin configuration is specific to the Samsung architecture, with each SoC
  21. registering the necessary information for the core gpio configuration
  22. implementation to configure pins as necessary.
  23. The s3c_gpio_cfgpin() and s3c_gpio_setpull() provide the means for a
  24. driver or machine to change gpio configuration.
  25. See arch/arm/plat-samsung/include/plat/gpio-cfg.h for more information
  26. on these functions.