-
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.
- Loading branch information
Thara Gopinath
authored and
Paul Walmsley
committed
Feb 24, 2010
1 parent
2d15aab
commit ad5bdd8
Showing
5 changed files
with
192 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 5eb75f557843132da08938609def2774ee467d95 | ||
refs/heads/master: 358f0e630d5409ab3837b86db3595560eae773b6 |
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,44 @@ | ||
/* | ||
* omap_hwmod common data structures | ||
* | ||
* Copyright (C) 2010 Texas Instruments, Inc. | ||
* Thara Gopinath <thara@ti.com> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This data/structures are to be used while defining OMAP on-chip module | ||
* data and their integration with other OMAP modules and Linux. | ||
*/ | ||
|
||
#include <plat/omap_hwmod.h> | ||
|
||
/** | ||
* struct omap_hwmod_sysc_type1 - TYPE1 sysconfig scheme. | ||
* | ||
* To be used by hwmod structure to specify the sysconfig offsets | ||
* if the device ip is compliant with the original PRCM protocol | ||
* defined for OMAP2420. | ||
*/ | ||
struct omap_hwmod_sysc_fields omap_hwmod_sysc_type1 = { | ||
.midle_shift = SYSC_TYPE1_MIDLEMODE_SHIFT, | ||
.clkact_shift = SYSC_TYPE1_CLOCKACTIVITY_SHIFT, | ||
.sidle_shift = SYSC_TYPE1_SIDLEMODE_SHIFT, | ||
.enwkup_shift = SYSC_TYPE1_ENAWAKEUP_SHIFT, | ||
.srst_shift = SYSC_TYPE1_SOFTRESET_SHIFT, | ||
.autoidle_shift = SYSC_TYPE1_AUTOIDLE_SHIFT, | ||
}; | ||
|
||
/** | ||
* struct omap_hwmod_sysc_type2 - TYPE2 sysconfig scheme. | ||
* | ||
* To be used by hwmod structure to specify the sysconfig offsets if the | ||
* device ip is compliant with the new PRCM protocol defined for new | ||
* OMAP4 IPs. | ||
*/ | ||
struct omap_hwmod_sysc_fields omap_hwmod_sysc_type2 = { | ||
.midle_shift = SYSC_TYPE2_MIDLEMODE_SHIFT, | ||
.sidle_shift = SYSC_TYPE2_SIDLEMODE_SHIFT, | ||
.srst_shift = SYSC_TYPE2_SOFTRESET_SHIFT, | ||
}; |
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