Query abut 2410 LCD configuration
Ben Dooks
ben-linux at fluff.org
Tue Nov 23 19:34:07 EST 2010
On 08/03/10 14:24, 胡杨树 wrote:
> Hi all:)
>
> In arch/arm/mach-s3c2410/include/mach/fb.h, struct s3c2410fb_display defines lcd configurations,
> Can figure out where does these values following pixclock come from?
>
>
> /* LCD description */
> struct s3c2410fb_display {
> /* LCD type */
> unsigned type;
>
> /* Screen size */
> unsigned short width;
> unsigned short height;
>
> /* Screen info */
> unsigned short xres;
> unsigned short yres;
> unsigned short bpp;
>
> unsigned pixclock; /* pixclock in picoseconds */
> unsigned short left_margin; /* value in pixels (TFT) or HCLKs (STN) */
> unsigned short right_margin; /* value in pixels (TFT) or HCLKs (STN) */
> unsigned short hsync_len; /* value in pixels (TFT) or HCLKs (STN) */
> unsigned short upper_margin; /* value in lines (TFT) or 0 (STN) */
> unsigned short lower_margin; /* value in lines (TFT) or 0 (STN) */
> unsigned short vsync_len; /* value in lines (TFT) or 0 (STN)
these values are generally found from the panel's data sheet, detailing
the size of the borders and the length of the sync pulses. These relate
to the standard framebuffer parameters
More information about the linux-arm-kernel
mailing list