-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: OMAP2+: clockdomains: make {prm,cm}_clkdm common
The PRM and CM implicit clockdomains will soon be used by OMAP44xx. So, make them common to OMAP2+ and modify the OMAP4 clockdomains code so use of these clockdomains doesn't crash the system. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Rajendra Nayak <rnayak@ti.com>
- Loading branch information
Paul Walmsley
committed
Apr 19, 2012
1 parent
3af35fb
commit 6ba5a69
Showing
5 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* OMAP2+-common clockdomain data | ||
* | ||
* Copyright (C) 2008-2012 Texas Instruments, Inc. | ||
* Copyright (C) 2008-2010 Nokia Corporation | ||
* | ||
* Paul Walmsley, Jouni Högander | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/io.h> | ||
|
||
#include "clockdomain.h" | ||
|
||
/* These are implicit clockdomains - they are never defined as such in TRM */ | ||
struct clockdomain prm_common_clkdm = { | ||
.name = "prm_clkdm", | ||
.pwrdm = { .name = "wkup_pwrdm" }, | ||
}; | ||
|
||
struct clockdomain cm_common_clkdm = { | ||
.name = "cm_clkdm", | ||
.pwrdm = { .name = "core_pwrdm" }, | ||
}; |