diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-08 13:02:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-08 13:02:59 -0400 |
commit | 537d84787659b355b3331813dc134c7497ddafa5 (patch) | |
tree | e43d376ed8522b09163ed1f7902e1fed25d2fe3b /arch/arm | |
parent | d71048e22f47725a5808ea2e4e1e72fa36c1a788 (diff) | |
parent | ece350d3949e9a60b39e4f9853be118e98d48fbc (diff) |
Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux
* 'for-linus' of git://gitorious.org/linux-omap-dss2/linux: (64 commits)
OMAP: DSS2: OMAPFB: add support for FBIO_WAITFORVSYNC
OMAP: DSS2: Replace strncmp() with sysfs_streq() in overlay_manager_store()
OMAP: DSS2: Fix error path in omap_dsi_update()
OMAP: DSS2: TDO35S: fix video signaling
OMAP: DSS2: OMAPFB: Fix invalid bpp for PAL and NTSC modes
OMAP: DSS2: OMAPFB: Fix probe error path
OMAP3EVM: Replace vdvi regulator supply with vdds_dsi
OMAP: DSS2: Remove extra return statement
OMAP: DSS2: adjust YUV overlay width to be even
OMAP: DSS2: OMAPFB: Fix sysfs mirror input check
OMAP: DSS2: OMAPFB: Remove redundant color register range check
OMAP: DSS2: OMAPFB: Remove redundant rotate range check
OMAP: DSS2: OMAPFB: Check fb2display() return value
OMAP: DSS2: Taal: Optimize enable_te, rotate, mirror when value unchanged
OMAP: DSS2: DSI: detect unsupported update requests
OMAP: DSS2: DSI: increase FIFO low threshold
OMAP: DSS2: DSI: Add error IRQ mask for DSI complexIO
OMAP: DSS2: DSI: Remove BTA after set_max_rx_packet_size
OMAP: DSS2: change manual update scaling setup
OMAP: DSS2: DSI: use BTA to end the frame transfer
...
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 7 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 9 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/nokia-dsi-panel.h | 31 |
3 files changed, 38 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 6494dbdfc391..f76d9c0a47a1 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -514,14 +514,11 @@ static struct regulator_init_data omap3_evm_vdac = { | |||
514 | }; | 514 | }; |
515 | 515 | ||
516 | /* VPLL2 for digital video outputs */ | 516 | /* VPLL2 for digital video outputs */ |
517 | static struct regulator_consumer_supply omap3_evm_vpll2_supply = { | 517 | static struct regulator_consumer_supply omap3_evm_vpll2_supply = |
518 | .supply = "vdvi", | 518 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"); |
519 | .dev = &omap3_evm_lcd_device.dev, | ||
520 | }; | ||
521 | 519 | ||
522 | static struct regulator_init_data omap3_evm_vpll2 = { | 520 | static struct regulator_init_data omap3_evm_vpll2 = { |
523 | .constraints = { | 521 | .constraints = { |
524 | .name = "VDVI", | ||
525 | .min_uV = 1800000, | 522 | .min_uV = 1800000, |
526 | .max_uV = 1800000, | 523 | .max_uV = 1800000, |
527 | .apply_uV = true, | 524 | .apply_uV = true, |
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index 1c529ce9dc11..8bd15bdb4132 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h | |||
@@ -238,7 +238,7 @@ int dsi_vc_dcs_write_1(int channel, u8 dcs_cmd, u8 param); | |||
238 | int dsi_vc_dcs_write_nosync(int channel, u8 *data, int len); | 238 | int dsi_vc_dcs_write_nosync(int channel, u8 *data, int len); |
239 | int dsi_vc_dcs_read(int channel, u8 dcs_cmd, u8 *buf, int buflen); | 239 | int dsi_vc_dcs_read(int channel, u8 dcs_cmd, u8 *buf, int buflen); |
240 | int dsi_vc_dcs_read_1(int channel, u8 dcs_cmd, u8 *data); | 240 | int dsi_vc_dcs_read_1(int channel, u8 dcs_cmd, u8 *data); |
241 | int dsi_vc_dcs_read_2(int channel, u8 dcs_cmd, u16 *data); | 241 | int dsi_vc_dcs_read_2(int channel, u8 dcs_cmd, u8 *data1, u8 *data2); |
242 | int dsi_vc_set_max_rx_packet_size(int channel, u16 len); | 242 | int dsi_vc_set_max_rx_packet_size(int channel, u16 len); |
243 | int dsi_vc_send_null(int channel); | 243 | int dsi_vc_send_null(int channel); |
244 | int dsi_vc_send_bta_sync(int channel); | 244 | int dsi_vc_send_bta_sync(int channel); |
@@ -277,8 +277,8 @@ struct omap_video_timings { | |||
277 | * identify the mode, and does not actually use the configs | 277 | * identify the mode, and does not actually use the configs |
278 | * itself. However, the configs should be something that | 278 | * itself. However, the configs should be something that |
279 | * a normal monitor can also show */ | 279 | * a normal monitor can also show */ |
280 | const extern struct omap_video_timings omap_dss_pal_timings; | 280 | extern const struct omap_video_timings omap_dss_pal_timings; |
281 | const extern struct omap_video_timings omap_dss_ntsc_timings; | 281 | extern const struct omap_video_timings omap_dss_ntsc_timings; |
282 | #endif | 282 | #endif |
283 | 283 | ||
284 | struct omap_overlay_info { | 284 | struct omap_overlay_info { |
@@ -560,7 +560,8 @@ void omapdss_dsi_vc_enable_hs(int channel, bool enable); | |||
560 | int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); | 560 | int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); |
561 | 561 | ||
562 | int omap_dsi_prepare_update(struct omap_dss_device *dssdev, | 562 | int omap_dsi_prepare_update(struct omap_dss_device *dssdev, |
563 | u16 *x, u16 *y, u16 *w, u16 *h); | 563 | u16 *x, u16 *y, u16 *w, u16 *h, |
564 | bool enlarge_update_area); | ||
564 | int omap_dsi_update(struct omap_dss_device *dssdev, | 565 | int omap_dsi_update(struct omap_dss_device *dssdev, |
565 | int channel, | 566 | int channel, |
566 | u16 x, u16 y, u16 w, u16 h, | 567 | u16 x, u16 y, u16 w, u16 h, |
diff --git a/arch/arm/plat-omap/include/plat/nokia-dsi-panel.h b/arch/arm/plat-omap/include/plat/nokia-dsi-panel.h new file mode 100644 index 000000000000..01ab6572ccbb --- /dev/null +++ b/arch/arm/plat-omap/include/plat/nokia-dsi-panel.h | |||
@@ -0,0 +1,31 @@ | |||
1 | #ifndef __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H | ||
2 | #define __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H | ||
3 | |||
4 | #include "display.h" | ||
5 | |||
6 | /** | ||
7 | * struct nokia_dsi_panel_data - Nokia DSI panel driver configuration | ||
8 | * @name: panel name | ||
9 | * @use_ext_te: use external TE | ||
10 | * @ext_te_gpio: external TE GPIO | ||
11 | * @use_esd_check: perform ESD checks | ||
12 | * @max_backlight_level: maximum backlight level | ||
13 | * @set_backlight: pointer to backlight set function | ||
14 | * @get_backlight: pointer to backlight get function | ||
15 | */ | ||
16 | struct nokia_dsi_panel_data { | ||
17 | const char *name; | ||
18 | |||
19 | int reset_gpio; | ||
20 | |||
21 | bool use_ext_te; | ||
22 | int ext_te_gpio; | ||
23 | |||
24 | bool use_esd_check; | ||
25 | |||
26 | int max_backlight_level; | ||
27 | int (*set_backlight)(struct omap_dss_device *dssdev, int level); | ||
28 | int (*get_backlight)(struct omap_dss_device *dssdev); | ||
29 | }; | ||
30 | |||
31 | #endif /* __ARCH_ARM_PLAT_OMAP_NOKIA_DSI_PANEL_H */ | ||