.. | .. |
---|
105 | 105 | static void lcd_power_on(u32 sel) |
---|
106 | 106 | { |
---|
107 | 107 | |
---|
108 | | - |
---|
109 | 108 | panel_reset(sel, 0); |
---|
110 | 109 | sunxi_lcd_power_enable(sel, 0); |
---|
111 | 110 | sunxi_lcd_pin_cfg(sel, 1); |
---|
112 | | - //sunxi_lcd_power_enable(sel, 1); |
---|
113 | | - sunxi_lcd_delay_ms(50); |
---|
| 111 | + sunxi_lcd_power_enable(sel, 1); |
---|
| 112 | + |
---|
| 113 | + sunxi_lcd_gpio_set_value(sel, 1, 1); |
---|
| 114 | + sunxi_lcd_delay_ms(200); |
---|
114 | 115 | panel_reset(sel, 1); |
---|
115 | 116 | sunxi_lcd_delay_ms(10); |
---|
116 | 117 | panel_reset(sel, 0); |
---|
.. | .. |
---|
123 | 124 | { |
---|
124 | 125 | panel_reset(sel, 0); |
---|
125 | 126 | sunxi_lcd_delay_ms(1); |
---|
| 127 | + // sunxi_lcd_gpio_set_value(sel, 1, 0); |
---|
126 | 128 | sunxi_lcd_power_disable(sel, 1); |
---|
127 | 129 | sunxi_lcd_delay_ms(1); |
---|
128 | 130 | sunxi_lcd_power_disable(sel, 0); |
---|