summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/pmc.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-02 15:50:53 +0300
committerStephen Boyd <sboyd@kernel.org>2019-04-25 22:34:05 +0300
commite5be537064dd36129a724c65820e5fc2daebd5f4 (patch)
tree83eaafa42ecac28853e44bb3adfa875786003097 /drivers/clk/at91/pmc.h
parent2423eeaead6f83f289c85394313e693cdefb728c (diff)
downloadlinux-e5be537064dd36129a724c65820e5fc2daebd5f4.tar.xz
clk: at91: master: Add sam9x60 support
The sam9x60 cpu clock is located at a different offset but is otherwise similar to the master clock. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/pmc.h')
-rw-r--r--drivers/clk/at91/pmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h
index 44345e4ab1c9..4a30c20f17f1 100644
--- a/drivers/clk/at91/pmc.h
+++ b/drivers/clk/at91/pmc.h
@@ -38,6 +38,7 @@ struct clk_range {
#define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,}
struct clk_master_layout {
+ u32 offset;
u32 mask;
u8 pres_shift;
};