sansa clip+: properly reset display using the reset pin
Change-Id: Ic4bb85cfca4e21d908e187381b868d3f7ef18f88
This commit is contained in:
parent
be10817e1c
commit
bb6ac6fcba
1 changed files with 3 additions and 1 deletions
|
@ -41,8 +41,10 @@ int lcd_hw_init(void)
|
|||
/* configure GPIO B3 (display type detect) as input */
|
||||
GPIOB_DIR &= ~(1<<3);
|
||||
|
||||
/* set GPIO A5 (display RESET# ?) */
|
||||
/* reset display using GPIO A5 (display RESET#) */
|
||||
GPIOA_DIR |= (1<<5);
|
||||
GPIOA_PIN(5) = 0;
|
||||
udelay(1000);
|
||||
GPIOA_PIN(5) = (1<<5);
|
||||
|
||||
/* detect display type on GPIO B3 */
|
||||
|
|
Loading…
Reference in a new issue