diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-05-08 14:06:34 +0200 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-05-08 14:07:40 +0200 |
| commit | 3c26f131df0c56c3391ac2bbf6e6e76b951ddd45 (patch) | |
| tree | 9f0441e18dbfb98e758245b5068c1ec711891870 | |
| parent | 18c016b4e0262bc2e23a193fc7c8fb92907303b1 (diff) | |
| download | rockbox-3c26f131df0c56c3391ac2bbf6e6e76b951ddd45.zip rockbox-3c26f131df0c56c3391ac2bbf6e6e76b951ddd45.tar.gz rockbox-3c26f131df0c56c3391ac2bbf6e6e76b951ddd45.tar.bz2 rockbox-3c26f131df0c56c3391ac2bbf6e6e76b951ddd45.tar.xz | |
fuze+: don't touch B1P{22,24} in lcd code since these are used by the tuner
Change-Id: Icdb328b939902c4f8e57a76d27296d58b9548aab
| -rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c index b25fff8..b83c49d 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c +++ b/firmware/target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c @@ -53,13 +53,14 @@ static void setup_parameters(void) static void setup_lcd_pins(bool use_lcdif) { + /* WARNING + * the B1P22 and B1P24 pins are used by the tuner i2c! Do NOT drive + * them as lcd_dotclk and lcd_hsync or it will break the tuner! */ if(use_lcdif) { imx233_set_pin_function(1, 25, PINCTRL_FUNCTION_GPIO); /* lcd_vsync */ imx233_set_pin_function(1, 21, PINCTRL_FUNCTION_MAIN); /* lcd_cs */ - imx233_set_pin_function(1, 22, PINCTRL_FUNCTION_GPIO); /* lcd_dotclk */ imx233_set_pin_function(1, 23, PINCTRL_FUNCTION_GPIO); /* lcd_enable */ - imx233_set_pin_function(1, 24, PINCTRL_FUNCTION_GPIO); /* lcd_hsync */ imx233_set_pin_function(1, 18, PINCTRL_FUNCTION_MAIN); /* lcd_reset */ imx233_set_pin_function(1, 19, PINCTRL_FUNCTION_MAIN); /* lcd_rs */ imx233_set_pin_function(1, 16, PINCTRL_FUNCTION_MAIN); /* lcd_d16 */ @@ -76,9 +77,7 @@ static void setup_lcd_pins(bool use_lcdif) imx233_set_pin_function(1, 19, PINCTRL_FUNCTION_GPIO); /* lcd_rs */ imx233_set_pin_function(1, 20, PINCTRL_FUNCTION_GPIO); /* lcd_wr */ imx233_set_pin_function(1, 21, PINCTRL_FUNCTION_GPIO); /* lcd_cs */ - imx233_set_pin_function(1, 22, PINCTRL_FUNCTION_GPIO); /* lcd_dotclk */ imx233_set_pin_function(1, 23, PINCTRL_FUNCTION_GPIO); /* lcd_enable */ - imx233_set_pin_function(1, 24, PINCTRL_FUNCTION_GPIO); /* lcd_hsync */ imx233_set_pin_function(1, 25, PINCTRL_FUNCTION_GPIO); /* lcd_vsync */ } } |