/*
* These are fixed clocks. They're probably not all root clocks and it may
* be possible to turn them on and off but until this is mapped out better
-@@ -1048,6 +1070,36 @@ static int bcm2835_pll_set_rate(struct c
+@@ -1050,6 +1072,36 @@ static int bcm2835_pll_set_rate(struct c
return 0;
}
static const struct clk_ops bcm2835_pll_clk_ops = {
.is_prepared = bcm2835_pll_is_on,
.prepare = bcm2835_pll_on,
-@@ -1055,6 +1107,7 @@ static const struct clk_ops bcm2835_pll_
+@@ -1057,6 +1109,7 @@ static const struct clk_ops bcm2835_pll_
.recalc_rate = bcm2835_pll_get_rate,
.set_rate = bcm2835_pll_set_rate,
.round_rate = bcm2835_pll_round_rate,
};
struct bcm2835_pll_divider {
-@@ -1157,6 +1210,26 @@ static int bcm2835_pll_divider_set_rate(
+@@ -1159,6 +1212,26 @@ static int bcm2835_pll_divider_set_rate(
return 0;
}
static const struct clk_ops bcm2835_pll_divider_clk_ops = {
.is_prepared = bcm2835_pll_divider_is_on,
.prepare = bcm2835_pll_divider_on,
-@@ -1164,6 +1237,7 @@ static const struct clk_ops bcm2835_pll_
+@@ -1166,6 +1239,7 @@ static const struct clk_ops bcm2835_pll_
.recalc_rate = bcm2835_pll_divider_get_rate,
.set_rate = bcm2835_pll_divider_set_rate,
.round_rate = bcm2835_pll_divider_round_rate,
};
/*
-@@ -1405,6 +1479,31 @@ static u8 bcm2835_clock_get_parent(struc
+@@ -1407,6 +1481,31 @@ static u8 bcm2835_clock_get_parent(struc
return (src & CM_SRC_MASK) >> CM_SRC_SHIFT;
}
static const struct clk_ops bcm2835_clock_clk_ops = {
.is_prepared = bcm2835_clock_is_on,
.prepare = bcm2835_clock_on,
-@@ -1414,6 +1513,7 @@ static const struct clk_ops bcm2835_cloc
+@@ -1416,6 +1515,7 @@ static const struct clk_ops bcm2835_cloc
.determine_rate = bcm2835_clock_determine_rate,
.set_parent = bcm2835_clock_set_parent,
.get_parent = bcm2835_clock_get_parent,
};
static int bcm2835_vpu_clock_is_on(struct clk_hw *hw)
-@@ -1432,6 +1532,7 @@ static const struct clk_ops bcm2835_vpu_
+@@ -1434,6 +1534,7 @@ static const struct clk_ops bcm2835_vpu_
.determine_rate = bcm2835_clock_determine_rate,
.set_parent = bcm2835_clock_set_parent,
.get_parent = bcm2835_clock_get_parent,