diff mbox

[U-Boot,v4,1/3] gpio: Kconfig: add CONFIG_AT91_GPIO option

Message ID 20170323044621.11616-2-wenyou.yang@atmel.com
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Wenyou Yang March 23, 2017, 4:46 a.m. UTC
The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

 drivers/gpio/Kconfig | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Simon Glass April 13, 2017, 9:16 p.m. UTC | #1
On 22 March 2017 at 22:46, Wenyou Yang <wenyou.yang@atmel.com> wrote:
> The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  drivers/gpio/Kconfig | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>

Applied to u-boot-dm, thanks!
diff mbox

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 8d9ab5237e..c06534257c 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -28,6 +28,19 @@  config DWAPB_GPIO
 	help
 	  Support for the Designware APB GPIO driver.
 
+config AT91_GPIO
+	bool "AT91 PIO GPIO driver"
+	depends on DM_GPIO
+	default n
+	help
+	  Say yes here to select AT91 PIO GPIO driver. AT91 PIO
+	  controller manages up to 32 fully programmable input/output
+	  lines. Each I/O line may be dedicated as a general-purpose
+	  I/O or be assigned to a function of an embedded peripheral.
+	  The assignment to a function of an embedded peripheral is
+	  the responsibility of AT91 Pinctrl driver. This driver is
+	  responsible for the general-purpose I/O.
+
 config ATMEL_PIO4
 	bool "ATMEL PIO4 driver"
 	depends on DM_GPIO