From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 14 Jun 2012 17:39:22 -0600 Subject: [U-Boot] [PATCH v2 09/19] tegra: Add SOC support for display/lcd In-Reply-To: <1339604395-6621-10-git-send-email-sjg@chromium.org> References: <1339604395-6621-1-git-send-email-sjg@chromium.org> <1339604395-6621-10-git-send-email-sjg@chromium.org> Message-ID: <4FDA762A.8080702@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/13/2012 10:19 AM, Simon Glass wrote: > From: Wei Ni > > 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.