summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-21 21:33:45 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:37:03 +0800
commit88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db (patch)
tree599e4aee08402b27726c8ae80c86a90d44d8220a /drivers/gpio/Kconfig
parentd21275ef5e7fe67c592896d6dbb157e219ec0450 (diff)
downloadtalos-obmc-uboot-88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db.tar.gz
talos-obmc-uboot-88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db.zip
nios2 : convert altera_pio to driver model
Convert altera_pio to driver model. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Chin Liang See <clsee@altera.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index ef57a89ea2..9e494713fb 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -14,6 +14,13 @@ config DM_GPIO
particular GPIOs that they provide. The uclass interface
is defined in include/asm-generic/gpio.h.
+config ALTERA_PIO
+ bool "Altera PIO driver"
+ depends on DM_GPIO
+ help
+ Select this to enable PIO for Altera devices. Please find
+ details on the "Embedded Peripherals IP User Guide" of Altera.
+
config DWAPB_GPIO
bool "DWAPB GPIO driver"
depends on DM && DM_GPIO
OpenPOWER on IntegriCloud