diff options
author | Hannes Petermaier <oe5hpm@oevsv.at> | 2015-02-03 12:22:23 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-06 01:13:16 (GMT) |
commit | 3b4e16eb530aa3eaa29535a7d511c105c0de963a (patch) | |
tree | 1e6145c729a8742b0162cb6c4a0c84b67500c5d9 /drivers/video/am335x-fb.h | |
parent | 5822f5ae7f4112b4969145d28842cde38c58a20b (diff) | |
download | u-boot-3b4e16eb530aa3eaa29535a7d511c105c0de963a.tar.xz |
drivers/video/am335x-fb: Add possibility to wait for stable power/picture
Often on boards exists a circuit which switches power on/off to LCD display.
Due to the need of limiting the in-rush current the output voltage from this
circuit rises "slowly", so it is necessary to wait a bit (VCC ramp up time)
before starting output on LCD-pins.
This time is specified in <n> ms within the panel-settings, called "pup_delay"
Further some LCDs need a couple of frames to stabilize the image on it.
We have now the possibility to wait some time after starting output on LCD.
This time is also specified in <n> ms within panel-settings, called "pon_delay"
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Diffstat (limited to 'drivers/video/am335x-fb.h')
-rw-r--r-- | drivers/video/am335x-fb.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/video/am335x-fb.h b/drivers/video/am335x-fb.h index 8a0b131..7f799d1 100644 --- a/drivers/video/am335x-fb.h +++ b/drivers/video/am335x-fb.h @@ -55,9 +55,14 @@ struct am335x_lcdpanel { unsigned int vsw; /* Vertical Sync Pulse Width */ unsigned int pxl_clk_div; /* Pixel clock divider*/ unsigned int pol; /* polarity of sync, clock signals */ + unsigned int pup_delay; /* + * time in ms after power on to + * initialization of lcd-controller + * (VCC ramp up time) + */ unsigned int pon_delay; /* - * time in ms for turning on lcd after - * initializing lcd-controller + * time in ms after initialization of + * lcd-controller (pic stabilization) */ void (*panel_power_ctrl)(int); /* fp for power on/off display */ }; |