diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/imx233/creative-zen/lcd-zen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/creative-zen/lcd-zen.c b/firmware/target/arm/imx233/creative-zen/lcd-zen.c index c653b54848..dcdeeee7a1 100644 --- a/firmware/target/arm/imx233/creative-zen/lcd-zen.c +++ b/firmware/target/arm/imx233/creative-zen/lcd-zen.c | |||
@@ -176,7 +176,7 @@ static void lcd_init_seq(void) | |||
176 | * at negative edge of dotclk, reflect this in the polarity settings */ | 176 | * at negative edge of dotclk, reflect this in the polarity settings */ |
177 | spi_write_reg(0x3, 0xd040);// polarity (OF uses 0xc040, seems incorrect) | 177 | spi_write_reg(0x3, 0xd040);// polarity (OF uses 0xc040, seems incorrect) |
178 | spi_write_reg(0x8, 0); // vsync back porch (0=3H) | 178 | spi_write_reg(0x8, 0); // vsync back porch (0=3H) |
179 | spi_write_reg(0x9, 0); // hsync back porhc (0=24clk) | 179 | spi_write_reg(0x9, 0); // hsync back porch (0=24clk) |
180 | spi_write_reg(0x76, 0x2213); | 180 | spi_write_reg(0x76, 0x2213); |
181 | spi_write_reg(0xb, 0x33e1); | 181 | spi_write_reg(0xb, 0x33e1); |
182 | spi_write_reg(0xc, 0x23); | 182 | spi_write_reg(0xc, 0x23); |
@@ -296,10 +296,10 @@ void lcd_init_device(void) | |||
296 | imx233_lcdif_setup_dotclk_pins(8, false); | 296 | imx233_lcdif_setup_dotclk_pins(8, false); |
297 | imx233_lcdif_set_word_length(8); | 297 | imx233_lcdif_set_word_length(8); |
298 | /** Datasheet states: | 298 | /** Datasheet states: |
299 | * 257H >= VBP >= 3H, VBP > VLW, VFP > 1H | 299 | * 257H >= VBP >= 3H, VBP > VLW, VFP >= 1H |
300 | * 1533clk >= HBP >= 24clk, HBP > HLW, HFP >= 4clk | 300 | * 1533clk >= HBP >= 24clk, HBP > HLW, HFP >= 4clk |
301 | * | 301 | * |
302 | * Take VLW=1H, VBP=3H, VFP=2H, HLW=8, HBP=24, HFP=4 | 302 | * Take VLW=1H, VBP=3H, VFP=1H, HLW=8, HBP=24, HFP=4 |
303 | * Take 3clk/pix because we send 24-bit/pix with 8-bit data bus | 303 | * Take 3clk/pix because we send 24-bit/pix with 8-bit data bus |
304 | * Keep consistent with register setting in lcd_init_seq | 304 | * Keep consistent with register setting in lcd_init_seq |
305 | */ | 305 | */ |