diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-05-05 15:04:02 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:01 +0200 |
commit | 99aa7a82a4c70ce5c7815ff37ea16188107ade5d (patch) | |
tree | 997cfbe52f8feb9ae974a61214fd7a59d1e401cd /include | |
parent | 32dab36e9248b52b368f32512ef17c69ad1a4ffb (diff) |
video: mcde: Request dsi/dpi clocks only if needed
DSI clocks (HDMICLK, TVCLK) and regulator VANA
should only be requested if a channel uses DSI
as formatter.
DPI Clock (LCDCLK) is only requested if DPI is
used as formatter.
ST-Ericsson Linux next: -
ST-Ericsson ID: AP 329602
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I2e9a63ef58d3f11f7e2c47dbd86bf1fbbec3b71e
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18030
Reviewed-by: QATOOLS
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
Conflicts:
arch/arm/mach-ux500/devices-db5500.c
arch/arm/mach-ux500/devices-db8500.c
arch/arm/mach-ux500/include/mach/prcmu-fw-api.h
arch/arm/mach-ux500/prcmu-db5500.c
Diffstat (limited to 'include')
-rw-r--r-- | include/video/mcde.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h index 1777e272329..31c6443fcd2 100644 --- a/include/video/mcde.h +++ b/include/video/mcde.h @@ -170,6 +170,9 @@ struct mcde_port { u8 num_data_lanes; u8 ui; bool clk_cont; + struct clk *clk_dsi; + struct clk *clk_dsi_lp; + struct regulator *reg_vana; /* DSI data lanes are swapped if true */ bool data_lanes_swap; @@ -179,6 +182,7 @@ struct mcde_port { bool tv_mode; u16 clock_div; /* use 0 or 1 for no clock divider */ u32 polarity; /* see DPI_ACT_LOW_* definitions */ + struct clk *clk_dpi; } dpi; } phy; }; @@ -424,8 +428,9 @@ struct mcde_platform_data { const char *clock_dpi_id; const char *clock_mcde_id; - int (*platform_enable)(void); - int (*platform_disable)(void); + int (*platform_set_clocks)(void); + int (*platform_enable_dsipll)(void); + int (*platform_disable_dsipll)(void); }; int mcde_init(void); |