
-----Original Message----- From: Ajay Bhargav [mailto:ajay.bhargav@einfochips.com] Sent: Thursday, August 18, 2011 11:08 AM To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Ajay Bhargav Subject: [PATCH v7 1/2] gpio: Add GPIO driver framework for Marvell SoCs
This patch adds generic GPIO driver framework support for Marvell SoCs.
To enable GPIO driver define CONFIG_MARVELL_GPIO and for GPIO commands define CONFIG_CMD_GPIO in your board configuration file.
Signed-off-by: Ajay Bhargav ajay.bhargav@einfochips.com
Changes for v2:
- mvgpio.h removed
- function get_gpio_base moved to gpio.h
- error messages added
Changes for v3:
- Added mvgpio.h for common define based on CPU core subversion.
Changes for v4:
- not changed
Changes for v5:
- Added change history
Changes for v6:
- Renamed GPIO level defines (fixes compilation issues thanks to Lei Wen)
Changes for v7:
- mvgpio.h moved to driver/gpio
drivers/gpio/Makefile | 1 + drivers/gpio/mvgpio.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/gpio/mvgpio.h | 74 +++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+), 0 deletions(-) create mode 100644 drivers/gpio/mvgpio.c create mode 100644 drivers/gpio/mvgpio.h
Applied to u-boot-marvell.git master branch
Regards.. Prafulla . .