Troy Kisky <[EMAIL PROTECTED]> writes: > Sudhakar Rajashekhara wrote: >> Source: Texas Instruments Inc. >> Type: Enhancement >> Signed-off-by: Sudhakar Rajashekhara <[EMAIL PROTECTED]> >> Description: >> Defines the base addresses and LPSC assignments for dm6467. >> --- >> include/asm-arm/arch-davinci/psc.h | 2 + >> include/asm-arm/arch-davinci/psc_dm6467.h | 67 >> +++++++++++++++++++++++++++++ >> 2 files changed, 69 insertions(+), 0 deletions(-) >> create mode 100644 include/asm-arm/arch-davinci/psc_dm6467.h >> >> diff --git a/include/asm-arm/arch-davinci/psc.h >> b/include/asm-arm/arch-davinci/psc.h >> index 4977aa0..c5cd395 100644 >> --- a/include/asm-arm/arch-davinci/psc.h >> +++ b/include/asm-arm/arch-davinci/psc.h >> @@ -27,6 +27,8 @@ >> #ifndef __ASM_ARCH_PSC_H >> #define __ASM_ARCH_PSC_H >> >> +#include <asm/arch/psc_dm6467.h> >> + >> /* Power and Sleep Controller (PSC) Domains */ >> #define DAVINCI_GPSC_ARMDOMAIN 0 >> #define DAVINCI_GPSC_DSPDOMAIN 1 >> diff --git a/include/asm-arm/arch-davinci/psc_dm6467.h >> b/include/asm-arm/arch-davinci/psc_dm6467.h >> new file mode 100644 >> index 0000000..14440e5 >> --- /dev/null >> +++ b/include/asm-arm/arch-davinci/psc_dm6467.h >> @@ -0,0 +1,67 @@ >> +/* >> + * DaVinci Power & Sleep Controller (PSC) defines for dm6467 >> + * >> + * Copyright (C) 2006 Texas Instruments. >> + * >> + * This program is free software; you can redistribute it and/or modify it >> + * under the terms of the GNU General Public License as published by the >> + * Free Software Foundation; either version 2 of the License, or (at your >> + * option) any later version. >> + * >> + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED >> + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF >> + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN >> + * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, >> + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT >> + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF >> + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON >> + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT >> + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF >> + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >> + * >> + * You should have received a copy of the GNU General Public License along >> + * with this program; if not, write to the Free Software Foundation, Inc., >> + * 675 Mass Ave, Cambridge, MA 02139, USA. >> + * >> + */ >> +#ifndef __ASM_ARCH_PSC_DM6467_H >> +#define __ASM_ARCH_PSC_DM6467_H >> + >> +/* >> + * LPSC Assignments >> + */ >> +#define DAVINCI_DM646X_LPSC_RESERVED 0 >> +#define DAVINCI_DM646X_LPSC_C64X_CPU 1 >> +#define DAVINCI_DM646X_LPSC_HDVICP0 2 >> +#define DAVINCI_DM646X_LPSC_HDVICP1 3 >> +#define DAVINCI_DM646X_LPSC_TPCC 4 >> +#define DAVINCI_DM646X_LPSC_TPTC0 5 >> +#define DAVINCI_DM646X_LPSC_TPTC1 6 >> +#define DAVINCI_DM646X_LPSC_TPTC2 7 >> +#define DAVINCI_DM646X_LPSC_TPTC3 8 >> +#define DAVINCI_DM646X_LPSC_PCI 13 >> +#define DAVINCI_DM646X_LPSC_EMAC 14 >> +#define DAVINCI_DM646X_LPSC_VDCE 15 >> +#define DAVINCI_DM646X_LPSC_VPSSMSTR 16 >> +#define DAVINCI_DM646X_LPSC_VPSSSLV 17 >> +#define DAVINCI_DM646X_LPSC_TSIF0 18 >> +#define DAVINCI_DM646X_LPSC_TSIF1 19 >> +#define DAVINCI_DM646X_LPSC_DDR_EMIF 20 >> +#define DAVINCI_DM646X_LPSC_AEMIF 21 >> +#define DAVINCI_DM646X_LPSC_McASP0 22 >> +#define DAVINCI_DM646X_LPSC_McASP1 23 >> +#define DAVINCI_DM646X_LPSC_CRGEN0 24 >> +#define DAVINCI_DM646X_LPSC_CRGEN1 25 >> +#define DAVINCI_DM646X_LPSC_UART0 26 >> +#define DAVINCI_DM646X_LPSC_UART1 27 >> +#define DAVINCI_DM646X_LPSC_UART2 28 >> +#define DAVINCI_DM646X_LPSC_PWM0 29 >> +#define DAVINCI_DM646X_LPSC_PWM1 30 >> +#define DAVINCI_DM646X_LPSC_I2C 31 >> +#define DAVINCI_DM646X_LPSC_SPI 32 >> +#define DAVINCI_DM646X_LPSC_GPIO 33 >> +#define DAVINCI_DM646X_LPSC_TIMER0 34 >> +#define DAVINCI_DM646X_LPSC_TIMER1 35 >> +#define DAVINCI_DM646X_LPSC_ARM_INTC 45 >> + >> +#endif /* __ASM_ARCH_PSC_DM6467_H */ > > patch 2/13 also contains this in > hardware_dm6467.h >
And I think they should stay in dm6467.h, instead of creatinga new psc_<cpu>.h for all the variants. Kevin _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
