Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310379
b: refs/heads/master
c: 24db03a
h: refs/heads/master
i:
  310377: 35a0395
  310375: 6614196
v: v3
  • Loading branch information
Jingoo Han authored and Florian Tobias Schandinat committed May 29, 2012
1 parent 8cebce8 commit d77c4a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d10ecf86b31b732092dc9668a6088323c24ab09
refs/heads/master: 24db03a834089a3600780ea1c7abe08e483e5d29
2 changes: 2 additions & 0 deletions trunk/drivers/video/exynos/exynos_dp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ static int exynos_dp_init_dp(struct exynos_dp_device *dp)
{
exynos_dp_reset(dp);

exynos_dp_swreset(dp);

/* SW defined function Normal operation */
exynos_dp_enable_sw_function(dp);

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/video/exynos/exynos_dp_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ void exynos_dp_lane_swap(struct exynos_dp_device *dp, bool enable);
void exynos_dp_init_analog_param(struct exynos_dp_device *dp);
void exynos_dp_init_interrupt(struct exynos_dp_device *dp);
void exynos_dp_reset(struct exynos_dp_device *dp);
void exynos_dp_swreset(struct exynos_dp_device *dp);
void exynos_dp_config_interrupt(struct exynos_dp_device *dp);
u32 exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp);
void exynos_dp_set_pll_power_down(struct exynos_dp_device *dp, bool enable);
Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/video/exynos/exynos_dp_reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ void exynos_dp_reset(struct exynos_dp_device *dp)
{
u32 reg;

writel(RESET_DP_TX, dp->reg_base + EXYNOS_DP_TX_SW_RESET);

exynos_dp_stop_video(dp);
exynos_dp_enable_video_mute(dp, 0);

Expand Down Expand Up @@ -155,6 +153,11 @@ void exynos_dp_reset(struct exynos_dp_device *dp)
exynos_dp_init_interrupt(dp);
}

void exynos_dp_swreset(struct exynos_dp_device *dp)
{
writel(RESET_DP_TX, dp->reg_base + EXYNOS_DP_TX_SW_RESET);
}

void exynos_dp_config_interrupt(struct exynos_dp_device *dp)
{
u32 reg;
Expand Down

0 comments on commit d77c4a6

Please sign in to comment.