Here's an updated patch with a fix for the GPIO direction: From e74be66075d14f7ed55ba3aaa8a166eac6a3e60f Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen <tomi.valkeinen@xxxxxx> Date: Mon, 21 May 2012 11:28:57 +0300 Subject: [PATCH] OMAP: Beagle: fix TFP410 powerdown GPIO init Commit e813a55eb9c9bc6c8039fb16332cf43402125b30 ("OMAP: board-files: remove custom PD GPIO handling for DVI output") moved TFP410 chip's powerdown-gpio handling from the board files to the tfp410 driver. One gpio_request_one(powerdown-gpio, ...) was mistakenly left unremoved in the Beagle board file. This causes the tfp410 driver to fail to request the gpio on Beagle, causing the driver to fail and thus the DVI output doesn't work. Also the powerdown-gpio is initialized as OMAP_PIN_INPUT, whereas it's an output. This patch removes the gpio_request_one() from the board file and changes the pin to OMAP_PIN_OUTPUT. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxx> --- arch/arm/mach-omap2/board-omap3beagle.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 8ede8d2..5066080 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -510,9 +510,8 @@ static void __init omap3_beagle_init(void) omap_sdrc_init(mt46h32m32lf6_sdrc_params, mt46h32m32lf6_sdrc_params); - omap_mux_init_gpio(170, OMAP_PIN_INPUT); - /* REVISIT leave DVI powered down until it's needed ... */ - gpio_request_one(170, GPIOF_OUT_INIT_HIGH, "DVI_nPD"); + /* TFP410 power down GPIO */ + omap_mux_init_gpio(170, OMAP_PIN_OUTPUT); usb_musb_init(NULL); usbhs_init(&usbhs_bdata); -- 1.7.9.5
Attachment:
signature.asc
Description: This is a digitally signed message part