summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/creative-zenxfi3
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-05-22 22:58:32 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-05-22 23:01:03 +0200
commit4126dd1c53d8768bc98729fb1f79758eee11283d (patch)
tree6ec383691aff23d3f758cc175a0663b132a7d13e /firmware/target/arm/imx233/creative-zenxfi3
parentaa119b55f5d989e26e251c69169d5b6f3a1a68a6 (diff)
downloadrockbox-4126dd1c53d8768bc98729fb1f79758eee11283d.tar.gz
rockbox-4126dd1c53d8768bc98729fb1f79758eee11283d.tar.bz2
rockbox-4126dd1c53d8768bc98729fb1f79758eee11283d.zip
zenxfi3: acquire lcd pins before use
Change-Id: I9829be35d9872e8051c5281639c3d99b51908035
Diffstat (limited to 'firmware/target/arm/imx233/creative-zenxfi3')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c
index 3579f8306e..06180d556a 100644
--- a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c
+++ b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c
@@ -44,6 +44,15 @@ static void setup_parameters(void)
static void setup_lcd_pins(bool use_lcdif)
{
+ imx233_pinctrl_acquire_pin(1, 18, "lcd reset");
+ imx233_pinctrl_acquire_pin(1, 19, "lcd rs");
+ imx233_pinctrl_acquire_pin(1, 20, "lcd wr");
+ imx233_pinctrl_acquire_pin(1, 21, "lcd cs");
+ imx233_pinctrl_acquire_pin(1, 22, "lcd dotclk");
+ imx233_pinctrl_acquire_pin(1, 23, "lcd enable");
+ imx233_pinctrl_acquire_pin(1, 24, "lcd hsync");
+ imx233_pinctrl_acquire_pin(1, 25, "lcd vsync");
+ imx233_pinctrl_acquire_pin_mask(1, 0x3ffff, "lcd data");
if(use_lcdif)
{
imx233_set_pin_function(1, 25, PINCTRL_FUNCTION_MAIN); /* lcd_vsync */