Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324292
b: refs/heads/master
c: bce5afd
h: refs/heads/master
v: v3
  • Loading branch information
Ulf Hansson authored and Mike Turquette committed Sep 6, 2012
1 parent 7b03848 commit fac2ee0
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b01f87be21ce6b45ff4bd7b9d044aa9233bcc38
refs/heads/master: bce5afd8d960e78892669b68751547015646d5e4
5 changes: 5 additions & 0 deletions trunk/drivers/clk/ux500/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 21 additions & 0 deletions trunk/drivers/clk/ux500/u8500_clk.c
Original file line number Diff line number Diff line change
@@ -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 changes: 21 additions & 0 deletions trunk/drivers/clk/ux500/u8540_clk.c
Original file line number Diff line number Diff line change
@@ -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 changes: 21 additions & 0 deletions trunk/drivers/clk/ux500/u9540_clk.c
Original file line number Diff line number Diff line change
@@ -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 */
}
17 changes: 17 additions & 0 deletions trunk/include/linux/platform_data/clk-ux500.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Clock definitions for ux500 platforms
*
* Copyright (C) 2012 ST-Ericsson SA
* Author: Ulf Hansson <ulf.hansson@linaro.org>
*
* License terms: GNU General Public License (GPL) version 2
*/

#ifndef __CLK_UX500_H
#define __CLK_UX500_H

void u8500_clk_init(void);
void u9540_clk_init(void);
void u8540_clk_init(void);

#endif /* __CLK_UX500_H */

0 comments on commit fac2ee0

Please sign in to comment.