* Steve Sakoman <sakoman@xxxxxxxxx> [080914 08:18]: > Drive OVERO_GPIO_BT_XGATE low rather than relying on the pin mux pull > down set by U-boot Pushing today. Will also merge into the minimal board support patch for mainline kernel. Tony > > Signed-off-by: Steve Sakoman <steve@xxxxxxxxxxx> > --- > arch/arm/mach-omap2/board-overo.c | 6 ++++++ > arch/arm/plat-omap/include/mach/board-overo.h | 1 + > 2 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-omap2/board-overo.c > b/arch/arm/mach-omap2/board-overo.c > index 396ec33..5c23b4d 100644 > --- a/arch/arm/mach-omap2/board-overo.c > +++ b/arch/arm/mach-omap2/board-overo.c > @@ -207,6 +207,12 @@ static void __init overo_init(void) > printk(KERN_ERR "could not obtain gpio for OVERO_GPIO_W2W_NRESET\n"); > } > > + if ((gpio_request(OVERO_GPIO_BT_XGATE, "OVERO_GPIO_BT_XGATE") == 0) && > + (gpio_direction_output(OVERO_GPIO_BT_XGATE, 0) == 0)) > + gpio_export(OVERO_GPIO_BT_XGATE, 0); > + else > + printk(KERN_ERR "could not obtain gpio for OVERO_GPIO_BT_XGATE\n"); > + > if ((gpio_request(OVERO_GPIO_BT_NRESET, "OVERO_GPIO_BT_NRESET") == 0) && > (gpio_direction_output(OVERO_GPIO_BT_NRESET, 1) == 0)) { > gpio_export(OVERO_GPIO_BT_NRESET, 0); > diff --git a/arch/arm/plat-omap/include/mach/board-overo.h > b/arch/arm/plat-omap/include/mach/board-overo.h > index b70f22a..7ecae66 100644 > --- a/arch/arm/plat-omap/include/mach/board-overo.h > +++ b/arch/arm/plat-omap/include/mach/board-overo.h > @@ -16,6 +16,7 @@ > #ifndef __ASM_ARCH_OVERO_H > #define __ASM_ARCH_OVERO_H > > +#define OVERO_GPIO_BT_XGATE 15 > #define OVERO_GPIO_W2W_NRESET 16 > #define OVERO_GPIO_BT_NRESET 164 > #define OVERO_GPIO_USBH_CPEN 168 > -- > 1.5.4.5 > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html