};
The imx_spdc_fb_mode structure consists of an fb_videomode structure and a set of EPD
timing parameters. The fb_videomode structure defines the panel resolution and the basic
timing parameters (pixel clock frequency, hsync and vsync margins) and the additional
timing parameters in imx_spdc_fb_mode define EPD-specific timing parameters, such as
the source and gate driver timings. Please refer to the SPDC programming model section
within the i.MX 6SoloLite Applications Processor Reference Manual for details on how
Sipix panel timing parameters should be configured.
This SPDC panel mode is part of the mxc_spdc_fb_platform_data structure that is passed
to the SPDC driver during driver registration.
struct imx_spdc_fb_platform_data {
struct imx_spdc_fb_mode *spdc_mode;
int num_modes;
int (*get_pins) (void);
void (*put_pins) (void);
void (*enable_pins) (void);
void (*disable_pins) (void);
};
In addition to the SPDC panel mode data, functions may be passed to the SPDC driver to
define how to handle the SPDC pins when the SPDC driver is enabled or disabled. These
functions should disable the SPDC pins for purposes of power savings.
6.3.3.1 Boot Command Line Parameters
Additional configuration for the SPDC driver is provided through boot command line
parameters. The format of the command line option is as follows:
spdc video=mxcspdcfb:[panel_name],bpp=16
The SPDC driver parses these options and tries to match panel_name to the name of
video mode specified in the mxc_spdc_fb_mode panel mode structure. If no match is
found, then the first panel mode provided in the platform data is used by the SPDC
driver. The bpp setting from this command line sets the initial bits per pixel setting for
the frame buffer. A setting of 16 selects RGB565 pixel format, while a setting of 4 selects
4-bit grayscale (Y4) format.
6.3.4 SPDC Waveform Loading
The SPDC driver requires a waveform file for proper operation. This waveform file
contains the waveform information needed to generate the waveforms that drive updates
to the Sipix panel. A pointer to the waveform file data is programmed into the SPDC
before the first update is performed.
Software Operation
i.MX 6SoloLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013
60
Freescale Semiconductor, Inc.