
3 May
2011
3 May
'11
6:49 p.m.
Am Di, 3.05.2011, 00:45, schrieb Tom Warren:
Signed-off-by: Tom Warren twarren@nvidia.com
Changes in V2:
- use 'gpio_pin' enum in gpio.h (Simon Glass review request)
- change 'GPIO_PORT8' to 'GPIO_FULLPORT' (Simon Glass request)
- change 'offset' to 'pin' globally
arch/arm/include/asm/arch-tegra2/gpio.h | 244
++++++++++++++++++++++++-
drivers/gpio/Makefile | 1 + drivers/gpio/tegra2_gpio.c | 299
Does this (SoC) driver belong to drivers/gpio/ or arch/arm/cpu/armv7/tegra2/? To me it seems that both are used for architectures/SoCs specific drivers (eg. blackfin, omap in arch/ and at91 in drivers/gpio/). What is the preferred directory?
--
Michael