You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge master.kernel.org:/home/rmk/linux-2.6-arm
* master.kernel.org:/home/rmk/linux-2.6-arm: (37 commits) ARM: 5673/1: U300 fix initsection compile warning ARM: Fix broken highmem support mx31moboard: invert sdhc ro signal sense ARM: S3C24XX: Fix clkout mpx error ARM: S3C64XX: serial: Fix a typo in Kconfig IXP4xx: Fix IO_SPACE_LIMIT for 2.6.31-rc core PCI changes OMAP3: RX51: Updated rx51_defconfig OMAP2/3: mmc-twl4030: Free up MMC regulators while cleaning up OMAP3: RX51: Define TWL4030 USB transceiver in board file OMAP3: Overo: Fix smsc911x platform device resource value OMAP3: Fix omap3 sram virtual addres overlap vmalloc space after increasing vmalloc size OMAP2/3: DMA errata correction OMAP: Fix testing of cpu defines for mach-omap1 OMAP3: Overo: add missing pen-down GPIO definition OMAP: GPIO: clear/restore level/edge detect settings on mask/unmask OMAP3: PM: Fix wrong sequence in suspend. OMAP: PM: CPUfreq: obey min/max settings of policy OMAP2/3/4: UART: allow in-order port traversal OMAP2/3/4: UART: Allow per-UART disabling wakeup for serial ports OMAP3: Fixed crash bug with serial + suspend ...
This commit is contained in:
@@ -282,7 +282,7 @@ CONFIG_ALIGNMENT_TRAP=y
|
|||||||
#
|
#
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||||
CONFIG_CMDLINE="init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0"
|
CONFIG_CMDLINE="init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0 console=ttyS2,115200n8"
|
||||||
# CONFIG_XIP_KERNEL is not set
|
# CONFIG_XIP_KERNEL is not set
|
||||||
# CONFIG_KEXEC is not set
|
# CONFIG_KEXEC is not set
|
||||||
|
|
||||||
@@ -1354,7 +1354,7 @@ CONFIG_USB_OTG_UTILS=y
|
|||||||
# CONFIG_USB_GPIO_VBUS is not set
|
# CONFIG_USB_GPIO_VBUS is not set
|
||||||
# CONFIG_ISP1301_OMAP is not set
|
# CONFIG_ISP1301_OMAP is not set
|
||||||
CONFIG_TWL4030_USB=y
|
CONFIG_TWL4030_USB=y
|
||||||
CONFIG_MMC=m
|
CONFIG_MMC=y
|
||||||
# CONFIG_MMC_DEBUG is not set
|
# CONFIG_MMC_DEBUG is not set
|
||||||
# CONFIG_MMC_UNSAFE_RESUME is not set
|
# CONFIG_MMC_UNSAFE_RESUME is not set
|
||||||
|
|
||||||
@@ -1449,7 +1449,8 @@ CONFIG_RTC_DRV_TWL4030=m
|
|||||||
# on-CPU RTC drivers
|
# on-CPU RTC drivers
|
||||||
#
|
#
|
||||||
# CONFIG_DMADEVICES is not set
|
# CONFIG_DMADEVICES is not set
|
||||||
# CONFIG_REGULATOR is not set
|
CONFIG_REGULATOR=y
|
||||||
|
CONFIG_REGULATOR_TWL4030=y
|
||||||
# CONFIG_UIO is not set
|
# CONFIG_UIO is not set
|
||||||
# CONFIG_STAGING is not set
|
# CONFIG_STAGING is not set
|
||||||
|
|
||||||
|
|||||||
@@ -201,7 +201,8 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn }
|
|||||||
struct membank {
|
struct membank {
|
||||||
unsigned long start;
|
unsigned long start;
|
||||||
unsigned long size;
|
unsigned long size;
|
||||||
int node;
|
unsigned short node;
|
||||||
|
unsigned short highmem;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct meminfo {
|
struct meminfo {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
|
|
||||||
#define IO_SPACE_LIMIT 0xffff0000
|
#define IO_SPACE_LIMIT 0x0000ffff
|
||||||
|
|
||||||
extern int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data);
|
extern int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data);
|
||||||
extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);
|
extern int ixp4xx_pci_write(u32 addr, u32 cmd, u32 data);
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ static struct imxuart_platform_data uart_pdata = {
|
|||||||
|
|
||||||
static int devboard_sdhc2_get_ro(struct device *dev)
|
static int devboard_sdhc2_get_ro(struct device *dev)
|
||||||
{
|
{
|
||||||
return gpio_get_value(SDHC2_WP);
|
return !gpio_get_value(SDHC2_WP);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int devboard_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
|
static int devboard_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ static unsigned int marxbot_pins[] = {
|
|||||||
|
|
||||||
static int marxbot_sdhc2_get_ro(struct device *dev)
|
static int marxbot_sdhc2_get_ro(struct device *dev)
|
||||||
{
|
{
|
||||||
return gpio_get_value(SDHC2_WP);
|
return !gpio_get_value(SDHC2_WP);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
|
static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ static struct imxi2c_platform_data moboard_i2c1_pdata = {
|
|||||||
|
|
||||||
static int moboard_sdhc1_get_ro(struct device *dev)
|
static int moboard_sdhc1_get_ro(struct device *dev)
|
||||||
{
|
{
|
||||||
return gpio_get_value(SDHC1_WP);
|
return !gpio_get_value(SDHC1_WP);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq,
|
static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq,
|
||||||
|
|||||||
@@ -24,15 +24,6 @@
|
|||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
static unsigned int pcm037_eet_pins[] = {
|
static unsigned int pcm037_eet_pins[] = {
|
||||||
/* SPI #1 */
|
|
||||||
MX31_PIN_CSPI1_MISO__MISO,
|
|
||||||
MX31_PIN_CSPI1_MOSI__MOSI,
|
|
||||||
MX31_PIN_CSPI1_SCLK__SCLK,
|
|
||||||
MX31_PIN_CSPI1_SPI_RDY__SPI_RDY,
|
|
||||||
MX31_PIN_CSPI1_SS0__SS0,
|
|
||||||
MX31_PIN_CSPI1_SS1__SS1,
|
|
||||||
MX31_PIN_CSPI1_SS2__SS2,
|
|
||||||
|
|
||||||
/* Reserve and hardwire GPIO 57 high - S6E63D6 chipselect */
|
/* Reserve and hardwire GPIO 57 high - S6E63D6 chipselect */
|
||||||
IOMUX_MODE(MX31_PIN_KEY_COL7, IOMUX_CONFIG_GPIO),
|
IOMUX_MODE(MX31_PIN_KEY_COL7, IOMUX_CONFIG_GPIO),
|
||||||
/* GPIO keys */
|
/* GPIO keys */
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ static inline void board_smc91x_init(void)
|
|||||||
|
|
||||||
static void __init omap_2430sdp_init_irq(void)
|
static void __init omap_2430sdp_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ static struct platform_device *sdp3430_devices[] __initdata = {
|
|||||||
|
|
||||||
static void __init omap_3430sdp_init_irq(void)
|
static void __init omap_3430sdp_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(hyb18m512160af6_sdrc_params);
|
omap2_init_common_hw(hyb18m512160af6_sdrc_params, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ static void __init gic_init_irq(void)
|
|||||||
|
|
||||||
static void __init omap_4430sdp_init_irq(void)
|
static void __init omap_4430sdp_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
#ifdef CONFIG_OMAP_32K_TIMER
|
#ifdef CONFIG_OMAP_32K_TIMER
|
||||||
omap2_gp_clockevent_set_gptimer(1);
|
omap2_gp_clockevent_set_gptimer(1);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ out:
|
|||||||
|
|
||||||
static void __init omap_apollon_init_irq(void)
|
static void __init omap_apollon_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
apollon_init_smc91x();
|
apollon_init_smc91x();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
static void __init omap_generic_init_irq(void)
|
static void __init omap_generic_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ static void __init h4_init_flash(void)
|
|||||||
|
|
||||||
static void __init omap_h4_init_irq(void)
|
static void __init omap_h4_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
h4_init_flash();
|
h4_init_flash();
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ static inline void __init ldp_init_smsc911x(void)
|
|||||||
|
|
||||||
static void __init omap_ldp_init_irq(void)
|
static void __init omap_ldp_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
ldp_init_smsc911x();
|
ldp_init_smsc911x();
|
||||||
|
|||||||
@@ -282,7 +282,8 @@ static int __init omap3_beagle_i2c_init(void)
|
|||||||
|
|
||||||
static void __init omap3_beagle_init_irq(void)
|
static void __init omap3_beagle_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(mt46h32m32lf6_sdrc_params);
|
omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
|
||||||
|
mt46h32m32lf6_sdrc_params);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
#ifdef CONFIG_OMAP_32K_TIMER
|
#ifdef CONFIG_OMAP_32K_TIMER
|
||||||
omap2_gp_clockevent_set_gptimer(12);
|
omap2_gp_clockevent_set_gptimer(12);
|
||||||
@@ -408,6 +409,10 @@ static void __init omap3_beagle_init(void)
|
|||||||
|
|
||||||
usb_musb_init();
|
usb_musb_init();
|
||||||
omap3beagle_flash_init();
|
omap3beagle_flash_init();
|
||||||
|
|
||||||
|
/* Ensure SDRC pins are mux'd for self-refresh */
|
||||||
|
omap_cfg_reg(H16_34XX_SDRC_CKE0);
|
||||||
|
omap_cfg_reg(H17_34XX_SDRC_CKE1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init omap3_beagle_map_io(void)
|
static void __init omap3_beagle_map_io(void)
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ struct spi_board_info omap3evm_spi_board_info[] = {
|
|||||||
|
|
||||||
static void __init omap3_evm_init_irq(void)
|
static void __init omap3_evm_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(mt46h32m32lf6_sdrc_params);
|
omap2_init_common_hw(mt46h32m32lf6_sdrc_params, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
omap3evm_init_smc911x();
|
omap3evm_init_smc911x();
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
#include <mach/mcspi.h>
|
#include <mach/mcspi.h>
|
||||||
#include <mach/usb.h>
|
#include <mach/usb.h>
|
||||||
#include <mach/keypad.h>
|
#include <mach/keypad.h>
|
||||||
|
#include <mach/mux.h>
|
||||||
|
|
||||||
#include "sdram-micron-mt46h32m32lf-6.h"
|
#include "sdram-micron-mt46h32m32lf-6.h"
|
||||||
#include "mmc-twl4030.h"
|
#include "mmc-twl4030.h"
|
||||||
@@ -310,7 +311,8 @@ static int __init omap3pandora_i2c_init(void)
|
|||||||
|
|
||||||
static void __init omap3pandora_init_irq(void)
|
static void __init omap3pandora_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(mt46h32m32lf6_sdrc_params);
|
omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
|
||||||
|
mt46h32m32lf6_sdrc_params);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
}
|
}
|
||||||
@@ -397,6 +399,10 @@ static void __init omap3pandora_init(void)
|
|||||||
omap3pandora_ads7846_init();
|
omap3pandora_ads7846_init();
|
||||||
pandora_keys_gpio_init();
|
pandora_keys_gpio_init();
|
||||||
usb_musb_init();
|
usb_musb_init();
|
||||||
|
|
||||||
|
/* Ensure SDRC pins are mux'd for self-refresh */
|
||||||
|
omap_cfg_reg(H16_34XX_SDRC_CKE0);
|
||||||
|
omap_cfg_reg(H17_34XX_SDRC_CKE1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init omap3pandora_map_io(void)
|
static void __init omap3pandora_map_io(void)
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
#include <mach/gpmc.h>
|
#include <mach/gpmc.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/nand.h>
|
#include <mach/nand.h>
|
||||||
|
#include <mach/mux.h>
|
||||||
#include <mach/usb.h>
|
#include <mach/usb.h>
|
||||||
|
|
||||||
#include "sdram-micron-mt46h32m32lf-6.h"
|
#include "sdram-micron-mt46h32m32lf-6.h"
|
||||||
@@ -51,6 +52,7 @@
|
|||||||
|
|
||||||
#define OVERO_GPIO_BT_XGATE 15
|
#define OVERO_GPIO_BT_XGATE 15
|
||||||
#define OVERO_GPIO_W2W_NRESET 16
|
#define OVERO_GPIO_W2W_NRESET 16
|
||||||
|
#define OVERO_GPIO_PENDOWN 114
|
||||||
#define OVERO_GPIO_BT_NRESET 164
|
#define OVERO_GPIO_BT_NRESET 164
|
||||||
#define OVERO_GPIO_USBH_CPEN 168
|
#define OVERO_GPIO_USBH_CPEN 168
|
||||||
#define OVERO_GPIO_USBH_NRESET 183
|
#define OVERO_GPIO_USBH_NRESET 183
|
||||||
@@ -146,7 +148,7 @@ static struct platform_device overo_smsc911x_device = {
|
|||||||
.name = "smsc911x",
|
.name = "smsc911x",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.num_resources = ARRAY_SIZE(overo_smsc911x_resources),
|
.num_resources = ARRAY_SIZE(overo_smsc911x_resources),
|
||||||
.resource = &overo_smsc911x_resources,
|
.resource = overo_smsc911x_resources,
|
||||||
.dev = {
|
.dev = {
|
||||||
.platform_data = &overo_smsc911x_config,
|
.platform_data = &overo_smsc911x_config,
|
||||||
},
|
},
|
||||||
@@ -360,7 +362,8 @@ static int __init overo_i2c_init(void)
|
|||||||
|
|
||||||
static void __init overo_init_irq(void)
|
static void __init overo_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(mt46h32m32lf6_sdrc_params);
|
omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
|
||||||
|
mt46h32m32lf6_sdrc_params);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
}
|
}
|
||||||
@@ -395,6 +398,10 @@ static void __init overo_init(void)
|
|||||||
overo_ads7846_init();
|
overo_ads7846_init();
|
||||||
overo_init_smsc911x();
|
overo_init_smsc911x();
|
||||||
|
|
||||||
|
/* Ensure SDRC pins are mux'd for self-refresh */
|
||||||
|
omap_cfg_reg(H16_34XX_SDRC_CKE0);
|
||||||
|
omap_cfg_reg(H17_34XX_SDRC_CKE1);
|
||||||
|
|
||||||
if ((gpio_request(OVERO_GPIO_W2W_NRESET,
|
if ((gpio_request(OVERO_GPIO_W2W_NRESET,
|
||||||
"OVERO_GPIO_W2W_NRESET") == 0) &&
|
"OVERO_GPIO_W2W_NRESET") == 0) &&
|
||||||
(gpio_direction_output(OVERO_GPIO_W2W_NRESET, 1) == 0)) {
|
(gpio_direction_output(OVERO_GPIO_W2W_NRESET, 1) == 0)) {
|
||||||
|
|||||||
@@ -278,6 +278,10 @@ static struct twl4030_gpio_platform_data rx51_gpio_data = {
|
|||||||
.setup = rx51_twlgpio_setup,
|
.setup = rx51_twlgpio_setup,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct twl4030_usb_data rx51_usb_data = {
|
||||||
|
.usb_mode = T2_USB_MODE_ULPI,
|
||||||
|
};
|
||||||
|
|
||||||
static struct twl4030_platform_data rx51_twldata = {
|
static struct twl4030_platform_data rx51_twldata = {
|
||||||
.irq_base = TWL4030_IRQ_BASE,
|
.irq_base = TWL4030_IRQ_BASE,
|
||||||
.irq_end = TWL4030_IRQ_END,
|
.irq_end = TWL4030_IRQ_END,
|
||||||
@@ -286,6 +290,7 @@ static struct twl4030_platform_data rx51_twldata = {
|
|||||||
.gpio = &rx51_gpio_data,
|
.gpio = &rx51_gpio_data,
|
||||||
.keypad = &rx51_kp_data,
|
.keypad = &rx51_kp_data,
|
||||||
.madc = &rx51_madc_data,
|
.madc = &rx51_madc_data,
|
||||||
|
.usb = &rx51_usb_data,
|
||||||
|
|
||||||
.vaux1 = &rx51_vaux1,
|
.vaux1 = &rx51_vaux1,
|
||||||
.vaux2 = &rx51_vaux2,
|
.vaux2 = &rx51_vaux2,
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ static struct omap_board_config_kernel rx51_config[] = {
|
|||||||
|
|
||||||
static void __init rx51_init_irq(void)
|
static void __init rx51_init_irq(void)
|
||||||
{
|
{
|
||||||
omap2_init_common_hw(NULL);
|
omap2_init_common_hw(NULL, NULL);
|
||||||
omap_init_irq();
|
omap_init_irq();
|
||||||
omap_gpio_init();
|
omap_gpio_init();
|
||||||
}
|
}
|
||||||
@@ -75,6 +75,10 @@ static void __init rx51_init(void)
|
|||||||
omap_serial_init();
|
omap_serial_init();
|
||||||
usb_musb_init();
|
usb_musb_init();
|
||||||
rx51_peripherals_init();
|
rx51_peripherals_init();
|
||||||
|
|
||||||
|
/* Ensure SDRC pins are mux'd for self-refresh */
|
||||||
|
omap_cfg_reg(H16_34XX_SDRC_CKE0);
|
||||||
|
omap_cfg_reg(H17_34XX_SDRC_CKE1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init rx51_map_io(void)
|
static void __init rx51_map_io(void)
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user