mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
clk: ux500: First version of clock definitions for ux500
In this first version of the clock definitions, the structure for ux500 are set. Support for u8500, u9540 and u8540 are prepared. Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Mike Turquette <[email protected]>
This commit is contained in:
parent
3b01f87be2
commit
bce5afd8d9
5 changed files with 85 additions and 0 deletions
|
|
@ -5,3 +5,8 @@
|
|||
# Clock types
|
||||
obj-y += clk-prcc.o
|
||||
obj-y += clk-prcmu.o
|
||||
|
||||
# Clock definitions
|
||||
obj-y += u8500_clk.o
|
||||
obj-y += u9540_clk.o
|
||||
obj-y += u8540_clk.o
|
||||
|
|
|
|||
21
drivers/clk/ux500/u8500_clk.c
Normal file
21
drivers/clk/ux500/u8500_clk.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Clock definitions for u8500 platform.
|
||||
*
|
||||
* Copyright (C) 2012 ST-Ericsson SA
|
||||
* Author: Ulf Hansson <ulf.hansson@linaro.org>
|
||||
*
|
||||
* License terms: GNU General Public License (GPL) version 2
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/clkdev.h>
|
||||
#include <linux/clk-provider.h>
|
||||
#include <linux/mfd/dbx500-prcmu.h>
|
||||
#include <linux/platform_data/clk-ux500.h>
|
||||
|
||||
#include "clk.h"
|
||||
|
||||
void u8500_clk_init(void)
|
||||
{
|
||||
/* register clocks here */
|
||||
}
|
||||
21
drivers/clk/ux500/u8540_clk.c
Normal file
21
drivers/clk/ux500/u8540_clk.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Clock definitions for u8540 platform.
|
||||
*
|
||||
* Copyright (C) 2012 ST-Ericsson SA
|
||||
* Author: Ulf Hansson <ulf.hansson@linaro.org>
|
||||
*
|
||||
* License terms: GNU General Public License (GPL) version 2
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/clkdev.h>
|
||||
#include <linux/clk-provider.h>
|
||||
#include <linux/mfd/dbx500-prcmu.h>
|
||||
#include <linux/platform_data/clk-ux500.h>
|
||||
|
||||
#include "clk.h"
|
||||
|
||||
void u8540_clk_init(void)
|
||||
{
|
||||
/* register clocks here */
|
||||
}
|
||||
21
drivers/clk/ux500/u9540_clk.c
Normal file
21
drivers/clk/ux500/u9540_clk.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Clock definitions for u9540 platform.
|
||||
*
|
||||
* Copyright (C) 2012 ST-Ericsson SA
|
||||
* Author: Ulf Hansson <ulf.hansson@linaro.org>
|
||||
*
|
||||
* License terms: GNU General Public License (GPL) version 2
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/clkdev.h>
|
||||
#include <linux/clk-provider.h>
|
||||
#include <linux/mfd/dbx500-prcmu.h>
|
||||
#include <linux/platform_data/clk-ux500.h>
|
||||
|
||||
#include "clk.h"
|
||||
|
||||
void u9540_clk_init(void)
|
||||
{
|
||||
/* register clocks here */
|
||||
}
|
||||
Loading…
Reference in a new issue