CYGPKG_DEVS_FRAMEBUF_ARM_IMX — eCos Support for the i.MXxx framebuffer


CYGPKG_DEVS_FRAMEBUF_ARM_IMX provides an eCos framebuffer device driver for the LCD panel on the i.MXxx family of processors. The driver is a hardware package and is loaded automatically when configuring eCos for an i.MXxx target. By default it is inactive and does not add any code size or data overheads. To activate the driver the generic framebuffer package CYGPKG_IO_FRAMEBUF should be added to the configuration. The driver's functionality is only accessible via the API defined by the generic package.

The driver supports a single framebuffer device, driving the LCD panel in 565 true colour mode with a resolution of 640x480 pixels at 16bpp. The cyg_fb structure for this is cyg_imx_fb_640x480x16, and the identifier for use with the framebuffer macro API is 640x480x16. The ioctl operations supported are CYG_FB_IOCTL_BLANK_GET, CYG_FB_IOCTL_BLANK_SET, CYG_FB_IOCTL_BACKLIGHT_GET and CYG_FB_IOCTL_BACKLIGHT_SET. The backlight supports 256 levels of intensity.

The driver must be configured for the LCD panel attached using the CYGPKG_DEVS_FRAMEBUF_ARM_IMX_LCD option. Normally this would be set by the platform HAL package using a requires statement. At present only one panel type is supported: the Chunghwa CLAA057VA01CT.