[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    question about GPIO and pxa2xx-ac97.c
From:       Palo Revak <palo () bielyvlk ! sk>
Date:       2008-10-15 9:19:19
Message-ID: 200810151119.19697.palo () bielyvlk ! sk
[Download RAW message or body]

in pxa2xx-ac97.c is hardcoded GPIO usage for AC97 RESET:

	pxa_gpio_mode(113 | GPIO_OUT | GPIO_DFLT_HIGH);

	pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);

but some boards can use another GPIO to control this signal.
for example the Toradex Colibri board use: (95 | GPIO_ALT_FN_1_OUT)
is any correct way to make this platform dependent, or I simly add only:

	#if CONFIG_MACH_COLIBRI

thanks.

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic