diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-16 21:15:09 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-17 00:29:25 +0200 |
commit | 52426d08918eadfba178f74e1bd5d1663f9c73e0 (patch) | |
tree | 3a9488a65d7d3f854f84615238ce174dfd956c6a /firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c | |
parent | f4fdf1ffe2189dafd1ebbbbf50f1a4626364ead3 (diff) | |
download | rockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.tar.gz rockbox-52426d08918eadfba178f74e1bd5d1663f9c73e0.zip |
imx233: fix pinctrl for stmp3600 and stmp3700
Change-Id: I87281b89315890fa285cb9a63fda5c90bdc8cdbf
Diffstat (limited to 'firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c')
-rw-r--r-- | firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c index de9e2df393..7afdaa316e 100644 --- a/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c +++ b/firmware/target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c | |||
@@ -54,7 +54,7 @@ static void setup_lcd_pins(bool use_lcdif) | |||
54 | imx233_pinctrl_acquire(1, 21, "lcd cs"); | 54 | imx233_pinctrl_acquire(1, 21, "lcd cs"); |
55 | imx233_pinctrl_acquire(1, 23, "lcd enable"); | 55 | imx233_pinctrl_acquire(1, 23, "lcd enable"); |
56 | imx233_pinctrl_acquire(1, 25, "lcd vsync"); | 56 | imx233_pinctrl_acquire(1, 25, "lcd vsync"); |
57 | imx233_pinctrl_acquire_mask(1, 0x3ffff, "lcd data"); | 57 | //imx233_pinctrl_acquire_mask(1, 0x3ffff, "lcd data"); |
58 | if(use_lcdif) | 58 | if(use_lcdif) |
59 | { | 59 | { |
60 | imx233_pinctrl_set_function(1, 25, PINCTRL_FUNCTION_MAIN); /* lcd_vsync */ | 60 | imx233_pinctrl_set_function(1, 25, PINCTRL_FUNCTION_MAIN); /* lcd_vsync */ |
@@ -70,7 +70,7 @@ static void setup_lcd_pins(bool use_lcdif) | |||
70 | else | 70 | else |
71 | { | 71 | { |
72 | HW_PINCTRL_MUXSELn_SET(2) = 0xffffffff; /* lcd_d{0-15} */ | 72 | HW_PINCTRL_MUXSELn_SET(2) = 0xffffffff; /* lcd_d{0-15} */ |
73 | imx233_pinctrl_enable_gpio_mask(1, 0x2bfffff, false); /* lcd_{d{0-17},reset,rs,wr,cs,enable,vsync} */ | 73 | HW_PINCTRL_DOEn_CLR(1) = 0x2bfffff; |
74 | imx233_pinctrl_set_function(1, 16, PINCTRL_FUNCTION_GPIO); /* lcd_d16 */ | 74 | imx233_pinctrl_set_function(1, 16, PINCTRL_FUNCTION_GPIO); /* lcd_d16 */ |
75 | imx233_pinctrl_set_function(1, 17, PINCTRL_FUNCTION_GPIO); /* lcd_d17 */ | 75 | imx233_pinctrl_set_function(1, 17, PINCTRL_FUNCTION_GPIO); /* lcd_d17 */ |
76 | imx233_pinctrl_set_function(1, 19, PINCTRL_FUNCTION_GPIO); /* lcd_rs */ | 76 | imx233_pinctrl_set_function(1, 19, PINCTRL_FUNCTION_GPIO); /* lcd_rs */ |