mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* gpio_keys & gpio_request
@ 2012-04-12 12:46 Eric Bénard
  2012-04-12 14:00 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Bénard @ 2012-04-12 12:46 UTC (permalink / raw)
  To: barebox

Hi,

gpio_keys.c is using gpio_request which is only defined in
arch/arm/mach-at91/include/mach/gpio.h
so enabling this driver fails when we are not building barebox for
an at91 : is that expected ?

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gpio_keys & gpio_request
  2012-04-12 12:46 gpio_keys & gpio_request Eric Bénard
@ 2012-04-12 14:00 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-12 14:00 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

On 14:46 Thu 12 Apr     , Eric Bénard wrote:
> Hi,
> 
> gpio_keys.c is using gpio_request which is only defined in
> arch/arm/mach-at91/include/mach/gpio.h
> so enabling this driver fails when we are not building barebox for
> an at91 : is that expected ?

gpio_request is normal so we need to fix the other gpio drivers

I've some patch to update the atmel gpio to implement the gpio_request to mux
the pin as gpio.

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-12 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-12 12:46 gpio_keys & gpio_request Eric Bénard
2012-04-12 14:00 ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox