[PATCH 2/4] powerpc/qe: new call to revert a gpio to a dedicated function

Kumar Gala galak at kernel.crashing.org
Wed Sep 24 14:07:00 EST 2008


On Sep 23, 2008, at 7:03 PM, Anton Vorontsov wrote:

> qe_gpio_set_dedicated() is a platform specific function, which is used
> to revert a pin to a dedicated function. Caller should have already
> obtained the gpio via gpio_request().
>
> This is needed to support Freescale USB Host Controller.
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> ---
> arch/powerpc/include/asm/qe.h     |    1 +
> arch/powerpc/sysdev/qe_lib/gpio.c |   46 ++++++++++++++++++++++++++++ 
> +++++++++
> 2 files changed, 47 insertions(+), 0 deletions(-)

what do you mean by dedicated function.. be a bit clearer in the  
commit log.  Also, does this depend on gpio_to_chip() patch?

- k



More information about the Linuxppc-dev mailing list