/* 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 #include 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); }