diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/video/mcde_display-nastec-dpi.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/video/mcde_display-nastec-dpi.h b/include/video/mcde_display-nastec-dpi.h new file mode 100644 index 00000000000..308eb35c2e1 --- /dev/null +++ b/include/video/mcde_display-nastec-dpi.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) ST-Ericsson SA 2010 + * + * ST-Ericsson MCDE DPI display driver + * + * Author: Torbjorn Svensson <torbjorn.x.svensson@stericsson.com> + * for ST-Ericsson. + * + * License terms: GNU General Public License (GPL), version 2. + */ + +#ifndef __MCDE_DISPLAY_DPI__H__ +#define __MCDE_DISPLAY_DPI__H__ + +#include <linux/regulator/consumer.h> + +#include "mcde_display.h" + +#define NASTECH_DISP_NUM_SUPPLIES 4 + +struct mcde_display_dpi_platform_data { + /* Platform info */ + int reset_gpio; + bool reset_high; + const char *regulator_id; + int reset_delay; + + /* Driver data */ + struct regulator *regulator; + int max_supply_voltage; + int min_supply_voltage; + struct regulator_bulk_data supplies[NASTECH_DISP_NUM_SUPPLIES]; +}; +#endif /* __MCDE_DISPLAY_DPI__H__ */ |