mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 01:08:50 +00:00
omap2: Convert ARCH_OMAP24XX to ARCH_OMAP2
Convert ARCH_OMAP24XX to ARCH_OMAP2 Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
d10f2b6e74
commit
088ef950dc
@ -1,19 +1,15 @@
|
|||||||
comment "OMAP Core Type"
|
comment "OMAP Core Type"
|
||||||
depends on ARCH_OMAP2
|
depends on ARCH_OMAP2
|
||||||
|
|
||||||
config ARCH_OMAP24XX
|
|
||||||
bool "OMAP24xx Based System"
|
|
||||||
depends on ARCH_OMAP2
|
|
||||||
|
|
||||||
config ARCH_OMAP2420
|
config ARCH_OMAP2420
|
||||||
bool "OMAP2420 support"
|
bool "OMAP2420 support"
|
||||||
depends on ARCH_OMAP24XX
|
depends on ARCH_OMAP2
|
||||||
select OMAP_DM_TIMER
|
select OMAP_DM_TIMER
|
||||||
select ARCH_OMAP_OTG
|
select ARCH_OMAP_OTG
|
||||||
|
|
||||||
config ARCH_OMAP2430
|
config ARCH_OMAP2430
|
||||||
bool "OMAP2430 support"
|
bool "OMAP2430 support"
|
||||||
depends on ARCH_OMAP24XX
|
depends on ARCH_OMAP2
|
||||||
|
|
||||||
config ARCH_OMAP34XX
|
config ARCH_OMAP34XX
|
||||||
bool "OMAP34xx Based System"
|
bool "OMAP34xx Based System"
|
||||||
@ -42,7 +38,7 @@ comment "OMAP Board Type"
|
|||||||
|
|
||||||
config MACH_OMAP_GENERIC
|
config MACH_OMAP_GENERIC
|
||||||
bool "Generic OMAP board"
|
bool "Generic OMAP board"
|
||||||
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|
depends on ARCH_OMAP2
|
||||||
|
|
||||||
config MACH_OMAP2_TUSB6010
|
config MACH_OMAP2_TUSB6010
|
||||||
bool
|
bool
|
||||||
@ -51,16 +47,16 @@ config MACH_OMAP2_TUSB6010
|
|||||||
|
|
||||||
config MACH_OMAP_H4
|
config MACH_OMAP_H4
|
||||||
bool "OMAP 2420 H4 board"
|
bool "OMAP 2420 H4 board"
|
||||||
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|
depends on ARCH_OMAP2
|
||||||
select OMAP_DEBUG_DEVICES
|
select OMAP_DEBUG_DEVICES
|
||||||
|
|
||||||
config MACH_OMAP_APOLLON
|
config MACH_OMAP_APOLLON
|
||||||
bool "OMAP 2420 Apollon board"
|
bool "OMAP 2420 Apollon board"
|
||||||
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|
depends on ARCH_OMAP2
|
||||||
|
|
||||||
config MACH_OMAP_2430SDP
|
config MACH_OMAP_2430SDP
|
||||||
bool "OMAP 2430 SDP board"
|
bool "OMAP 2430 SDP board"
|
||||||
depends on ARCH_OMAP2 && ARCH_OMAP24XX
|
depends on ARCH_OMAP2
|
||||||
|
|
||||||
config MACH_OMAP3_BEAGLE
|
config MACH_OMAP3_BEAGLE
|
||||||
bool "OMAP3 BEAGLE board"
|
bool "OMAP3 BEAGLE board"
|
||||||
|
@ -48,7 +48,7 @@ obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
|
|||||||
# Power Management
|
# Power Management
|
||||||
ifeq ($(CONFIG_PM),y)
|
ifeq ($(CONFIG_PM),y)
|
||||||
obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
|
obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
|
||||||
obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o
|
obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
|
||||||
obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o
|
obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o
|
||||||
obj-$(CONFIG_PM_DEBUG) += pm-debug.o
|
obj-$(CONFIG_PM_DEBUG) += pm-debug.o
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ extern const struct clksel_rate gpt_32k_rates[];
|
|||||||
extern const struct clksel_rate gpt_sys_rates[];
|
extern const struct clksel_rate gpt_sys_rates[];
|
||||||
extern const struct clksel_rate gfx_l3_rates[];
|
extern const struct clksel_rate gfx_l3_rates[];
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_CPU_FREQ)
|
#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_CPU_FREQ)
|
||||||
extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table);
|
extern void omap2_clk_init_cpufreq_table(struct cpufreq_frequency_table **table);
|
||||||
extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table);
|
extern void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table);
|
||||||
#else
|
#else
|
||||||
|
@ -84,7 +84,7 @@ static struct clkdm_dep gfx_sgx_wkdeps[] = {
|
|||||||
|
|
||||||
/* 24XX-specific possible dependencies */
|
/* 24XX-specific possible dependencies */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_OMAP24XX
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
|
|
||||||
/* Wakeup dependency source arrays */
|
/* Wakeup dependency source arrays */
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
* default mapping provided here.
|
* default mapping provided here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_OMAP24XX
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
static struct map_desc omap24xx_io_desc[] __initdata = {
|
static struct map_desc omap24xx_io_desc[] __initdata = {
|
||||||
{
|
{
|
||||||
.virtual = L3_24XX_VIRT,
|
.virtual = L3_24XX_VIRT,
|
||||||
|
@ -75,7 +75,7 @@ void omap_mux_write_array(struct omap_board_mux *board_mux)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_OMAP_MUX)
|
#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_OMAP_MUX)
|
||||||
|
|
||||||
static struct omap_mux_cfg arch_mux_cfg;
|
static struct omap_mux_cfg arch_mux_cfg;
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
/* 24XX powerdomains and dependencies */
|
/* 24XX powerdomains and dependencies */
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_OMAP24XX
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
|
|
||||||
/* Powerdomains */
|
/* Powerdomains */
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ static struct powerdomain core_24xx_pwrdm = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* CONFIG_ARCH_OMAP24XX */
|
#endif /* CONFIG_ARCH_OMAP2 */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ config OMAP_MPU_TIMER
|
|||||||
|
|
||||||
config OMAP_32K_TIMER
|
config OMAP_32K_TIMER
|
||||||
bool "Use 32KHz timer"
|
bool "Use 32KHz timer"
|
||||||
depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
|
depends on ARCH_OMAP16XX || ARCH_OMAP2 || ARCH_OMAP34XX || ARCH_OMAP4
|
||||||
help
|
help
|
||||||
Select this option if you want to enable the OMAP 32KHz timer.
|
Select this option if you want to enable the OMAP 32KHz timer.
|
||||||
This timer saves power compared to the OMAP_MPU_TIMER, and has
|
This timer saves power compared to the OMAP_MPU_TIMER, and has
|
||||||
@ -145,7 +145,7 @@ config OMAP_32K_TIMER_HZ
|
|||||||
|
|
||||||
config OMAP_DM_TIMER
|
config OMAP_DM_TIMER
|
||||||
bool "Use dual-mode timer"
|
bool "Use dual-mode timer"
|
||||||
depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
|
depends on ARCH_OMAP16XX || ARCH_OMAP2 || ARCH_OMAP34XX || ARCH_OMAP4
|
||||||
help
|
help
|
||||||
Select this option if you want to use OMAP Dual-Mode timers.
|
Select this option if you want to use OMAP Dual-Mode timers.
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ fail:
|
|||||||
|
|
||||||
#if defined(CONFIG_HW_RANDOM_OMAP) || defined(CONFIG_HW_RANDOM_OMAP_MODULE)
|
#if defined(CONFIG_HW_RANDOM_OMAP) || defined(CONFIG_HW_RANDOM_OMAP_MODULE)
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_OMAP24XX
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
#define OMAP_RNG_BASE 0x480A0000
|
#define OMAP_RNG_BASE 0x480A0000
|
||||||
#else
|
#else
|
||||||
#define OMAP_RNG_BASE 0xfffe5000
|
#define OMAP_RNG_BASE 0xfffe5000
|
||||||
|
@ -177,12 +177,12 @@ struct gpio_bank {
|
|||||||
u16 irq;
|
u16 irq;
|
||||||
u16 virtual_irq_start;
|
u16 virtual_irq_start;
|
||||||
int method;
|
int method;
|
||||||
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP24XX) || \
|
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2) || \
|
||||||
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
||||||
u32 suspend_wakeup;
|
u32 suspend_wakeup;
|
||||||
u32 saved_wakeup;
|
u32 saved_wakeup;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
u32 non_wakeup_gpios;
|
u32 non_wakeup_gpios;
|
||||||
u32 enabled_non_wakeup_gpios;
|
u32 enabled_non_wakeup_gpios;
|
||||||
@ -248,7 +248,7 @@ static struct gpio_bank gpio_bank_7xx[7] = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_OMAP24XX
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
|
|
||||||
static struct gpio_bank gpio_bank_242x[4] = {
|
static struct gpio_bank gpio_bank_242x[4] = {
|
||||||
{ OMAP242X_GPIO1_BASE, NULL, INT_24XX_GPIO_BANK1, IH_GPIO_BASE,
|
{ OMAP242X_GPIO1_BASE, NULL, INT_24XX_GPIO_BANK1, IH_GPIO_BASE,
|
||||||
@ -426,7 +426,7 @@ static void _set_gpio_direction(struct gpio_bank *bank, int gpio, int is_input)
|
|||||||
reg += OMAP7XX_GPIO_DIR_CONTROL;
|
reg += OMAP7XX_GPIO_DIR_CONTROL;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
reg += OMAP24XX_GPIO_OE;
|
reg += OMAP24XX_GPIO_OE;
|
||||||
break;
|
break;
|
||||||
@ -493,7 +493,7 @@ static void _set_gpio_dataout(struct gpio_bank *bank, int gpio, int enable)
|
|||||||
l &= ~(1 << gpio);
|
l &= ~(1 << gpio);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
if (enable)
|
if (enable)
|
||||||
reg += OMAP24XX_GPIO_SETDATAOUT;
|
reg += OMAP24XX_GPIO_SETDATAOUT;
|
||||||
@ -546,7 +546,7 @@ static int _get_gpio_datain(struct gpio_bank *bank, int gpio)
|
|||||||
reg += OMAP7XX_GPIO_DATA_INPUT;
|
reg += OMAP7XX_GPIO_DATA_INPUT;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
reg += OMAP24XX_GPIO_DATAIN;
|
reg += OMAP24XX_GPIO_DATAIN;
|
||||||
break;
|
break;
|
||||||
@ -592,7 +592,7 @@ static int _get_gpio_dataout(struct gpio_bank *bank, int gpio)
|
|||||||
reg += OMAP7XX_GPIO_DATA_OUTPUT;
|
reg += OMAP7XX_GPIO_DATA_OUTPUT;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
reg += OMAP24XX_GPIO_DATAOUT;
|
reg += OMAP24XX_GPIO_DATAOUT;
|
||||||
@ -684,7 +684,7 @@ void omap_set_gpio_debounce_time(int gpio, int enc_time)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(omap_set_gpio_debounce_time);
|
EXPORT_SYMBOL(omap_set_gpio_debounce_time);
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
static inline void set_24xx_gpio_triggering(struct gpio_bank *bank, int gpio,
|
static inline void set_24xx_gpio_triggering(struct gpio_bank *bank, int gpio,
|
||||||
int trigger)
|
int trigger)
|
||||||
@ -856,7 +856,7 @@ static int _set_gpio_triggering(struct gpio_bank *bank, int gpio, int trigger)
|
|||||||
goto bad;
|
goto bad;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
set_24xx_gpio_triggering(bank, gpio, trigger);
|
set_24xx_gpio_triggering(bank, gpio, trigger);
|
||||||
@ -937,7 +937,7 @@ static void _clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask)
|
|||||||
reg += OMAP7XX_GPIO_INT_STATUS;
|
reg += OMAP7XX_GPIO_INT_STATUS;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
reg += OMAP24XX_GPIO_IRQSTATUS1;
|
reg += OMAP24XX_GPIO_IRQSTATUS1;
|
||||||
break;
|
break;
|
||||||
@ -954,7 +954,7 @@ static void _clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask)
|
|||||||
__raw_writel(gpio_mask, reg);
|
__raw_writel(gpio_mask, reg);
|
||||||
|
|
||||||
/* Workaround for clearing DSP GPIO interrupts to allow retention */
|
/* Workaround for clearing DSP GPIO interrupts to allow retention */
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
reg = bank->base + OMAP24XX_GPIO_IRQSTATUS2;
|
reg = bank->base + OMAP24XX_GPIO_IRQSTATUS2;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP4)
|
#if defined(CONFIG_ARCH_OMAP4)
|
||||||
@ -1008,7 +1008,7 @@ static u32 _get_gpio_irqbank_mask(struct gpio_bank *bank)
|
|||||||
inv = 1;
|
inv = 1;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
reg += OMAP24XX_GPIO_IRQENABLE1;
|
reg += OMAP24XX_GPIO_IRQENABLE1;
|
||||||
mask = 0xffffffff;
|
mask = 0xffffffff;
|
||||||
@ -1077,7 +1077,7 @@ static void _enable_gpio_irqbank(struct gpio_bank *bank, int gpio_mask, int enab
|
|||||||
l |= gpio_mask;
|
l |= gpio_mask;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
if (enable)
|
if (enable)
|
||||||
reg += OMAP24XX_GPIO_SETIRQENABLE1;
|
reg += OMAP24XX_GPIO_SETIRQENABLE1;
|
||||||
@ -1131,7 +1131,7 @@ static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable)
|
|||||||
spin_unlock_irqrestore(&bank->lock, flags);
|
spin_unlock_irqrestore(&bank->lock, flags);
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
if (bank->non_wakeup_gpios & (1 << gpio)) {
|
if (bank->non_wakeup_gpios & (1 << gpio)) {
|
||||||
@ -1227,7 +1227,7 @@ static void omap_gpio_free(struct gpio_chip *chip, unsigned offset)
|
|||||||
__raw_writel(1 << offset, reg);
|
__raw_writel(1 << offset, reg);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
if (bank->method == METHOD_GPIO_24XX) {
|
if (bank->method == METHOD_GPIO_24XX) {
|
||||||
/* Disable wake-up during idle for dynamic tick */
|
/* Disable wake-up during idle for dynamic tick */
|
||||||
@ -1286,7 +1286,7 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc)
|
|||||||
if (bank->method == METHOD_GPIO_7XX)
|
if (bank->method == METHOD_GPIO_7XX)
|
||||||
isr_reg = bank->base + OMAP7XX_GPIO_INT_STATUS;
|
isr_reg = bank->base + OMAP7XX_GPIO_INT_STATUS;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
if (bank->method == METHOD_GPIO_24XX)
|
if (bank->method == METHOD_GPIO_24XX)
|
||||||
isr_reg = bank->base + OMAP24XX_GPIO_IRQSTATUS1;
|
isr_reg = bank->base + OMAP24XX_GPIO_IRQSTATUS1;
|
||||||
#endif
|
#endif
|
||||||
@ -1756,7 +1756,7 @@ static int __init _omap_gpio_init(void)
|
|||||||
bank_size = SZ_2K;
|
bank_size = SZ_2K;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ARCH_OMAP24XX
|
#ifdef CONFIG_ARCH_OMAP2
|
||||||
if (cpu_is_omap242x()) {
|
if (cpu_is_omap242x()) {
|
||||||
gpio_bank_count = 4;
|
gpio_bank_count = 4;
|
||||||
gpio_bank = gpio_bank_242x;
|
gpio_bank = gpio_bank_242x;
|
||||||
@ -1809,7 +1809,7 @@ static int __init _omap_gpio_init(void)
|
|||||||
gpio_count = 32; /* 7xx has 32-bit GPIOs */
|
gpio_count = 32; /* 7xx has 32-bit GPIOs */
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
if (bank->method == METHOD_GPIO_24XX) {
|
if (bank->method == METHOD_GPIO_24XX) {
|
||||||
static const u32 non_wakeup_gpios[] = {
|
static const u32 non_wakeup_gpios[] = {
|
||||||
@ -1903,7 +1903,7 @@ static int __init _omap_gpio_init(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP24XX) || \
|
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2) || \
|
||||||
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
||||||
static int omap_gpio_suspend(struct sys_device *dev, pm_message_t mesg)
|
static int omap_gpio_suspend(struct sys_device *dev, pm_message_t mesg)
|
||||||
{
|
{
|
||||||
@ -1927,7 +1927,7 @@ static int omap_gpio_suspend(struct sys_device *dev, pm_message_t mesg)
|
|||||||
wake_set = bank->base + OMAP1610_GPIO_SET_WAKEUPENA;
|
wake_set = bank->base + OMAP1610_GPIO_SET_WAKEUPENA;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
wake_status = bank->base + OMAP24XX_GPIO_WAKE_EN;
|
wake_status = bank->base + OMAP24XX_GPIO_WAKE_EN;
|
||||||
wake_clear = bank->base + OMAP24XX_GPIO_CLEARWKUENA;
|
wake_clear = bank->base + OMAP24XX_GPIO_CLEARWKUENA;
|
||||||
@ -1975,7 +1975,7 @@ static int omap_gpio_resume(struct sys_device *dev)
|
|||||||
wake_set = bank->base + OMAP1610_GPIO_SET_WAKEUPENA;
|
wake_set = bank->base + OMAP1610_GPIO_SET_WAKEUPENA;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
case METHOD_GPIO_24XX:
|
case METHOD_GPIO_24XX:
|
||||||
wake_clear = bank->base + OMAP24XX_GPIO_CLEARWKUENA;
|
wake_clear = bank->base + OMAP24XX_GPIO_CLEARWKUENA;
|
||||||
wake_set = bank->base + OMAP24XX_GPIO_SETWKUENA;
|
wake_set = bank->base + OMAP24XX_GPIO_SETWKUENA;
|
||||||
@ -2013,7 +2013,7 @@ static struct sys_device omap_gpio_device = {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
|
|
||||||
static int workaround_enabled;
|
static int workaround_enabled;
|
||||||
@ -2030,7 +2030,7 @@ void omap2_gpio_prepare_for_retention(void)
|
|||||||
|
|
||||||
if (!(bank->enabled_non_wakeup_gpios))
|
if (!(bank->enabled_non_wakeup_gpios))
|
||||||
continue;
|
continue;
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
bank->saved_datain = __raw_readl(bank->base + OMAP24XX_GPIO_DATAIN);
|
bank->saved_datain = __raw_readl(bank->base + OMAP24XX_GPIO_DATAIN);
|
||||||
l1 = __raw_readl(bank->base + OMAP24XX_GPIO_FALLINGDETECT);
|
l1 = __raw_readl(bank->base + OMAP24XX_GPIO_FALLINGDETECT);
|
||||||
l2 = __raw_readl(bank->base + OMAP24XX_GPIO_RISINGDETECT);
|
l2 = __raw_readl(bank->base + OMAP24XX_GPIO_RISINGDETECT);
|
||||||
@ -2045,7 +2045,7 @@ void omap2_gpio_prepare_for_retention(void)
|
|||||||
bank->saved_risingdetect = l2;
|
bank->saved_risingdetect = l2;
|
||||||
l1 &= ~bank->enabled_non_wakeup_gpios;
|
l1 &= ~bank->enabled_non_wakeup_gpios;
|
||||||
l2 &= ~bank->enabled_non_wakeup_gpios;
|
l2 &= ~bank->enabled_non_wakeup_gpios;
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
__raw_writel(l1, bank->base + OMAP24XX_GPIO_FALLINGDETECT);
|
__raw_writel(l1, bank->base + OMAP24XX_GPIO_FALLINGDETECT);
|
||||||
__raw_writel(l2, bank->base + OMAP24XX_GPIO_RISINGDETECT);
|
__raw_writel(l2, bank->base + OMAP24XX_GPIO_RISINGDETECT);
|
||||||
#endif
|
#endif
|
||||||
@ -2074,7 +2074,7 @@ void omap2_gpio_resume_after_retention(void)
|
|||||||
|
|
||||||
if (!(bank->enabled_non_wakeup_gpios))
|
if (!(bank->enabled_non_wakeup_gpios))
|
||||||
continue;
|
continue;
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
__raw_writel(bank->saved_fallingdetect,
|
__raw_writel(bank->saved_fallingdetect,
|
||||||
bank->base + OMAP24XX_GPIO_FALLINGDETECT);
|
bank->base + OMAP24XX_GPIO_FALLINGDETECT);
|
||||||
__raw_writel(bank->saved_risingdetect,
|
__raw_writel(bank->saved_risingdetect,
|
||||||
@ -2113,7 +2113,7 @@ void omap2_gpio_resume_after_retention(void)
|
|||||||
|
|
||||||
if (gen) {
|
if (gen) {
|
||||||
u32 old0, old1;
|
u32 old0, old1;
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
old0 = __raw_readl(bank->base + OMAP24XX_GPIO_LEVELDETECT0);
|
old0 = __raw_readl(bank->base + OMAP24XX_GPIO_LEVELDETECT0);
|
||||||
old1 = __raw_readl(bank->base + OMAP24XX_GPIO_LEVELDETECT1);
|
old1 = __raw_readl(bank->base + OMAP24XX_GPIO_LEVELDETECT1);
|
||||||
__raw_writel(old0 | gen, bank->base +
|
__raw_writel(old0 | gen, bank->base +
|
||||||
@ -2240,7 +2240,7 @@ static int __init omap_gpio_sysinit(void)
|
|||||||
|
|
||||||
mpuio_init();
|
mpuio_init();
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP24XX) || \
|
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2) || \
|
||||||
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
||||||
if (cpu_is_omap16xx() || cpu_class_is_omap2()) {
|
if (cpu_is_omap16xx() || cpu_class_is_omap2()) {
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
@ -2300,7 +2300,7 @@ static int dbg_gpio_show(struct seq_file *s, void *unused)
|
|||||||
/* FIXME for at least omap2, show pullup/pulldown state */
|
/* FIXME for at least omap2, show pullup/pulldown state */
|
||||||
|
|
||||||
irqstat = irq_desc[irq].status;
|
irqstat = irq_desc[irq].status;
|
||||||
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP24XX) || \
|
#if defined(CONFIG_ARCH_OMAP16XX) || defined(CONFIG_ARCH_OMAP2) || \
|
||||||
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP34XX) || defined(CONFIG_ARCH_OMAP4)
|
||||||
if (is_in && ((bank->suspend_wakeup & mask)
|
if (is_in && ((bank->suspend_wakeup & mask)
|
||||||
|| irqstat & IRQ_TYPE_SENSE_MASK)) {
|
|| irqstat & IRQ_TYPE_SENSE_MASK)) {
|
||||||
|
@ -50,7 +50,7 @@ static const char name[] = "i2c_omap";
|
|||||||
|
|
||||||
static struct resource i2c_resources[][2] = {
|
static struct resource i2c_resources[][2] = {
|
||||||
{ I2C_RESOURCE_BUILDER(0, 0) },
|
{ I2C_RESOURCE_BUILDER(0, 0) },
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
{ I2C_RESOURCE_BUILDER(OMAP2_I2C_BASE2, INT_24XX_I2C2_IRQ) },
|
{ I2C_RESOURCE_BUILDER(OMAP2_I2C_BASE2, INT_24XX_I2C2_IRQ) },
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP34XX)
|
||||||
@ -72,7 +72,7 @@ static struct resource i2c_resources[][2] = {
|
|||||||
static u32 i2c_rate[ARRAY_SIZE(i2c_resources)];
|
static u32 i2c_rate[ARRAY_SIZE(i2c_resources)];
|
||||||
static struct platform_device omap_i2c_devices[] = {
|
static struct platform_device omap_i2c_devices[] = {
|
||||||
I2C_DEV_BUILDER(1, i2c_resources[0], &i2c_rate[0]),
|
I2C_DEV_BUILDER(1, i2c_resources[0], &i2c_rate[0]),
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
I2C_DEV_BUILDER(2, i2c_resources[1], &i2c_rate[1]),
|
I2C_DEV_BUILDER(2, i2c_resources[1], &i2c_rate[1]),
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP34XX)
|
||||||
|
@ -114,7 +114,7 @@ unsigned int omap_rev(void);
|
|||||||
# define OMAP_NAME omap16xx
|
# define OMAP_NAME omap16xx
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if (defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX))
|
#if (defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX))
|
||||||
# if (defined(OMAP_NAME) || defined(MULTI_OMAP1))
|
# if (defined(OMAP_NAME) || defined(MULTI_OMAP1))
|
||||||
# error "OMAP1 and OMAP2 can't be selected at the same time"
|
# error "OMAP1 and OMAP2 can't be selected at the same time"
|
||||||
# endif
|
# endif
|
||||||
@ -233,7 +233,7 @@ IS_OMAP_SUBCLASS(443x, 0x443)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MULTI_OMAP2)
|
#if defined(MULTI_OMAP2)
|
||||||
# if defined(CONFIG_ARCH_OMAP24XX)
|
# if defined(CONFIG_ARCH_OMAP2)
|
||||||
# undef cpu_is_omap24xx
|
# undef cpu_is_omap24xx
|
||||||
# undef cpu_is_omap242x
|
# undef cpu_is_omap242x
|
||||||
# undef cpu_is_omap243x
|
# undef cpu_is_omap243x
|
||||||
@ -248,7 +248,7 @@ IS_OMAP_SUBCLASS(443x, 0x443)
|
|||||||
# define cpu_is_omap343x() is_omap343x()
|
# define cpu_is_omap343x() is_omap343x()
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# if defined(CONFIG_ARCH_OMAP24XX)
|
# if defined(CONFIG_ARCH_OMAP2)
|
||||||
# undef cpu_is_omap24xx
|
# undef cpu_is_omap24xx
|
||||||
# define cpu_is_omap24xx() 1
|
# define cpu_is_omap24xx() 1
|
||||||
# endif
|
# endif
|
||||||
@ -374,7 +374,7 @@ IS_OMAP_TYPE(3517, 0x3517)
|
|||||||
# define cpu_is_omap1710() is_omap1710()
|
# define cpu_is_omap1710() is_omap1710()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX)
|
#if defined(CONFIG_ARCH_OMAP2)
|
||||||
# undef cpu_is_omap2420
|
# undef cpu_is_omap2420
|
||||||
# undef cpu_is_omap2422
|
# undef cpu_is_omap2422
|
||||||
# undef cpu_is_omap2423
|
# undef cpu_is_omap2423
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
#define AUDIO_DMA_TX OMAP_DMA_MCBSP1_TX
|
#define AUDIO_DMA_TX OMAP_DMA_MCBSP1_TX
|
||||||
#define AUDIO_DMA_RX OMAP_DMA_MCBSP1_RX
|
#define AUDIO_DMA_RX OMAP_DMA_MCBSP1_RX
|
||||||
|
|
||||||
#elif defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) || \
|
#elif defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX) || \
|
||||||
defined(CONFIG_ARCH_OMAP4)
|
defined(CONFIG_ARCH_OMAP4)
|
||||||
|
|
||||||
#define OMAP_MCBSP_REG_DRR2 0x00
|
#define OMAP_MCBSP_REG_DRR2 0x00
|
||||||
|
@ -40,7 +40,7 @@ extern int menelaus_set_vcore_hw(unsigned int roof_mV, unsigned int floor_mV);
|
|||||||
|
|
||||||
extern int menelaus_set_regulator_sleep(int enable, u32 val);
|
extern int menelaus_set_regulator_sleep(int enable, u32 val);
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) && defined(CONFIG_MENELAUS)
|
#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_MENELAUS)
|
||||||
#define omap_has_menelaus() 1
|
#define omap_has_menelaus() 1
|
||||||
#else
|
#else
|
||||||
#define omap_has_menelaus() 0
|
#define omap_has_menelaus() 0
|
||||||
|
@ -135,7 +135,7 @@ struct pin_config {
|
|||||||
const unsigned int mux_reg;
|
const unsigned int mux_reg;
|
||||||
unsigned char debug;
|
unsigned char debug;
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP24XX)
|
#if defined(CONFIG_ARCH_OMAP1) || defined(CONFIG_ARCH_OMAP2)
|
||||||
const unsigned char mask_offset;
|
const unsigned char mask_offset;
|
||||||
const unsigned char mask;
|
const unsigned char mask;
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ASM_ARCH_OMAP24XX_H
|
#ifndef __ASM_ARCH_OMAP2_H
|
||||||
#define __ASM_ARCH_OMAP24XX_H
|
#define __ASM_ARCH_OMAP2_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Please place only base defines here and put the rest in device
|
* Please place only base defines here and put the rest in device
|
||||||
@ -85,5 +85,5 @@
|
|||||||
#define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000)
|
#define OMAP24XX_SEC_AES_BASE (OMAP24XX_SEC_BASE + 0x6000)
|
||||||
#define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000)
|
#define OMAP24XX_SEC_PKA_BASE (OMAP24XX_SEC_BASE + 0x8000)
|
||||||
|
|
||||||
#endif /* __ASM_ARCH_OMAP24XX_H */
|
#endif /* __ASM_ARCH_OMAP2_H */
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
#define OMAP4_SRAM_PUB_PA (OMAP4_SRAM_PA + 0x4000)
|
#define OMAP4_SRAM_PUB_PA (OMAP4_SRAM_PA + 0x4000)
|
||||||
#define OMAP4_SRAM_PUB_VA (OMAP4_SRAM_VA + 0x4000)
|
#define OMAP4_SRAM_PUB_VA (OMAP4_SRAM_VA + 0x4000)
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
#define SRAM_BOOTLOADER_SZ 0x00
|
#define SRAM_BOOTLOADER_SZ 0x00
|
||||||
#else
|
#else
|
||||||
#define SRAM_BOOTLOADER_SZ 0x80
|
#define SRAM_BOOTLOADER_SZ 0x80
|
||||||
|
@ -114,7 +114,7 @@ config HW_RANDOM_IXP4XX
|
|||||||
|
|
||||||
config HW_RANDOM_OMAP
|
config HW_RANDOM_OMAP
|
||||||
tristate "OMAP Random Number Generator support"
|
tristate "OMAP Random Number Generator support"
|
||||||
depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP24XX)
|
depends on HW_RANDOM && (ARCH_OMAP16XX || ARCH_OMAP2)
|
||||||
default HW_RANDOM
|
default HW_RANDOM
|
||||||
---help---
|
---help---
|
||||||
This driver provides kernel-side support for the Random Number
|
This driver provides kernel-side support for the Random Number
|
||||||
|
@ -94,7 +94,7 @@ config TPS65010
|
|||||||
|
|
||||||
config MENELAUS
|
config MENELAUS
|
||||||
bool "Texas Instruments TWL92330/Menelaus PM chip"
|
bool "Texas Instruments TWL92330/Menelaus PM chip"
|
||||||
depends on I2C=y && ARCH_OMAP24XX
|
depends on I2C=y && ARCH_OMAP2
|
||||||
help
|
help
|
||||||
If you say yes here you get support for the Texas Instruments
|
If you say yes here you get support for the Texas Instruments
|
||||||
TWL92330/Menelaus Power Management chip. This include voltage
|
TWL92330/Menelaus Power Management chip. This include voltage
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#define SMC_USE_32BIT 1
|
#define SMC_USE_32BIT 1
|
||||||
#define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
|
#define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
|
||||||
#define SMC_MEM_RESERVED 1
|
#define SMC_MEM_RESERVED 1
|
||||||
#elif defined(CONFIG_ARCH_OMAP24XX)
|
#elif defined(CONFIG_ARCH_OMAP2)
|
||||||
#define SMC_USE_16BIT 0
|
#define SMC_USE_16BIT 0
|
||||||
#define SMC_USE_32BIT 1
|
#define SMC_USE_32BIT 1
|
||||||
#define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
|
#define SMC_IRQ_SENSE IRQF_TRIGGER_LOW
|
||||||
|
@ -164,7 +164,7 @@ config SPI_OMAP_UWIRE
|
|||||||
|
|
||||||
config SPI_OMAP24XX
|
config SPI_OMAP24XX
|
||||||
tristate "McSPI driver for OMAP24xx/OMAP34xx"
|
tristate "McSPI driver for OMAP24xx/OMAP34xx"
|
||||||
depends on ARCH_OMAP24XX || ARCH_OMAP34XX
|
depends on ARCH_OMAP2 || ARCH_OMAP34XX
|
||||||
help
|
help
|
||||||
SPI master controller for OMAP24xx/OMAP34xx Multichannel SPI
|
SPI master controller for OMAP24xx/OMAP34xx Multichannel SPI
|
||||||
(McSPI) modules.
|
(McSPI) modules.
|
||||||
|
@ -194,7 +194,7 @@ config EP93XX_WATCHDOG
|
|||||||
|
|
||||||
config OMAP_WATCHDOG
|
config OMAP_WATCHDOG
|
||||||
tristate "OMAP Watchdog"
|
tristate "OMAP Watchdog"
|
||||||
depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX
|
depends on ARCH_OMAP16XX || ARCH_OMAP2 || ARCH_OMAP34XX
|
||||||
help
|
help
|
||||||
Support for TI OMAP1610/OMAP1710/OMAP2420/OMAP3430 watchdog. Say 'Y'
|
Support for TI OMAP1610/OMAP1710/OMAP2420/OMAP3430 watchdog. Say 'Y'
|
||||||
here to enable the OMAP1610/OMAP1710/OMAP2420/OMAP3430 watchdog timer.
|
here to enable the OMAP1610/OMAP1710/OMAP2420/OMAP3430 watchdog timer.
|
||||||
|
@ -82,7 +82,7 @@ static const int omap1_dma_reqs[][2] = {};
|
|||||||
static const unsigned long omap1_mcbsp_port[][2] = {};
|
static const unsigned long omap1_mcbsp_port[][2] = {};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
|
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP34XX)
|
||||||
static const int omap24xx_dma_reqs[][2] = {
|
static const int omap24xx_dma_reqs[][2] = {
|
||||||
{ OMAP24XX_DMA_MCBSP1_TX, OMAP24XX_DMA_MCBSP1_RX },
|
{ OMAP24XX_DMA_MCBSP1_TX, OMAP24XX_DMA_MCBSP1_RX },
|
||||||
{ OMAP24XX_DMA_MCBSP2_TX, OMAP24XX_DMA_MCBSP2_RX },
|
{ OMAP24XX_DMA_MCBSP2_TX, OMAP24XX_DMA_MCBSP2_RX },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user