[U-Boot] [PATCH v2 09/19] tegra: Add SOC support for display/lcd

Simon Glass
2012-07-11T05:12:14Z

On Wed, Jul 11, 2012 at 6:49 AM, Simon Glass <sjg@google.com> wrote:

> Hi Stephen,
>
>
> On Fri, Jun 15, 2012 at 1:39 AM, Stephen Warren <swarren@wwwdotorg.org>wrote:
>
>> On 06/13/2012 10:19 AM, Simon Glass wrote:
>> > From: Wei Ni <wni@nvidia.com>
>> >
>> > Add support for the LCD peripheral at the Tegra2 SOC level. A separate
>> > LCD driver will use this functionality to configure the display.
>>
>> > diff --git a/arch/arm/include/asm/arch-tegra2/display.h
>> b/arch/arm/include/asm/arch-tegra2/display.h
>>
>> > +/**
>> > + * Perform the next stage of the LCD init if it is time to do so.
>> > + *
>> > + * LCD init can be time-consuming because of the number of delays we
>> need
>> > + * while waiting for the backlight power supply, etc. This function can
>> > + * be called at various times during U-Boot operation to advance the
>> > + * initialization of the LCD to the next stage if sufficient time has
>> > + * passed since the last stage. It keeps track of what stage it is up
>> to
>> > + * and the time that it is permitted to move to the next stage.
>> > + *
>> > + * The final call should have wait=1 to complete the init.
>> > + *
>> > + * @param blob fdt blob containing LCD information
>> > + * @param wait 1 to wait until all init is complete, and then
>> return
>> > + * 0 to return immediately, potentially doing nothing if it
>> is
>> > + * not yet time for the next init.
>> > + */
>> > +int tegra_lcd_check_next_stage(const void *blob, int wait);
>>
>> The prototype in the header seems to be the only mention of this function.
>>
>
> In my copy of the patches it is defined in the driver
> (drivers/video/tegra.c). I will move it to the same patch.
>
> Regards,
> Simon
>
>