clk.h (688d794c4c3f8b08c814381ee2edd3ede5856056) clk.h (5b82d03b74cadb681377e1c2494c477185bf6619)
1/*
2 * Clocks for ux500 platforms
3 *
4 * Copyright (C) 2012 ST-Ericsson SA
5 * Author: Ulf Hansson <ulf.hansson@linaro.org>
6 *
7 * License terms: GNU General Public License (GPL) version 2
8 */
9
10#ifndef __UX500_CLK_H
11#define __UX500_CLK_H
12
13#include <linux/clk.h>
1/*
2 * Clocks for ux500 platforms
3 *
4 * Copyright (C) 2012 ST-Ericsson SA
5 * Author: Ulf Hansson <ulf.hansson@linaro.org>
6 *
7 * License terms: GNU General Public License (GPL) version 2
8 */
9
10#ifndef __UX500_CLK_H
11#define __UX500_CLK_H
12
13#include <linux/clk.h>
14#include <linux/device.h>
14
15struct clk *clk_reg_prcc_pclk(const char *name,
16 const char *parent_name,
17 unsigned int phy_base,
18 u32 cg_sel,
19 unsigned long flags);
20
21struct clk *clk_reg_prcc_kclk(const char *name,

--- 30 unchanged lines hidden (view full) ---

52 unsigned long flags);
53
54struct clk *clk_reg_prcmu_opp_volt_scalable(const char *name,
55 const char *parent_name,
56 u8 cg_sel,
57 unsigned long rate,
58 unsigned long flags);
59
15
16struct clk *clk_reg_prcc_pclk(const char *name,
17 const char *parent_name,
18 unsigned int phy_base,
19 u32 cg_sel,
20 unsigned long flags);
21
22struct clk *clk_reg_prcc_kclk(const char *name,

--- 30 unchanged lines hidden (view full) ---

53 unsigned long flags);
54
55struct clk *clk_reg_prcmu_opp_volt_scalable(const char *name,
56 const char *parent_name,
57 u8 cg_sel,
58 unsigned long rate,
59 unsigned long flags);
60
61struct clk *clk_reg_sysctrl_gate(struct device *dev,
62 const char *name,
63 const char *parent_name,
64 u16 reg_sel,
65 u8 reg_mask,
66 u8 reg_bits,
67 unsigned long enable_delay_us,
68 unsigned long flags);
69
70struct clk *clk_reg_sysctrl_gate_fixed_rate(struct device *dev,
71 const char *name,
72 const char *parent_name,
73 u16 reg_sel,
74 u8 reg_mask,
75 u8 reg_bits,
76 unsigned long rate,
77 unsigned long enable_delay_us,
78 unsigned long flags);
79
80struct clk *clk_reg_sysctrl_set_parent(struct device *dev,
81 const char *name,
82 const char **parent_names,
83 u8 num_parents,
84 u16 *reg_sel,
85 u8 *reg_mask,
86 u8 *reg_bits,
87 unsigned long flags);
88
60#endif /* __UX500_CLK_H */
89#endif /* __UX500_CLK_H */