aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-04-25 19:23:57 +0100
committerThomas White <taw@bitwiz.org.uk>2009-04-25 19:23:57 +0100
commitca8cdf043c7c6d8e1b4b3d86f3cae12fc37756a2 (patch)
treedad605a1b3142e85d9ddc08a77d62f6bf09f22cc /arch
parent16696dd08020690cff796fc4705b4d6bd14e91b0 (diff)
parentb4136a36f31a65d0998a328465df9e8e2ba93166 (diff)
Merge branch 'andy-tracking' into drm-tracking
Conflicts: drivers/mfd/glamo/Kconfig
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/configs/gta02_micro_defconfig1
-rw-r--r--arch/arm/configs/gta02_moredrivers_defconfig20
-rw-r--r--arch/arm/configs/gta02_packaging_defconfig21
-rw-r--r--arch/arm/mach-s3c2410/mach-gta01.c14
-rw-r--r--arch/arm/mach-s3c2442/mach-gta02.c13
-rw-r--r--arch/arm/plat-s3c/dev-usb.c2
-rw-r--r--arch/arm/plat-s3c/init.c3
-rw-r--r--arch/arm/plat-s3c24xx/neo1973_pm_gps.c1
8 files changed, 37 insertions, 38 deletions
diff --git a/arch/arm/configs/gta02_micro_defconfig b/arch/arm/configs/gta02_micro_defconfig
index b81e96dbf09..ae30c4b1ddb 100644
--- a/arch/arm/configs/gta02_micro_defconfig
+++ b/arch/arm/configs/gta02_micro_defconfig
@@ -707,6 +707,7 @@ CONFIG_PCF50633_GPIO=y
# CONFIG_MFD_PCF50606 is not set
CONFIG_MFD_GLAMO=y
CONFIG_MFD_GLAMO_FB=y
+CONFIG_MFD_GLAMO_FB_XGLAMO_WORKAROUND=y
CONFIG_MFD_GLAMO_SPI_GPIO=y
CONFIG_MFD_GLAMO_SPI_FB=y
CONFIG_MFD_GLAMO_MCI=y
diff --git a/arch/arm/configs/gta02_moredrivers_defconfig b/arch/arm/configs/gta02_moredrivers_defconfig
index 94698ada167..1dbbbf63ce8 100644
--- a/arch/arm/configs/gta02_moredrivers_defconfig
+++ b/arch/arm/configs/gta02_moredrivers_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29-rc3
-# Tue Feb 24 02:11:01 2009
+# Sun Apr 19 23:22:38 2009
#
CONFIG_ARM=y
CONFIG_HAVE_PWM=y
@@ -204,6 +204,7 @@ CONFIG_S3C_GPIO_SPACE=0
CONFIG_S3C_GPIO_TRACK=y
CONFIG_S3C_DMA=y
CONFIG_S3C_PWM=y
+CONFIG_S3C_DEV_USB_HOST=y
#
# S3C2400 Machines
@@ -1029,8 +1030,8 @@ CONFIG_INPUT_MISC=y
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
CONFIG_INPUT_UINPUT=m
-CONFIG_INPUT_PCF50633_PMU=y
CONFIG_INPUT_LIS302DL=y
+CONFIG_INPUT_PCF50633_PMU=y
#
# Hardware I/O ports
@@ -1279,6 +1280,7 @@ CONFIG_PCF50633_GPIO=y
# CONFIG_MFD_PCF50606 is not set
CONFIG_MFD_GLAMO=y
CONFIG_MFD_GLAMO_FB=y
+CONFIG_MFD_GLAMO_FB_XGLAMO_WORKAROUND=y
CONFIG_MFD_GLAMO_SPI_GPIO=y
CONFIG_MFD_GLAMO_SPI_FB=y
CONFIG_MFD_GLAMO_MCI=y
@@ -1800,17 +1802,13 @@ CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=y
-CONFIG_EXT4DEV_COMPAT=y
-CONFIG_EXT4_FS_XATTR=y
-# CONFIG_EXT4_FS_POSIX_ACL is not set
-CONFIG_EXT4_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
-CONFIG_JBD2=y
-# CONFIG_JBD2_DEBUG is not set
-CONFIG_FS_MBCACHE=y
-# CONFIG_REISERFS_FS is not set
+CONFIG_REISERFS_FS=m
+# CONFIG_REISERFS_CHECK is not set
+# CONFIG_REISERFS_PROC_INFO is not set
+# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
CONFIG_FILE_LOCKING=y
diff --git a/arch/arm/configs/gta02_packaging_defconfig b/arch/arm/configs/gta02_packaging_defconfig
index 5f9aa9338e9..237fd959510 100644
--- a/arch/arm/configs/gta02_packaging_defconfig
+++ b/arch/arm/configs/gta02_packaging_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29-rc3
-# Tue Feb 24 02:12:40 2009
+# Sun Apr 19 22:57:25 2009
#
CONFIG_ARM=y
CONFIG_HAVE_PWM=y
@@ -204,6 +204,7 @@ CONFIG_S3C_GPIO_SPACE=0
CONFIG_S3C_GPIO_TRACK=y
CONFIG_S3C_DMA=y
CONFIG_S3C_PWM=y
+CONFIG_S3C_DEV_USB_HOST=y
#
# S3C2400 Machines
@@ -1032,8 +1033,8 @@ CONFIG_INPUT_MISC=y
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
CONFIG_INPUT_UINPUT=m
-CONFIG_INPUT_PCF50633_PMU=y
CONFIG_INPUT_LIS302DL=y
+CONFIG_INPUT_PCF50633_PMU=y
#
# Hardware I/O ports
@@ -1282,6 +1283,7 @@ CONFIG_PCF50633_GPIO=y
# CONFIG_MFD_PCF50606 is not set
CONFIG_MFD_GLAMO=y
CONFIG_MFD_GLAMO_FB=y
+CONFIG_MFD_GLAMO_FB_XGLAMO_WORKAROUND=y
CONFIG_MFD_GLAMO_SPI_GPIO=y
CONFIG_MFD_GLAMO_SPI_FB=y
CONFIG_MFD_GLAMO_MCI=y
@@ -1803,17 +1805,13 @@ CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
-CONFIG_EXT4_FS=y
-CONFIG_EXT4DEV_COMPAT=y
-CONFIG_EXT4_FS_XATTR=y
-# CONFIG_EXT4_FS_POSIX_ACL is not set
-CONFIG_EXT4_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
-CONFIG_JBD2=y
-# CONFIG_JBD2_DEBUG is not set
-CONFIG_FS_MBCACHE=y
-# CONFIG_REISERFS_FS is not set
+CONFIG_REISERFS_FS=m
+# CONFIG_REISERFS_CHECK is not set
+# CONFIG_REISERFS_PROC_INFO is not set
+# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_FILE_LOCKING=y
@@ -1894,7 +1892,6 @@ CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
-CONFIG_ROOT_NFS=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index c5961d49ad8..bddba990a74 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -708,32 +708,32 @@ static struct s3c2410_udc_mach_info gta01_udc_cfg = {
/* Touchscreen configuration. */
#ifdef CONFIG_TOUCHSCREEN_FILTER
-static struct ts_filter_group_configuration gta01_ts_group = {
+const static struct ts_filter_group_configuration gta01_ts_group = {
.length = 12,
.close_enough = 10,
.threshold = 6, /* At least half of the points in a group. */
.attempts = 10,
};
-static struct ts_filter_median_configuration gta01_ts_median = {
+const static struct ts_filter_median_configuration gta01_ts_median = {
.extent = 20,
.decimation_below = 3,
.decimation_threshold = 8 * 3,
.decimation_above = 4,
};
-static struct ts_filter_mean_configuration gta01_ts_mean = {
+const static struct ts_filter_mean_configuration gta01_ts_mean = {
.length = 4,
};
-static struct ts_filter_linear_configuration gta01_ts_linear = {
+const static struct ts_filter_linear_configuration gta01_ts_linear = {
.constants = {1, 0, 0, 0, 1, 0, 1}, /* Don't modify coords. */
.coord0 = 0,
.coord1 = 1,
};
#endif
-struct ts_filter_chain_configuration filter_configuration[] =
+const static struct ts_filter_chain_configuration gta01_filter_configuration[] =
{
#ifdef CONFIG_TOUCHSCREEN_FILTER
{&ts_filter_group_api, &gta01_ts_group.config},
@@ -744,10 +744,10 @@ struct ts_filter_chain_configuration filter_configuration[] =
{NULL, NULL},
};
-static struct s3c2410_ts_mach_info gta01_ts_cfg = {
+const static struct s3c2410_ts_mach_info gta01_ts_cfg = {
.delay = 10000,
.presc = 0xff, /* slow as we can go */
- .filter_config = filter_configuration,
+ .filter_config = gta01_filter_configuration,
};
/* SPI */
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c
index d469d033afd..072abd56759 100644
--- a/arch/arm/mach-s3c2442/mach-gta02.c
+++ b/arch/arm/mach-s3c2442/mach-gta02.c
@@ -986,7 +986,7 @@ const static struct ts_filter_linear_configuration gta02_ts_linear = {
};
#endif
-const struct ts_filter_chain_configuration filter_configuration[] =
+const static struct ts_filter_chain_configuration gta02_filter_configuration[] =
{
#ifdef CONFIG_TOUCHSCREEN_FILTER
{&ts_filter_group_api, &gta02_ts_group.config},
@@ -1000,7 +1000,7 @@ const struct ts_filter_chain_configuration filter_configuration[] =
const static struct s3c2410_ts_mach_info gta02_ts_cfg = {
.delay = 10000,
.presc = 0xff, /* slow as we can go */
- .filter_config = filter_configuration,
+ .filter_config = gta02_filter_configuration,
};
@@ -1027,16 +1027,17 @@ static void gta02_bl_set_intensity(int intensity)
return;
}
- old_intensity = pcf50633_reg_read(pcf, PCF50633_REG_LEDOUT);
+ if (!(pcf50633_reg_read(pcf, PCF50633_REG_LEDENA) & 3))
+ old_intensity = 0;
+ else
+ old_intensity = pcf50633_reg_read(pcf, PCF50633_REG_LEDOUT);
+
if (intensity == old_intensity)
return;
/* We can't do this anywhere else */
pcf50633_reg_write(pcf, PCF50633_REG_LEDDIM, 5);
- if (!(pcf50633_reg_read(pcf, PCF50633_REG_LEDENA) & 3))
- old_intensity = 0;
-
/*
* The PCF50633 cannot handle LEDOUT = 0 (datasheet p60)
* if seen, you have to re-enable the LED unit
diff --git a/arch/arm/plat-s3c/dev-usb.c b/arch/arm/plat-s3c/dev-usb.c
index 2ee85abed6d..721ff18f438 100644
--- a/arch/arm/plat-s3c/dev-usb.c
+++ b/arch/arm/plat-s3c/dev-usb.c
@@ -37,7 +37,7 @@ static struct resource s3c_usb_resource[] = {
static u64 s3c_device_usb_dmamask = 0xffffffffUL;
struct platform_device s3c_device_usb = {
- .name = "s3c2410-ohci",
+ .name = "s3c-ohci",
.id = -1,
.num_resources = ARRAY_SIZE(s3c_usb_resource),
.resource = s3c_usb_resource,
diff --git a/arch/arm/plat-s3c/init.c b/arch/arm/plat-s3c/init.c
index 94a3120f561..c1ddac1007c 100644
--- a/arch/arm/plat-s3c/init.c
+++ b/arch/arm/plat-s3c/init.c
@@ -52,7 +52,8 @@ static void __init set_system_rev(unsigned int idcode)
if (idcode == 0x32410002 || idcode == 0x32440001)
system_rev |= (0x1 << 16);
- if (idcode == 0x32440aaa) /* s3c2442 */
+ if (idcode == 0x32440aaa /* s3c2442 */
+ || idcode == 0x32440aab) /* s3c2442b */
system_rev |= (0x2 << 16);
if (idcode == 0x0) /* s3c2400 */
system_rev |= (0x2400 << 16);
diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
index b5322f200b4..93b491137e7 100644
--- a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
+++ b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c
@@ -764,6 +764,7 @@ static int gta01_pm_gps_remove(struct platform_device *pdev)
regulator_put(neo1973_gps.regulator[i]);
}
#endif
+ bus_remove_device_link(&platform_bus_type, "gta01-pm-gps.0");
sysfs_remove_group(&pdev->dev.kobj, &gta01_gps_attr_group);
}