diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-18 12:20:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-18 12:20:37 -0400 |
commit | 6f128fa344833bf8bf076a51d14401661c146470 (patch) | |
tree | 70049d2b394e86c3c3d06961c155cae45ce47ca7 /arch/arm/mach-davinci/include/mach/psc.h | |
parent | 73c583e4e2dd0fbbf2fafe0cc57ff75314fe72df (diff) | |
parent | 85609c1ccda64af7d7c277469183f20e4f3b69c3 (diff) |
Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci
* 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci: (62 commits)
DaVinci: DM646x - platform changes for vpif capture and display drivers
davinci: DM355 - platform changes for vpfe capture
davinci: DM644x platform changes for vpfe capture
davinci: audio: move tlv320aic33 i2c setup into board files
DaVinci: EDMA: Adding 2 new APIs for allocating/freeing PARAMs
DaVinci: DM365: Adding entries for DM365 IRQ's
DaVinci: DM355: Adding PINMUX entries for DM355 Display
davinci: Handle pinmux conflict between mmc/sd and nor flash
davinci: Add NOR flash support for da850/omap-l138
davinci: Add NAND flash support for DA850/OMAP-L138
davinci: Add MMC/SD support for da850/omap-l138
davinci: Add platform support for da850/omap-l138 GLCD
davinci: Macro to convert GPIO signal to GPIO pin number
davinci: Audio support for DA850/OMAP-L138 EVM
davinci: Audio support for DA830 EVM
davinci: Correct the number of GPIO pins for da850/omap-l138
davinci: Configure MDIO pins for EMAC
DaVinci: DM365: Add Support for new Revision of silicon
DaVinci: DM365: Fix Compilation issue due to PINMUX entry
DaVinci: EDMA: Updating default queue handling
...
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/psc.h')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/psc.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/psc.h b/arch/arm/mach-davinci/include/mach/psc.h index ab8a2586d1cc..171173c1dbad 100644 --- a/arch/arm/mach-davinci/include/mach/psc.h +++ b/arch/arm/mach-davinci/include/mach/psc.h | |||
@@ -81,6 +81,24 @@ | |||
81 | #define DM355_LPSC_RTO 12 | 81 | #define DM355_LPSC_RTO 12 |
82 | #define DM355_LPSC_VPSS_DAC 41 | 82 | #define DM355_LPSC_VPSS_DAC 41 |
83 | 83 | ||
84 | /* DM365 */ | ||
85 | #define DM365_LPSC_TIMER3 5 | ||
86 | #define DM365_LPSC_SPI1 6 | ||
87 | #define DM365_LPSC_MMC_SD1 7 | ||
88 | #define DM365_LPSC_McBSP1 8 | ||
89 | #define DM365_LPSC_PWM3 10 | ||
90 | #define DM365_LPSC_SPI2 11 | ||
91 | #define DM365_LPSC_RTO 12 | ||
92 | #define DM365_LPSC_TIMER4 17 | ||
93 | #define DM365_LPSC_SPI0 22 | ||
94 | #define DM365_LPSC_SPI3 38 | ||
95 | #define DM365_LPSC_SPI4 39 | ||
96 | #define DM365_LPSC_EMAC 40 | ||
97 | #define DM365_LPSC_VOICE_CODEC 44 | ||
98 | #define DM365_LPSC_DAC_CLK 46 | ||
99 | #define DM365_LPSC_VPSSMSTR 47 | ||
100 | #define DM365_LPSC_MJCP 50 | ||
101 | |||
84 | /* | 102 | /* |
85 | * LPSC Assignments | 103 | * LPSC Assignments |
86 | */ | 104 | */ |
@@ -118,6 +136,50 @@ | |||
118 | #define DM646X_LPSC_TIMER1 35 | 136 | #define DM646X_LPSC_TIMER1 35 |
119 | #define DM646X_LPSC_ARM_INTC 45 | 137 | #define DM646X_LPSC_ARM_INTC 45 |
120 | 138 | ||
139 | /* PSC0 defines */ | ||
140 | #define DA8XX_LPSC0_TPCC 0 | ||
141 | #define DA8XX_LPSC0_TPTC0 1 | ||
142 | #define DA8XX_LPSC0_TPTC1 2 | ||
143 | #define DA8XX_LPSC0_EMIF25 3 | ||
144 | #define DA8XX_LPSC0_SPI0 4 | ||
145 | #define DA8XX_LPSC0_MMC_SD 5 | ||
146 | #define DA8XX_LPSC0_AINTC 6 | ||
147 | #define DA8XX_LPSC0_ARM_RAM_ROM 7 | ||
148 | #define DA8XX_LPSC0_SECU_MGR 8 | ||
149 | #define DA8XX_LPSC0_UART0 9 | ||
150 | #define DA8XX_LPSC0_SCR0_SS 10 | ||
151 | #define DA8XX_LPSC0_SCR1_SS 11 | ||
152 | #define DA8XX_LPSC0_SCR2_SS 12 | ||
153 | #define DA8XX_LPSC0_DMAX 13 | ||
154 | #define DA8XX_LPSC0_ARM 14 | ||
155 | #define DA8XX_LPSC0_GEM 15 | ||
156 | |||
157 | /* PSC1 defines */ | ||
158 | #define DA850_LPSC1_TPCC1 0 | ||
159 | #define DA8XX_LPSC1_USB20 1 | ||
160 | #define DA8XX_LPSC1_USB11 2 | ||
161 | #define DA8XX_LPSC1_GPIO 3 | ||
162 | #define DA8XX_LPSC1_UHPI 4 | ||
163 | #define DA8XX_LPSC1_CPGMAC 5 | ||
164 | #define DA8XX_LPSC1_EMIF3C 6 | ||
165 | #define DA8XX_LPSC1_McASP0 7 | ||
166 | #define DA830_LPSC1_McASP1 8 | ||
167 | #define DA850_LPSC1_SATA 8 | ||
168 | #define DA830_LPSC1_McASP2 9 | ||
169 | #define DA8XX_LPSC1_SPI1 10 | ||
170 | #define DA8XX_LPSC1_I2C 11 | ||
171 | #define DA8XX_LPSC1_UART1 12 | ||
172 | #define DA8XX_LPSC1_UART2 13 | ||
173 | #define DA8XX_LPSC1_LCDC 16 | ||
174 | #define DA8XX_LPSC1_PWM 17 | ||
175 | #define DA8XX_LPSC1_ECAP 20 | ||
176 | #define DA830_LPSC1_EQEP 21 | ||
177 | #define DA850_LPSC1_TPTC2 21 | ||
178 | #define DA8XX_LPSC1_SCR_P0_SS 24 | ||
179 | #define DA8XX_LPSC1_SCR_P1_SS 25 | ||
180 | #define DA8XX_LPSC1_CR_P3_SS 26 | ||
181 | #define DA8XX_LPSC1_L3_CBA_RAM 31 | ||
182 | |||
121 | extern int davinci_psc_is_clk_active(unsigned int ctlr, unsigned int id); | 183 | extern int davinci_psc_is_clk_active(unsigned int ctlr, unsigned int id); |
122 | extern void davinci_psc_config(unsigned int domain, unsigned int ctlr, | 184 | extern void davinci_psc_config(unsigned int domain, unsigned int ctlr, |
123 | unsigned int id, char enable); | 185 | unsigned int id, char enable); |