diff options
| -rw-r--r-- | drivers/clk/ux500/Makefile | 5 | ||||
| -rw-r--r-- | drivers/clk/ux500/u8500_clk.c | 21 | ||||
| -rw-r--r-- | drivers/clk/ux500/u8540_clk.c | 21 | ||||
| -rw-r--r-- | drivers/clk/ux500/u9540_clk.c | 21 | ||||
| -rw-r--r-- | include/linux/platform_data/clk-ux500.h | 17 |
5 files changed, 85 insertions, 0 deletions
diff --git a/drivers/clk/ux500/Makefile b/drivers/clk/ux500/Makefile index a3ccd1b4cfcd..858fbfe66281 100644 --- a/drivers/clk/ux500/Makefile +++ b/drivers/clk/ux500/Makefile | |||
| @@ -5,3 +5,8 @@ | |||
| 5 | # Clock types | 5 | # Clock types |
| 6 | obj-y += clk-prcc.o | 6 | obj-y += clk-prcc.o |
| 7 | obj-y += clk-prcmu.o | 7 | obj-y += clk-prcmu.o |
| 8 | |||
| 9 | # Clock definitions | ||
| 10 | obj-y += u8500_clk.o | ||
| 11 | obj-y += u9540_clk.o | ||
| 12 | obj-y += u8540_clk.o | ||
diff --git a/drivers/clk/ux500/u8500_clk.c b/drivers/clk/ux500/u8500_clk.c new file mode 100644 index 000000000000..2bc4901599ed --- /dev/null +++ b/drivers/clk/ux500/u8500_clk.c | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * Clock definitions for u8500 platform. | ||
| 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 | #include <linux/clk.h> | ||
| 11 | #include <linux/clkdev.h> | ||
| 12 | #include <linux/clk-provider.h> | ||
| 13 | #include <linux/mfd/dbx500-prcmu.h> | ||
| 14 | #include <linux/platform_data/clk-ux500.h> | ||
| 15 | |||
| 16 | #include "clk.h" | ||
| 17 | |||
| 18 | void u8500_clk_init(void) | ||
| 19 | { | ||
| 20 | /* register clocks here */ | ||
| 21 | } | ||
diff --git a/drivers/clk/ux500/u8540_clk.c b/drivers/clk/ux500/u8540_clk.c new file mode 100644 index 000000000000..10adfd2ead21 --- /dev/null +++ b/drivers/clk/ux500/u8540_clk.c | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * Clock definitions for u8540 platform. | ||
| 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 | #include <linux/clk.h> | ||
| 11 | #include <linux/clkdev.h> | ||
| 12 | #include <linux/clk-provider.h> | ||
| 13 | #include <linux/mfd/dbx500-prcmu.h> | ||
| 14 | #include <linux/platform_data/clk-ux500.h> | ||
| 15 | |||
| 16 | #include "clk.h" | ||
| 17 | |||
| 18 | void u8540_clk_init(void) | ||
| 19 | { | ||
| 20 | /* register clocks here */ | ||
| 21 | } | ||
diff --git a/drivers/clk/ux500/u9540_clk.c b/drivers/clk/ux500/u9540_clk.c new file mode 100644 index 000000000000..dbc0191e16c8 --- /dev/null +++ b/drivers/clk/ux500/u9540_clk.c | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | * Clock definitions for u9540 platform. | ||
| 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 | #include <linux/clk.h> | ||
| 11 | #include <linux/clkdev.h> | ||
| 12 | #include <linux/clk-provider.h> | ||
| 13 | #include <linux/mfd/dbx500-prcmu.h> | ||
| 14 | #include <linux/platform_data/clk-ux500.h> | ||
| 15 | |||
| 16 | #include "clk.h" | ||
| 17 | |||
| 18 | void u9540_clk_init(void) | ||
| 19 | { | ||
| 20 | /* register clocks here */ | ||
| 21 | } | ||
diff --git a/include/linux/platform_data/clk-ux500.h b/include/linux/platform_data/clk-ux500.h new file mode 100644 index 000000000000..3af0da1f3be5 --- /dev/null +++ b/include/linux/platform_data/clk-ux500.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | * Clock definitions 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 __CLK_UX500_H | ||
| 11 | #define __CLK_UX500_H | ||
| 12 | |||
| 13 | void u8500_clk_init(void); | ||
| 14 | void u9540_clk_init(void); | ||
| 15 | void u8540_clk_init(void); | ||
| 16 | |||
| 17 | #endif /* __CLK_UX500_H */ | ||
