blob: 92821be535357b4f080dd1685484012c01efd92e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* linux/arch/arm/mach-exynos/setup-dp.c
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Base Samsung Exynos DP configuration
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/io.h>
#include <mach/regs-clock.h>
void s5p_dp_phy_init(void)
{
u32 reg;
reg = __raw_readl(S5P_DPTX_PHY_CONTROL);
reg |= S5P_DPTX_PHY_ENABLE;
__raw_writel(reg, S5P_DPTX_PHY_CONTROL);
}
void s5p_dp_phy_exit(void)
{
u32 reg;
reg = __raw_readl(S5P_DPTX_PHY_CONTROL);
reg &= ~S5P_DPTX_PHY_ENABLE;
__raw_writel(reg, S5P_DPTX_PHY_CONTROL);
}
|