This commit is contained in:
@@ -61,6 +61,7 @@ struct clk {
|
||||
struct udevice *dev;
|
||||
long long rate; /* in HZ */
|
||||
u32 flags;
|
||||
int enable_count;
|
||||
/*
|
||||
* Written by of_xlate. In the future, we might add more fields here.
|
||||
*/
|
||||
|
||||
@@ -20,6 +20,7 @@ enum {
|
||||
SANDBOX_CLK_USDHC1_SEL,
|
||||
SANDBOX_CLK_USDHC2_SEL,
|
||||
SANDBOX_CLK_I2C,
|
||||
SANDBOX_CLK_I2C_ROOT,
|
||||
};
|
||||
|
||||
enum sandbox_pllv3_type {
|
||||
@@ -74,4 +75,6 @@ static inline struct clk *sandbox_clk_mux(const char *name, void __iomem *reg,
|
||||
width, 0);
|
||||
}
|
||||
|
||||
int sandbox_clk_enable_count(struct clk *clk);
|
||||
|
||||
#endif /* __SANDBOX_CLK_H__ */
|
||||
|
||||
Reference in New Issue
Block a user