|
@@ -161,3 +161,46 @@ static int s5pv210_clk_ip2_ctrl(struct clk *clk, int enable)
|
|
|
}
|
|
|
|
|
|
static int s5pv210_clk_ip3_ctrl(struct clk *clk, int enable)
|
|
|
+{
|
|
|
+ return s5p_gatectrl(S5P_CLKGATE_IP3, clk, enable);
|
|
|
+}
|
|
|
+
|
|
|
+static int s5pv210_clk_mask0_ctrl(struct clk *clk, int enable)
|
|
|
+{
|
|
|
+ return s5p_gatectrl(S5P_CLK_SRC_MASK0, clk, enable);
|
|
|
+}
|
|
|
+
|
|
|
+static int s5pv210_clk_mask1_ctrl(struct clk *clk, int enable)
|
|
|
+{
|
|
|
+ return s5p_gatectrl(S5P_CLK_SRC_MASK1, clk, enable);
|
|
|
+}
|
|
|
+
|
|
|
+static int s5pv210_clk_hdmiphy_ctrl(struct clk *clk, int enable)
|
|
|
+{
|
|
|
+ return s5p_gatectrl(S5P_HDMI_PHY_CONTROL, clk, enable);
|
|
|
+}
|
|
|
+
|
|
|
+static int exynos4_clk_dac_ctrl(struct clk *clk, int enable)
|
|
|
+{
|
|
|
+ return s5p_gatectrl(S5P_DAC_PHY_CONTROL, clk, enable);
|
|
|
+}
|
|
|
+
|
|
|
+static struct clk clk_sclk_hdmi27m = {
|
|
|
+ .name = "sclk_hdmi27m",
|
|
|
+ .rate = 27000000,
|
|
|
+};
|
|
|
+
|
|
|
+static struct clk clk_sclk_hdmiphy = {
|
|
|
+ .name = "sclk_hdmiphy",
|
|
|
+};
|
|
|
+
|
|
|
+static struct clk clk_sclk_usbphy0 = {
|
|
|
+ .name = "sclk_usbphy0",
|
|
|
+};
|
|
|
+
|
|
|
+static struct clk clk_sclk_usbphy1 = {
|
|
|
+ .name = "sclk_usbphy1",
|
|
|
+};
|
|
|
+
|
|
|
+static struct clk clk_pcmcdclk0 = {
|
|
|
+ .name = "pcmcdclk",
|