From 6f5fd8e9b98423add5f67b964e7cc8733dd73460 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Thu, 31 Jul 2008 03:46:30 -0400 Subject: drivers/media, include/media: delete zero-length files Signed-off-by: Jeff Garzik --- drivers/media/video/planb.c | 0 drivers/media/video/planb.h | 0 drivers/media/video/saa7196.h | 0 drivers/media/video/videodev.c | 0 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 drivers/media/video/planb.c delete mode 100644 drivers/media/video/planb.h delete mode 100644 drivers/media/video/saa7196.h delete mode 100644 drivers/media/video/videodev.c (limited to 'drivers/media/video') diff --git a/drivers/media/video/planb.c b/drivers/media/video/planb.c deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/drivers/media/video/planb.h b/drivers/media/video/planb.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/drivers/media/video/saa7196.h b/drivers/media/video/saa7196.h deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c deleted file mode 100644 index e69de29bb2d..00000000000 -- cgit v1.2.3-70-g09d2 From 61a2d07d3fb1ac34d142b9b62d4cd60a0f8c229e Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 31 Jul 2008 00:07:23 -0700 Subject: Remove newline from the description of module parameters Some module parameters with only one line have the '\n' at the end of the description. This is not needed nor wanted as after the description the type (i.e. int) is followed by a newline. Some modules contain a multi-line description, these are not affected by this patch. Signed-off-by: Niels de Vos Acked-by: Randy Dunlap Cc: John W. Linville Cc: Ed L. Cashin Cc: Dave Airlie Cc: Roland Dreier Acked-by: Mauro Carvalho Chehab Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/acpi/asus_acpi.c | 4 ++-- drivers/block/aoe/aoenet.c | 2 +- drivers/gpu/drm/radeon/radeon_drv.c | 2 +- drivers/infiniband/hw/ipath/ipath_iba7220.c | 2 +- drivers/media/video/cs5345.c | 2 +- drivers/media/video/cs53l32a.c | 2 +- drivers/media/video/mt9v022.c | 2 +- drivers/net/netconsole.c | 2 +- drivers/net/tokenring/3c359.c | 8 ++++---- drivers/net/wireless/ipw2200.c | 2 +- drivers/net/wireless/iwlwifi/iwl-4965.c | 2 +- drivers/video/matrox/matroxfb_base.c | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 44ad90c03c2..d3d0886d637 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c @@ -78,9 +78,9 @@ MODULE_LICENSE("GPL"); static uid_t asus_uid; static gid_t asus_gid; module_param(asus_uid, uint, 0); -MODULE_PARM_DESC(asus_uid, "UID for entries in /proc/acpi/asus.\n"); +MODULE_PARM_DESC(asus_uid, "UID for entries in /proc/acpi/asus"); module_param(asus_gid, uint, 0); -MODULE_PARM_DESC(asus_gid, "GID for entries in /proc/acpi/asus.\n"); +MODULE_PARM_DESC(asus_gid, "GID for entries in /proc/acpi/asus"); /* For each model, all features implemented, * those marked with R are relative to HOTK, A for absolute */ diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c index d625169c8e4..0c81ca73128 100644 --- a/drivers/block/aoe/aoenet.c +++ b/drivers/block/aoe/aoenet.c @@ -30,7 +30,7 @@ enum { static char aoe_iflist[IFLISTSZ]; module_param_string(aoe_iflist, aoe_iflist, IFLISTSZ, 0600); -MODULE_PARM_DESC(aoe_iflist, "aoe_iflist=\"dev1 [dev2 ...]\"\n"); +MODULE_PARM_DESC(aoe_iflist, "aoe_iflist=\"dev1 [dev2 ...]\""); #ifndef MODULE static int __init aoe_iflist_setup(char *str) diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index 349ac3d3b84..637bd7faf13 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c @@ -38,7 +38,7 @@ int radeon_no_wb; -MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers\n"); +MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); module_param_named(no_wb, radeon_no_wb, int, 0444); static int dri_library_name(struct drm_device *dev, char *buf) diff --git a/drivers/infiniband/hw/ipath/ipath_iba7220.c b/drivers/infiniband/hw/ipath/ipath_iba7220.c index fb70712ac85..fadbfbf55a6 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba7220.c +++ b/drivers/infiniband/hw/ipath/ipath_iba7220.c @@ -528,7 +528,7 @@ static const struct ipath_cregs ipath_7220_cregs = { static char int_type[16] = "auto"; module_param_string(interrupt_type, int_type, sizeof(int_type), 0444); -MODULE_PARM_DESC(int_type, " interrupt_type=auto|force_msi|force_intx\n"); +MODULE_PARM_DESC(int_type, " interrupt_type=auto|force_msi|force_intx"); /* packet rate matching delay; chip has support */ static u8 rate_to_delay[2][2] = { diff --git a/drivers/media/video/cs5345.c b/drivers/media/video/cs5345.c index 61d14d26686..a662b15d5b9 100644 --- a/drivers/media/video/cs5345.c +++ b/drivers/media/video/cs5345.c @@ -35,7 +35,7 @@ static int debug; module_param(debug, bool, 0644); -MODULE_PARM_DESC(debug, "Debugging messages\n\t\t\t0=Off (default), 1=On"); +MODULE_PARM_DESC(debug, "Debugging messages, 0=Off (default), 1=On"); /* ----------------------------------------------------------------------- */ diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c index e30a589c0e1..c4444500b33 100644 --- a/drivers/media/video/cs53l32a.c +++ b/drivers/media/video/cs53l32a.c @@ -39,7 +39,7 @@ static int debug; module_param(debug, bool, 0644); -MODULE_PARM_DESC(debug, "Debugging messages\n\t\t\t0=Off (default), 1=On"); +MODULE_PARM_DESC(debug, "Debugging messages, 0=Off (default), 1=On"); static unsigned short normal_i2c[] = { 0x22 >> 1, I2C_CLIENT_END }; diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c index b31ba4e0932..56808cd2f8a 100644 --- a/drivers/media/video/mt9v022.c +++ b/drivers/media/video/mt9v022.c @@ -25,7 +25,7 @@ static char *sensor_type; module_param(sensor_type, charp, S_IRUGO); -MODULE_PARM_DESC(sensor_type, "Sensor type: \"colour\" or \"monochrome\"\n"); +MODULE_PARM_DESC(sensor_type, "Sensor type: \"colour\" or \"monochrome\""); /* mt9v022 selected register addresses */ #define MT9V022_CHIP_VERSION 0x00 diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index e13966bb5f7..9681618c323 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -53,7 +53,7 @@ MODULE_LICENSE("GPL"); static char config[MAX_PARAM_LENGTH]; module_param_string(netconsole, config, MAX_PARAM_LENGTH, 0); -MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@/[tgt-macaddr]\n"); +MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@/[tgt-macaddr]"); #ifndef MODULE static int __init option_setup(char *opt) diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index 7766cde0d63..bf621328b60 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c @@ -95,20 +95,20 @@ MODULE_DESCRIPTION("3Com 3C359 Velocity XL Token Ring Adapter Driver \n") ; static int ringspeed[XL_MAX_ADAPTERS] = {0,} ; module_param_array(ringspeed, int, NULL, 0); -MODULE_PARM_DESC(ringspeed,"3c359: Ringspeed selection - 4,16 or 0") ; +MODULE_PARM_DESC(ringspeed,"3c359: Ringspeed selection - 4,16 or 0") ; /* Packet buffer size */ static int pkt_buf_sz[XL_MAX_ADAPTERS] = {0,} ; module_param_array(pkt_buf_sz, int, NULL, 0) ; -MODULE_PARM_DESC(pkt_buf_sz,"3c359: Initial buffer size") ; +MODULE_PARM_DESC(pkt_buf_sz,"3c359: Initial buffer size") ; /* Message Level */ -static int message_level[XL_MAX_ADAPTERS] = {0,} ; +static int message_level[XL_MAX_ADAPTERS] = {0,} ; module_param_array(message_level, int, NULL, 0) ; -MODULE_PARM_DESC(message_level, "3c359: Level of reported messages \n") ; +MODULE_PARM_DESC(message_level, "3c359: Level of reported messages") ; /* * This is a real nasty way of doing this, but otherwise you * will be stuck with 1555 lines of hex #'s in the code. diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 1acfbcd3703..846a7d05185 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -11946,7 +11946,7 @@ module_param(auto_create, int, 0444); MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); module_param(led, int, 0444); -MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); +MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)"); module_param(debug, int, 0444); MODULE_PARM_DESC(debug, "debug output mask"); diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 9afecb81371..ba2df1ba32d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c @@ -2469,7 +2469,7 @@ MODULE_PARM_DESC(antenna, "select antenna (1=Main, 2=Aux, default 0 [both])"); module_param_named(disable, iwl4965_mod_params.disable, int, 0444); MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); module_param_named(swcrypto, iwl4965_mod_params.sw_crypto, int, 0444); -MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])\n"); +MODULE_PARM_DESC(swcrypto, "using crypto in software (default 0 [hardware])"); module_param_named(debug, iwl4965_mod_params.debug, int, 0444); MODULE_PARM_DESC(debug, "debug output mask"); module_param_named( diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index 54e82f35353..c0213620279 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ b/drivers/video/matrox/matroxfb_base.c @@ -2536,7 +2536,7 @@ module_param(fh, int, 0); MODULE_PARM_DESC(fh, "Startup horizontal frequency, 0-999kHz, 1000-INF Hz"); module_param(fv, int, 0); MODULE_PARM_DESC(fv, "Startup vertical frequency, 0-INF Hz\n" -"You should specify \"fv:max_monitor_vsync,fh:max_monitor_hsync,maxclk:max_monitor_dotclock\"\n"); +"You should specify \"fv:max_monitor_vsync,fh:max_monitor_hsync,maxclk:max_monitor_dotclock\""); module_param(grayscale, int, 0); MODULE_PARM_DESC(grayscale, "Sets display into grayscale. Works perfectly with paletized videomode (4, 8bpp), some limitations apply to 16, 24 and 32bpp videomodes (default=nograyscale)"); module_param(cross4MB, int, 0); -- cgit v1.2.3-70-g09d2 From 8c275ce327447f4cf3d0904d1a5a6ffa1b92de7f Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 5 Aug 2008 13:01:42 -0700 Subject: drivers/media/video/vino.c needs v4l2-ioctl.h mips allmodconfig: drivers/media/video/vino.c: In function `vino_free_buffer_with_count': drivers/media/video/vino.c:811: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast drivers/media/video/vino.c: In function `vino_allocate_buffer': drivers/media/video/vino.c:889: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast drivers/media/video/vino.c: In function `vino_ioctl': drivers/media/video/vino.c:4364: error: implicit declaration of function `video_usercopy' The patch fixes the error, but not the warnings. Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/media/video/vino.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/media/video') diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c index 3989b0eded2..ef7572cbc4a 100644 --- a/drivers/media/video/vino.c +++ b/drivers/media/video/vino.c @@ -39,6 +39,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3-70-g09d2 From edc9189c879af8cc8f1bf9746e63c5b014801a8a Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Mon, 28 Jul 2008 15:39:38 -0300 Subject: V4L/DVB (8549a): fix kernel-doc warning, function name, and docbook filename Change function name in kernel-doc and add kernel-doc for parameter @index: Warning(linhead//drivers/media/video/videodev.c:2090): No description found for parameter 'index' Also change source file name in DocBook/videobook.tmpl to match the new source file name. Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/videobook.tmpl | 2 +- drivers/media/video/v4l2-dev.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'drivers/media/video') diff --git a/Documentation/DocBook/videobook.tmpl b/Documentation/DocBook/videobook.tmpl index 89817795e66..0bc25949b66 100644 --- a/Documentation/DocBook/videobook.tmpl +++ b/Documentation/DocBook/videobook.tmpl @@ -1648,7 +1648,7 @@ static struct video_buffer capture_fb; Public Functions Provided -!Edrivers/media/video/videodev.c +!Edrivers/media/video/v4l2-dev.c diff --git a/drivers/media/video/v4l2-dev.c b/drivers/media/video/v4l2-dev.c index 556615fe93d..6f36006aecd 100644 --- a/drivers/media/video/v4l2-dev.c +++ b/drivers/media/video/v4l2-dev.c @@ -222,11 +222,13 @@ int video_register_device(struct video_device *vfd, int type, int nr) EXPORT_SYMBOL(video_register_device); /** - * video_register_device - register video4linux devices + * video_register_device_index - register video4linux devices * @vfd: video device structure we want to register * @type: type of device to register * @nr: which device number (0 == /dev/video0, 1 == /dev/video1, ... * -1 == first free) + * @index: stream number based on parent device; + * -1 if auto assign, requested number otherwise * * The registration code assigns minor numbers based on the type * requested. -ENFILE is returned in all the device slots for this -- cgit v1.2.3-70-g09d2 From 738608ae08572bf915c3fcd40e9579fbca06464b Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Mon, 28 Jul 2008 06:41:51 -0300 Subject: V4L/DVB (8550): gspca: Change a bit the init of ov7660 and Sonix JPEG bridges. Set back some values of gspcav1 in init of sonixj sensor ov7660. Add some comments. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/sonixj.c | 46 +++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 25 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 33a3df1f691..65452f3b194 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -360,17 +360,15 @@ static const __u8 ov7660_sensor_init[][8] = { {0xa1, 0x21, 0x12, 0x80, 0x00, 0x00, 0x00, 0x10}, /* reset SCCB */ /* (delay 20ms) */ {0xa1, 0x21, 0x12, 0x05, 0x00, 0x00, 0x00, 0x10}, - /* Outformat ?? rawRGB */ + /* Outformat = rawRGB */ {0xa1, 0x21, 0x13, 0xb8, 0x00, 0x00, 0x00, 0x10}, /* init COM8 */ - {0xd1, 0x21, 0x00, 0x01, 0x74, 0x92, 0x00, 0x10}, -/* {0xd1, 0x21, 0x00, 0x01, 0x74, 0x74, 0x00, 0x10}, */ + {0xd1, 0x21, 0x00, 0x01, 0x74, 0x74, 0x00, 0x10}, /* GAIN BLUE RED VREF */ {0xd1, 0x21, 0x04, 0x00, 0x7d, 0x62, 0x00, 0x10}, /* COM 1 BAVE GEAVE AECHH */ {0xb1, 0x21, 0x08, 0x83, 0x01, 0x00, 0x00, 0x10}, /* RAVE COM2 */ {0xd1, 0x21, 0x0c, 0x00, 0x08, 0x04, 0x4f, 0x10}, /* COM 3 4 5 6 */ - {0xd1, 0x21, 0x10, 0x7f, 0x40, 0x05, 0xf8, 0x10}, -/* {0xd1, 0x21, 0x10, 0x7f, 0x40, 0x05, 0xff, 0x10}, */ + {0xd1, 0x21, 0x10, 0x7f, 0x40, 0x05, 0xff, 0x10}, /* AECH CLKRC COM7 COM8 */ {0xc1, 0x21, 0x14, 0x2c, 0x00, 0x02, 0x00, 0x10}, /* COM9 COM10 */ {0xd1, 0x21, 0x17, 0x10, 0x60, 0x02, 0x7b, 0x10}, @@ -379,8 +377,8 @@ static const __u8 ov7660_sensor_init[][8] = { {0xb1, 0x21, 0x1e, 0x01, 0x0e, 0x00, 0x00, 0x10}, /* MVFP LAEC */ {0xd1, 0x21, 0x20, 0x07, 0x07, 0x07, 0x07, 0x10}, /* BOS GBOS GROS ROS (BGGR offset) */ - {0xd1, 0x21, 0x24, 0x68, 0x58, 0xd4, 0x80, 0x10}, -/* {0xd1, 0x21, 0x24, 0x78, 0x68, 0xd4, 0x80, 0x10}, */ +/* {0xd1, 0x21, 0x24, 0x68, 0x58, 0xd4, 0x80, 0x10}, */ + {0xd1, 0x21, 0x24, 0x78, 0x68, 0xd4, 0x80, 0x10}, /* AEW AEB VPT BBIAS */ {0xd1, 0x21, 0x28, 0x80, 0x30, 0x00, 0x00, 0x10}, /* GbBIAS RSVD EXHCH EXHCL */ @@ -407,9 +405,9 @@ static const __u8 ov7660_sensor_init[][8] = { {0xd1, 0x21, 0x62, 0x00, 0x00, 0x50, 0x30, 0x10}, /* LCC1 LCC2 LCC3 LCC4 */ {0xa1, 0x21, 0x66, 0x00, 0x00, 0x00, 0x00, 0x10}, /* LCC5 */ - {0xd1, 0x21, 0x67, 0x80, 0x7a, 0x90, 0x80, 0x10}, + {0xd1, 0x21, 0x67, 0x80, 0x7a, 0x90, 0x80, 0x10}, /* MANU */ {0xa1, 0x21, 0x6b, 0x0a, 0x00, 0x00, 0x00, 0x10}, - /* band gap reference [0..3] DBLV */ + /* band gap reference [0:3] DBLV */ {0xd1, 0x21, 0x6c, 0x30, 0x48, 0x80, 0x74, 0x10}, /* gamma curve */ {0xd1, 0x21, 0x70, 0x64, 0x60, 0x5c, 0x58, 0x10}, /* gamma curve */ {0xd1, 0x21, 0x74, 0x54, 0x4c, 0x40, 0x38, 0x10}, /* gamma curve */ @@ -419,37 +417,35 @@ static const __u8 ov7660_sensor_init[][8] = { {0xd1, 0x21, 0x84, 0x6e, 0x77, 0x87, 0x95, 0x10}, /* gamma curve */ {0xc1, 0x21, 0x88, 0xaf, 0xc7, 0xdf, 0x00, 0x10}, /* gamma curve */ {0xc1, 0x21, 0x8b, 0x99, 0x99, 0xcf, 0x00, 0x10}, /* reserved */ - {0xb1, 0x21, 0x92, 0x00, 0x00, 0x00, 0x00, 0x10}, + {0xb1, 0x21, 0x92, 0x00, 0x00, 0x00, 0x00, 0x10}, /* DM_LNL/H */ /****** (some exchanges in the win trace) ******/ - {0xa1, 0x21, 0x1e, 0x01, 0x00, 0x00, 0x00, 0x10}, + {0xa1, 0x21, 0x1e, 0x01, 0x00, 0x00, 0x00, 0x10}, /* MVFP */ /* bits[3..0]reserved */ {0xa1, 0x21, 0x1e, 0x01, 0x00, 0x00, 0x00, 0x10}, {0xa1, 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x10}, /* VREF vertical frame ctrl */ {0xa1, 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x10}, - {0xa1, 0x21, 0x10, 0x20, 0x00, 0x00, 0x00, 0x10}, /* 0x20 */ - {0xa1, 0x21, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x10}, - {0xa1, 0x21, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x10}, -/* {0xa1, 0x21, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x10}, */ - {0xa1, 0x21, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x10}, - {0xb1, 0x21, 0x01, 0x78, 0x78, 0x00, 0x00, 0x10}, + {0xa1, 0x21, 0x10, 0x20, 0x00, 0x00, 0x00, 0x10}, /* AECH 0x20 */ + {0xa1, 0x21, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x10}, /* ADVFL */ + {0xa1, 0x21, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x10}, /* ADVFH */ + {0xa1, 0x21, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x10}, /* GAIN */ +/* {0xb1, 0x21, 0x01, 0x78, 0x78, 0x00, 0x00, 0x10}, * BLUE */ /****** (some exchanges in the win trace) ******/ {0xa1, 0x21, 0x93, 0x00, 0x00, 0x00, 0x00, 0x10},/* dummy line hight */ - {0xa1, 0x21, 0x92, 0x25, 0x00, 0x00, 0x00, 0x10},/* dummy line low */ - {0xa1, 0x21, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x10}, - {0xa1, 0x21, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x10}, - {0xa1, 0x21, 0x02, 0x90, 0x00, 0x00, 0x00, 0x10}, + {0xa1, 0x21, 0x92, 0x25, 0x00, 0x00, 0x00, 0x10}, /* dummy line low */ + {0xa1, 0x21, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x10}, /* EXHCH */ + {0xa1, 0x21, 0x2b, 0x00, 0x00, 0x00, 0x00, 0x10}, /* EXHCL */ +/* {0xa1, 0x21, 0x02, 0x90, 0x00, 0x00, 0x00, 0x10}, * RED */ /****** (some exchanges in the win trace) ******/ -/**********startsensor KO if changed !!****/ +/******!! startsensor KO if changed !!****/ {0xa1, 0x21, 0x93, 0x01, 0x00, 0x00, 0x00, 0x10}, {0xa1, 0x21, 0x92, 0xff, 0x00, 0x00, 0x00, 0x10}, {0xa1, 0x21, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x10}, {0xa1, 0x21, 0x2b, 0xc3, 0x00, 0x00, 0x00, 0x10}, -/* here may start the isoc exchanges */ {} }; -/* reg0x04 reg0x07 reg 0x10 */ -/* expo = (COM1 & 0x02) | (AECHH & 0x2f <<10) [ (AECh << 2) */ +/* reg 0x04 reg 0x07 reg 0x10 */ +/* expo = (COM1 & 0x02) | ((AECHH & 0x2f) << 10) | (AECh << 2) */ static const __u8 ov7648_sensor_init[][8] = { {0xC1, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00}, -- cgit v1.2.3-70-g09d2 From b01466e14ce82ff96b74db19ebdaefb34a430a24 Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Mon, 28 Jul 2008 07:52:27 -0300 Subject: V4L/DVB (8552): gspca: Bad pixel format in the spca508 subdriver. The pixel format should have been changed in changeset 6de914aaad86. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/spca508.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/spca508.c b/drivers/media/video/gspca/spca508.c index b608a27ad11..6e213cf24cb 100644 --- a/drivers/media/video/gspca/spca508.c +++ b/drivers/media/video/gspca/spca508.c @@ -63,22 +63,22 @@ static struct ctrl sd_ctrls[] = { }; static struct v4l2_pix_format sif_mode[] = { - {160, 120, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE, + {160, 120, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, .bytesperline = 160 * 3, .sizeimage = 160 * 120 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 3}, - {176, 144, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE, + {176, 144, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, .bytesperline = 176 * 3, .sizeimage = 176 * 144 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 2}, - {320, 240, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE, + {320, 240, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, .bytesperline = 320 * 3, .sizeimage = 320 * 240 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 1}, - {352, 288, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE, + {352, 288, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, .bytesperline = 352 * 3, .sizeimage = 352 * 288 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, -- cgit v1.2.3-70-g09d2 From 35774f42dc6e765fc1d8a92f36e218f617a17e1a Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 28 Jul 2008 18:07:35 -0300 Subject: V4L/DVB (8558): media/video/Kconfig: fix a typo Thanks to Hermann Gausterer for pointing this issue. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index d4a6e56a713..ecbfa1b39b7 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig @@ -630,7 +630,7 @@ config VIDEO_ZORAN_ZR36060 depends on VIDEO_ZORAN help Say Y to support Zoran boards based on 36060 chips. - This includes Iomega Bus, Pinnacle DC10, Linux media Labs 33 + This includes Iomega Buz, Pinnacle DC10, Linux media Labs 33 and 33 R10 and AverMedia 6 boards. config VIDEO_ZORAN_BUZ -- cgit v1.2.3-70-g09d2 From dfb9aff025c4c874f9169e2fd690ce6fee2309fe Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 28 Jul 2008 16:58:19 -0300 Subject: V4L/DVB (8563): fix drivers/media/video/arv.c compilation This patch fixes the following compile errors: <-- snip --> ... CC [M] drivers/media/video/arv.o /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c: In function 'ar_ioctl': /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c:544: error: implicit declaration of function 'video_usercopy' /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c: At top level: /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/media/video/arv.c:758: error: unknown field 'type' specified in initializer make[4]: *** [drivers/media/video/arv.o] Error 1 <-- snip --> Reported-by: Adrian Bunk Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/arv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/arv.c b/drivers/media/video/arv.c index 56ebfd5ef6f..9e436ad3d34 100644 --- a/drivers/media/video/arv.c +++ b/drivers/media/video/arv.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -755,7 +756,6 @@ static const struct file_operations ar_fops = { static struct video_device ar_template = { .name = "Colour AR VGA", - .type = VID_TYPE_CAPTURE, .fops = &ar_fops, .release = ar_release, .minor = -1, -- cgit v1.2.3-70-g09d2 From c2cfcf701881c9a4ef42d5a956f9f2d006c2af8e Mon Sep 17 00:00:00 2001 From: Yoichi Yuasa Date: Tue, 29 Jul 2008 05:30:58 -0300 Subject: V4L/DVB (8564): fix vino driver build error The vino driver needs #include drivers/media/video/vino.c: In function 'vino_ioctl': drivers/media/video/vino.c:4364: error: implicit declaration of function 'video_usercopy' make[3]: *** [drivers/media/video/vino.o] Error 1 Signed-off-by: Yoichi Yuasa Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/vino.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/media/video') diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c index ef7572cbc4a..1edda456fc6 100644 --- a/drivers/media/video/vino.c +++ b/drivers/media/video/vino.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3-70-g09d2 From 0cd6759da646aae9d117df278ce3d5f3cab31904 Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Tue, 29 Jul 2008 05:25:28 -0300 Subject: V4L/DVB (8567): gspca: hflip and vflip controls added for ov519 - ov7670 plus init cleanup. The hflip and vflip controls work for ov7670 only. This bridge/sensor inverts blue and red - not fixed. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/ov519.c | 114 ++++++++++++++++++++++++++++++++------ 1 file changed, 98 insertions(+), 16 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c index 83139efc462..b825941089b 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c @@ -48,6 +48,8 @@ struct sd { unsigned char brightness; unsigned char contrast; unsigned char colors; + __u8 hflip; + __u8 vflip; char compress; /* Should the next frame be compressed? */ char compress_inited; /* Are compression params uploaded? */ @@ -77,6 +79,10 @@ static int sd_setcontrast(struct gspca_dev *gspca_dev, __s32 val); static int sd_getcontrast(struct gspca_dev *gspca_dev, __s32 *val); static int sd_setcolors(struct gspca_dev *gspca_dev, __s32 val); static int sd_getcolors(struct gspca_dev *gspca_dev, __s32 *val); +static int sd_sethflip(struct gspca_dev *gspca_dev, __s32 val); +static int sd_gethflip(struct gspca_dev *gspca_dev, __s32 *val); +static int sd_setvflip(struct gspca_dev *gspca_dev, __s32 val); +static int sd_getvflip(struct gspca_dev *gspca_dev, __s32 *val); static struct ctrl sd_ctrls[] = { #define SD_BRIGHTNESS 0 @@ -121,6 +127,35 @@ static struct ctrl sd_ctrls[] = { .set = sd_setcolors, .get = sd_getcolors, }, +/* next controls work with ov7670 only */ + { + { + .id = V4L2_CID_HFLIP, + .type = V4L2_CTRL_TYPE_BOOLEAN, + .name = "Mirror", + .minimum = 0, + .maximum = 1, + .step = 1, +#define HFLIP_DEF 0 + .default_value = HFLIP_DEF, + }, + .set = sd_sethflip, + .get = sd_gethflip, + }, + { + { + .id = V4L2_CID_VFLIP, + .type = V4L2_CTRL_TYPE_BOOLEAN, + .name = "Vflip", + .minimum = 0, + .maximum = 1, + .step = 1, +#define VFLIP_DEF 0 + .default_value = VFLIP_DEF, + }, + .set = sd_setvflip, + .get = sd_getvflip, + }, }; static struct v4l2_pix_format vga_mode[] = { @@ -225,6 +260,7 @@ static struct v4l2_pix_format sif_mode[] = { #define OV7670_REG_VSTART 0x19 /* Vert start high bits */ #define OV7670_REG_VSTOP 0x1a /* Vert stop high bits */ #define OV7670_REG_MVFP 0x1e /* Mirror / vflip */ +#define OV7670_MVFP_VFLIP 0x10 /* vertical flip */ #define OV7670_MVFP_MIRROR 0x20 /* Mirror image */ #define OV7670_REG_AEW 0x24 /* AGC upper limit */ #define OV7670_REG_AEB 0x25 /* AGC lower limit */ @@ -930,7 +966,10 @@ static int ov7xx0_configure(struct sd *sd) { OV7670_REG_EDGE, 0 }, { 0x75, 0x05 }, { 0x76, 0xe1 }, { 0x4c, 0 }, { 0x77, 0x01 }, - { OV7670_REG_COM13, 0xc3 }, { 0x4b, 0x09 }, + { OV7670_REG_COM13, OV7670_COM13_GAMMA + | OV7670_COM13_UVSAT + | 2}, /* was 3 */ + { 0x4b, 0x09 }, { 0xc9, 0x60 }, { OV7670_REG_COM16, 0x38 }, { 0x56, 0x40 }, @@ -957,19 +996,6 @@ static int ov7xx0_configure(struct sd *sd) { 0x79, 0x05 }, { 0xc8, 0x30 }, { 0x79, 0x26 }, - /* Format YUV422 */ - { OV7670_REG_COM7, OV7670_COM7_YUV }, /* Selects YUV mode */ - { OV7670_REG_RGB444, 0 }, /* No RGB444 please */ - { OV7670_REG_COM1, 0 }, - { OV7670_REG_COM15, OV7670_COM15_R00FF }, - { OV7670_REG_COM9, 0x18 }, - /* 4x gain ceiling; 0x8 is reserved bit */ - { 0x4f, 0x80 }, /* "matrix coefficient 1" */ - { 0x50, 0x80 }, /* "matrix coefficient 2" */ - { 0x52, 0x22 }, /* "matrix coefficient 4" */ - { 0x53, 0x5e }, /* "matrix coefficient 5" */ - { 0x54, 0x80 }, /* "matrix coefficient 6" */ - { OV7670_REG_COM13, OV7670_COM13_GAMMA|OV7670_COM13_UVSAT }, }; PDEBUG(D_PROBE, "starting OV7xx0 configuration"); @@ -1375,6 +1401,8 @@ static int sd_config(struct gspca_dev *gspca_dev, sd->brightness = sd_ctrls[SD_BRIGHTNESS].qctrl.default_value; sd->contrast = sd_ctrls[SD_CONTRAST].qctrl.default_value; sd->colors = sd_ctrls[SD_COLOR].qctrl.default_value; + sd->hflip = HFLIP_DEF; + sd->vflip = VFLIP_DEF; return 0; error: PDEBUG(D_ERR, "OV519 Config failed"); @@ -1682,6 +1710,26 @@ static int mode_init_ov_sensor_regs(struct sd *sd, return 0; } +static void sethflip(struct sd *sd) +{ + if (sd->gspca_dev.streaming) + ov51x_stop(sd); + i2c_w_mask(sd, OV7670_REG_MVFP, + OV7670_MVFP_MIRROR * sd->hflip, OV7670_MVFP_MIRROR); + if (sd->gspca_dev.streaming) + ov51x_restart(sd); +} + +static void setvflip(struct sd *sd) +{ + if (sd->gspca_dev.streaming) + ov51x_stop(sd); + i2c_w_mask(sd, OV7670_REG_MVFP, + OV7670_MVFP_VFLIP * sd->vflip, OV7670_MVFP_VFLIP); + if (sd->gspca_dev.streaming) + ov51x_restart(sd); +} + static int set_ov_sensor_window(struct sd *sd, struct ovsensor_window *win) { @@ -1811,7 +1859,8 @@ static int set_ov_sensor_window(struct sd *sd, msleep(10); /* need to sleep between read and write to * same reg! */ i2c_w(sd, OV7670_REG_VREF, v); - + sethflip(sd); + setvflip(sd); } else { i2c_w(sd, 0x17, hwsbase + (win->x >> hwscale)); i2c_w(sd, 0x18, hwebase + ((win->x + win->width) >> hwscale)); @@ -2110,6 +2159,40 @@ static int sd_getcolors(struct gspca_dev *gspca_dev, __s32 *val) return 0; } +static int sd_sethflip(struct gspca_dev *gspca_dev, __s32 val) +{ + struct sd *sd = (struct sd *) gspca_dev; + + sd->hflip = val; + sethflip(sd); + return 0; +} + +static int sd_gethflip(struct gspca_dev *gspca_dev, __s32 *val) +{ + struct sd *sd = (struct sd *) gspca_dev; + + *val = sd->hflip; + return 0; +} + +static int sd_setvflip(struct gspca_dev *gspca_dev, __s32 val) +{ + struct sd *sd = (struct sd *) gspca_dev; + + sd->vflip = val; + setvflip(sd); + return 0; +} + +static int sd_getvflip(struct gspca_dev *gspca_dev, __s32 *val) +{ + struct sd *sd = (struct sd *) gspca_dev; + + *val = sd->vflip; + return 0; +} + /* sub-driver description */ static const struct sd_desc sd_desc = { .name = MODULE_NAME, @@ -2178,4 +2261,3 @@ module_exit(sd_mod_exit); module_param(frame_rate, int, 0644); MODULE_PARM_DESC(frame_rate, "Frame rate (5, 10, 15, 20 or 30 fps)"); - -- cgit v1.2.3-70-g09d2 From 8f47a3cefbb275893ce26ade7094599e4b129bb3 Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Tue, 29 Jul 2008 14:14:04 -0300 Subject: V4L/DVB (8569): gspca: Set back the old values of Sonix sn9c120 and cleanup source. The values from win traces do not seem to work while the webcams did work with gspca v1. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/sonixj.c | 184 ++++++++++++------------------------- 1 file changed, 59 insertions(+), 125 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 65452f3b194..b60ff600a75 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -148,55 +148,58 @@ static struct v4l2_pix_format vga_mode[] = { /*Data from sn9c102p+hv71331r */ static const __u8 sn_hv7131[] = { -/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 reg9 */ - 0x00, 0x03, 0x64, 0x00, 0x1A, 0x20, 0x20, 0x20, 0xA1, 0x11, -/* rega regb regc regd rege regf reg10 reg11 */ - 0x02, 0x09, 0x00, 0x00, 0x00, 0x10, 0x03, 0x00, /* 00 */ -/* reg12 reg13 reg14 reg15 reg16 reg17 reg18 reg19 reg1a reg1b */ - 0x00, 0x01, 0x03, 0x28, 0x1e, 0x41, 0x0a, 0x00, 0x00, 0x00, -/* reg1c reg1d reg1e reg1f reg20 reg21 reg22 reg23 */ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 +/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ + 0x00, 0x03, 0x64, 0x00, 0x1a, 0x20, 0x20, 0x20, +/* reg8 reg9 rega regb regc regd rege regf */ + 0xa1, 0x11, 0x02, 0x09, 0x00, 0x00, 0x00, 0x10, +/* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ + 0x03, 0x00, 0x00, 0x01, 0x03, 0x28, 0x1e, 0x41, +/* reg18 reg19 reg1a reg1b reg1c reg1d reg1e reg1f */ + 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; static const __u8 sn_mi0360[] = { -/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 reg9 */ - 0x00, 0x61, 0x44, 0x00, 0x1a, 0x20, 0x20, 0x20, 0xb1, 0x5d, -/* rega regb regc regd rege regf reg10 reg11 */ - 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, 0x03, 0x00, -/* reg12 reg13 reg14 reg15 reg16 reg17 reg18 reg19 reg1a reg1b */ - 0x00, 0x02, 0x0a, 0x28, 0x1e, 0x61, 0x06, 0x00, 0x00, 0x00, -/* reg1c reg1d reg1e reg1f reg20 reg21 reg22 reg23 */ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 +/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ + 0x00, 0x61, 0x44, 0x00, 0x1a, 0x20, 0x20, 0x20, +/* reg8 reg9 rega regb regc regd rege regf */ + 0xb1, 0x5d, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, +/* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ + 0x03, 0x00, 0x00, 0x02, 0x0a, 0x28, 0x1e, 0x61, +/* reg18 reg19 reg1a reg1b reg1c reg1d reg1e reg1f */ + 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; static const __u8 sn_mo4000[] = { -/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 */ - 0x12, 0x23, 0x60, 0x00, 0x1A, 0x00, 0x20, 0x18, 0x81, -/* reg9 rega regb regc regd rege regf reg10 reg11*/ - 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, -/* reg12 reg13 reg14 reg15 reg16 reg17 reg18 reg19 reg1a*/ - 0x0b, 0x0f, 0x14, 0x28, 0x1e, 0x40, 0x08, 0x00, 0x00, -/* reg1b reg1c reg1d reg1e reg1f reg20 reg21 reg22 reg23*/ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x25, 0x39, 0x4b, - 0x5c, 0x6b, 0x79, 0x87, 0x95, 0xa2, 0xaf, 0xbb, 0xc7, - 0xd3, 0xdf, 0xea, 0xf5 +/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ + 0x12, 0x23, 0x60, 0x00, 0x1a, 0x00, 0x20, 0x18, +/* reg8 reg9 rega regb regc regd rege regf */ + 0x81, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +/* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ + 0x03, 0x00, 0x0b, 0x0f, 0x14, 0x28, 0x1e, 0x40, +/* reg18 reg19 reg1a reg1b reg1c reg1d reg1e reg1f */ + 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; static const __u8 sn_ov7648[] = { - 0x00, 0x21, 0x62, 0x00, 0x1a, 0x20, 0x20, 0x20, 0xA1, 0x6E, 0x18, 0x65, - 0x00, 0x00, 0x00, 0x10, 0x03, 0x00, 0x00, 0x06, 0x06, 0x28, 0x1E, 0x82, - 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 +/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ + 0x00, 0x21, 0x62, 0x00, 0x1a, 0x20, 0x20, 0x20, +/* reg8 reg9 rega regb regc regd rege regf */ + 0xa1, 0x6e, 0x18, 0x65, 0x00, 0x00, 0x00, 0x10, +/* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ + 0x03, 0x00, 0x00, 0x06, 0x06, 0x28, 0x1e, 0x82, +/* reg18 reg19 reg1a reg1b reg1c reg1d reg1e reg1f */ + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00 }; static const __u8 sn_ov7660[] = { -/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 reg8 */ - 0x00, 0x61, 0x40, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x81, -/* reg9 rega regb regc regd rege regf reg10 reg11*/ - 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, -/* reg12 reg13 reg14 reg15 reg16 reg17 reg18 reg19 reg1a*/ - 0x01, 0x01, 0x14, 0x28, 0x1e, 0x00, 0x07, 0x00, 0x00, -/* reg1b reg1c reg1d reg1e reg1f reg20 reg21 reg22 reg23*/ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 +/* reg0 reg1 reg2 reg3 reg4 reg5 reg6 reg7 */ + 0x00, 0x61, 0x40, 0x00, 0x1a, 0x20, 0x20, 0x20, +/* reg8 reg9 rega regb regc regd rege regf */ + 0x81, 0x21, 0x07, 0x00, 0x00, 0x00, 0x00, 0x10, +/* reg10 reg11 reg12 reg13 reg14 reg15 reg16 reg17 */ + 0x03, 0x00, 0x01, 0x01, 0x08, 0x28, 0x1e, 0x20, +/* reg18 reg19 reg1a reg1b reg1c reg1d reg1e reg1f */ + 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; /* sequence specific to the sensors - !! index = SENSOR_xxx */ @@ -212,10 +215,6 @@ static const __u8 regsn20[] = { 0x00, 0x2d, 0x46, 0x5a, 0x6c, 0x7c, 0x8b, 0x99, 0xa6, 0xb2, 0xbf, 0xca, 0xd5, 0xe0, 0xeb, 0xf5, 0xff }; -static const __u8 regsn20_sn9c120[] = { - 0x00, 0x25, 0x3c, 0x50, 0x62, 0x72, 0x81, 0x90, - 0x9e, 0xab, 0xb8, 0xc5, 0xd1, 0xdd, 0xe9, 0xf4, 0xff -}; static const __u8 regsn20_sn9c325[] = { 0x0a, 0x3a, 0x56, 0x6c, 0x7e, 0x8d, 0x9a, 0xa4, 0xaf, 0xbb, 0xc5, 0xcd, 0xd5, 0xde, 0xe8, 0xed, 0xf5 @@ -227,21 +226,6 @@ static const __u8 reg84[] = { /* 0x00, 0x00, 0x00, 0x00, 0x00 */ 0xf7, 0x0f, 0x0a, 0x00, 0x00 }; -static const __u8 reg84_sn9c120_1[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x0c, 0x00, 0x00 -}; -static const __u8 reg84_sn9c120_2[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x0c, 0x02, 0x3b -}; -static const __u8 reg84_sn9c120_3[] = { - 0x14, 0x00, 0x27, 0x00, 0x08, 0x00, 0xeb, 0x0f, - 0xd5, 0x0f, 0x42, 0x00, 0x41, 0x00, 0xca, 0x0f, - 0xf5, 0x0f, 0x0c, 0x02, 0x3b -}; static const __u8 reg84_sn9c325[] = { 0x14, 0x00, 0x27, 0x00, 0x07, 0x00, 0xe4, 0x0f, 0xd3, 0x0f, 0x4b, 0x00, 0x48, 0x00, 0xc0, 0x0f, @@ -676,13 +660,12 @@ static int configure_gpio(struct gspca_dev *gspca_dev, const __u8 *reg9a; static const __u8 reg9a_def[] = {0x08, 0x40, 0x20, 0x10, 0x00, 0x04}; - static const __u8 reg9a_sn9c120[] = /* from win trace */ - {0x00, 0x40, 0x38, 0x30, 0x00, 0x20}; static const __u8 reg9a_sn9c325[] = {0x0a, 0x40, 0x38, 0x30, 0x00, 0x20}; + static const __u8 regd4[] = {0x60, 0x00, 0x00}; reg_w1(gspca_dev, 0xf1, 0x00); - reg_w1(gspca_dev, 0x01, sn9c1xx[0]); /*fixme:jfm was [1] en v1*/ + reg_w1(gspca_dev, 0x01, 0x00); /*jfm was sn9c1xx[1] in v1*/ /* configure gpio */ reg_w(gspca_dev, 0x01, &sn9c1xx[1], 2); @@ -692,25 +675,17 @@ static int configure_gpio(struct gspca_dev *gspca_dev, case BRIDGE_SN9C325: reg9a = reg9a_sn9c325; break; - case BRIDGE_SN9C120: - reg9a = reg9a_sn9c120; - break; default: reg9a = reg9a_def; break; } reg_w(gspca_dev, 0x9a, reg9a, 6); - reg_w1(gspca_dev, 0xd4, 0x60); /*fixme:jfm 60 00 00 (3) ? */ + reg_w(gspca_dev, 0xd4, regd4, sizeof regd4); /*fixme:jfm was 60 only*/ reg_w(gspca_dev, 0x03, &sn9c1xx[3], 0x0f); switch (sd->bridge) { - case BRIDGE_SN9C120: /* from win trace */ - reg_w1(gspca_dev, 0x01, 0x61); - reg_w1(gspca_dev, 0x17, 0x20); - reg_w1(gspca_dev, 0x01, 0x60); - break; case BRIDGE_SN9C325: reg_w1(gspca_dev, 0x01, 0x43); reg_w1(gspca_dev, 0x17, 0xae); @@ -819,10 +794,11 @@ static int sd_open(struct gspca_dev *gspca_dev) /* setup a selector by bridge */ reg_w1(gspca_dev, 0xf1, 0x01); - reg_r(gspca_dev, 0x00, 1); /* -> regF1 = 0x00 */ - reg_w1(gspca_dev, 0xf1, gspca_dev->usb_buf[0]); reg_r(gspca_dev, 0x00, 1); + reg_w1(gspca_dev, 0xf1, gspca_dev->usb_buf[0]); + reg_r(gspca_dev, 0x00, 1); /* get sonix chip id */ regF1 = gspca_dev->usb_buf[0]; + PDEBUG(D_PROBE, "Sonix chip id: %02x", regF1); switch (sd->bridge) { case BRIDGE_SN9C102P: if (regF1 != 0x11) @@ -933,15 +909,10 @@ static void setbrightness(struct gspca_dev *gspca_dev) sd->exposure = setexposure(gspca_dev, expo); break; case SENSOR_MI0360: - expo = sd->brightness >> 4; - sd->exposure = setexposure(gspca_dev, expo); - break; case SENSOR_MO4000: expo = sd->brightness >> 4; sd->exposure = setexposure(gspca_dev, expo); break; - case SENSOR_OV7660: - return; /*jfm??*/ } k2 = sd->brightness >> 10; @@ -954,8 +925,6 @@ static void setcontrast(struct gspca_dev *gspca_dev) __u8 k2; __u8 contrast[] = { 0x00, 0x00, 0x28, 0x00, 0x07, 0x00 }; - if (sd->sensor == SENSOR_OV7660) - return; /*jfm??*/ k2 = sd->contrast; contrast[2] = k2; contrast[0] = (k2 + 1) >> 1; @@ -982,15 +951,11 @@ static void sd_start(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; int i; - __u8 data; - __u8 reg1; - __u8 reg17; + __u8 reg1, reg17, reg18; const __u8 *sn9c1xx; int mode; static const __u8 C0[] = { 0x2d, 0x2d, 0x3a, 0x05, 0x04, 0x3f }; static const __u8 CA[] = { 0x28, 0xd8, 0x14, 0xec }; - static const __u8 CA_sn9c120[] = - { 0x14, 0xec, 0x0a, 0xf6 }; /* SN9C120 */ static const __u8 CE[] = { 0x32, 0xdd, 0x2d, 0xdd }; /* MI0360 */ static const __u8 CE_sn9c325[] = { 0x32, 0xdd, 0x32, 0xdd }; /* OV7648 - SN9C325 */ @@ -998,9 +963,7 @@ static void sd_start(struct gspca_dev *gspca_dev) sn9c1xx = sn_tb[(int) sd->sensor]; configure_gpio(gspca_dev, sn9c1xx); -/*fixme:jfm this sequence should appear at end of sd_start */ -/* with - reg_w1(gspca_dev, 0x01, 0x44); */ +/* reg_w1(gspca_dev, 0x01, 0x44); jfm from win trace*/ reg_w1(gspca_dev, 0x15, sn9c1xx[0x15]); reg_w1(gspca_dev, 0x16, sn9c1xx[0x16]); reg_w1(gspca_dev, 0x12, sn9c1xx[0x12]); @@ -1012,20 +975,16 @@ static void sd_start(struct gspca_dev *gspca_dev) reg_w1(gspca_dev, 0xc7, 0x00); reg_w1(gspca_dev, 0xc8, 0x50); reg_w1(gspca_dev, 0xc9, 0x3c); -/*fixme:jfm end of ending sequence */ reg_w1(gspca_dev, 0x18, sn9c1xx[0x18]); switch (sd->bridge) { case BRIDGE_SN9C325: - data = 0xae; - break; - case BRIDGE_SN9C120: - data = 0xa0; + reg17 = 0xae; break; default: - data = 0x60; + reg17 = 0x60; break; } - reg_w1(gspca_dev, 0x17, data); + reg_w1(gspca_dev, 0x17, reg17); reg_w1(gspca_dev, 0x05, sn9c1xx[5]); reg_w1(gspca_dev, 0x07, sn9c1xx[7]); reg_w1(gspca_dev, 0x06, sn9c1xx[6]); @@ -1040,20 +999,6 @@ static void sd_start(struct gspca_dev *gspca_dev) reg_w1(gspca_dev, 0x9a, 0x0a); reg_w1(gspca_dev, 0x99, 0x60); break; - case BRIDGE_SN9C120: - reg_w(gspca_dev, 0x20, regsn20_sn9c120, - sizeof regsn20_sn9c120); - for (i = 0; i < 2; i++) - reg_w(gspca_dev, 0x84, reg84_sn9c120_1, - sizeof reg84_sn9c120_1); - for (i = 0; i < 6; i++) - reg_w(gspca_dev, 0x84, reg84_sn9c120_2, - sizeof reg84_sn9c120_2); - reg_w(gspca_dev, 0x84, reg84_sn9c120_3, - sizeof reg84_sn9c120_3); - reg_w1(gspca_dev, 0x9a, 0x05); - reg_w1(gspca_dev, 0x99, 0x5b); - break; default: reg_w(gspca_dev, 0x20, regsn20, sizeof regsn20); for (i = 0; i < 8; i++) @@ -1103,22 +1048,14 @@ static void sd_start(struct gspca_dev *gspca_dev) /* reg1 = 0x44; */ /* reg1 = 0x46; (done) */ } else { - reg17 = 0xa2; /* 640 */ - reg1 = 0x40; + reg17 = 0x22; /* 640 MCKSIZE */ + reg1 = 0x06; } break; } reg_w(gspca_dev, 0xc0, C0, 6); + reg_w(gspca_dev, 0xca, CA, 4); switch (sd->bridge) { - case BRIDGE_SN9C120: /*jfm ?? */ - reg_w(gspca_dev, 0xca, CA_sn9c120, 4); - break; - default: - reg_w(gspca_dev, 0xca, CA, 4); - break; - } - switch (sd->bridge) { - case BRIDGE_SN9C120: /*jfm ?? */ case BRIDGE_SN9C325: reg_w(gspca_dev, 0xce, CE_sn9c325, 4); break; @@ -1129,14 +1066,13 @@ static void sd_start(struct gspca_dev *gspca_dev) } /* here change size mode 0 -> VGA; 1 -> CIF */ - data = 0x40 | sn9c1xx[0x18] | (mode << 4); - reg_w1(gspca_dev, 0x18, data); + reg18 = sn9c1xx[0x18] | (mode << 4); + reg_w1(gspca_dev, 0x18, reg18 | 0x40); reg_w(gspca_dev, 0x100, qtable4, 0x40); reg_w(gspca_dev, 0x140, qtable4 + 0x40, 0x40); - data = sn9c1xx[0x18] | (mode << 4); - reg_w1(gspca_dev, 0x18, data); + reg_w1(gspca_dev, 0x18, reg18); reg_w1(gspca_dev, 0x17, reg17); reg_w1(gspca_dev, 0x01, reg1); @@ -1164,12 +1100,11 @@ static void sd_stopN(struct gspca_dev *gspca_dev) i2c_w8(gspca_dev, stopmi0360); data = 0x29; break; - case SENSOR_MO4000: - break; case SENSOR_OV7648: data = 0x29; break; default: +/* case SENSOR_MO4000: */ /* case SENSOR_OV7660: */ break; } @@ -1296,6 +1231,7 @@ static unsigned int getexposure(struct gspca_dev *gspca_dev) (hexpo << 10) | (mexpo << 2) | lexpo); return (hexpo << 10) | (mexpo << 2) | lexpo; default: +/* case SENSOR_OV7648: * jfm: is it ok for 7648? */ /* case SENSOR_OV7660: */ /* read sensor exposure */ i2c_r5(gspca_dev, 0x04); @@ -1314,14 +1250,12 @@ static void getbrightness(struct gspca_dev *gspca_dev) /* hardcoded registers seem not readable */ switch (sd->sensor) { case SENSOR_HV7131R: -/* sd->brightness = 0x7fff; */ sd->brightness = getexposure(gspca_dev) >> 4; break; case SENSOR_MI0360: sd->brightness = getexposure(gspca_dev) << 4; break; case SENSOR_MO4000: -/* sd->brightness = 0x1fff; */ sd->brightness = getexposure(gspca_dev) << 4; break; } -- cgit v1.2.3-70-g09d2 From 335b3f88f2c3cb101059970f57860503b20d210f Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Wed, 30 Jul 2008 04:53:02 -0300 Subject: V4L/DVB (8571): gspca: Don't use CONFIG_VIDEO_ADV_DEBUG as a compile option. This option is changed to GSPCA_DEBUG and it is set by default in gspca.h. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/conex.c | 4 ++-- drivers/media/video/gspca/etoms.c | 4 ++-- drivers/media/video/gspca/gspca.c | 10 +++++----- drivers/media/video/gspca/gspca.h | 5 ++++- drivers/media/video/gspca/sonixb.c | 2 +- drivers/media/video/gspca/zc3xx.c | 6 +++--- 6 files changed, 17 insertions(+), 14 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/conex.c b/drivers/media/video/gspca/conex.c index 44b0bffeb20..cd3a3f5829b 100644 --- a/drivers/media/video/gspca/conex.c +++ b/drivers/media/video/gspca/conex.c @@ -123,7 +123,7 @@ static void reg_r(struct gspca_dev *gspca_dev, { struct usb_device *dev = gspca_dev->dev; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (len > sizeof gspca_dev->usb_buf) { err("reg_r: buffer overflow"); return; @@ -163,7 +163,7 @@ static void reg_w(struct gspca_dev *gspca_dev, { struct usb_device *dev = gspca_dev->dev; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (len > sizeof gspca_dev->usb_buf) { err("reg_w: buffer overflow"); return; diff --git a/drivers/media/video/gspca/etoms.c b/drivers/media/video/gspca/etoms.c index c8c2f02fcf0..6a4e68286ef 100644 --- a/drivers/media/video/gspca/etoms.c +++ b/drivers/media/video/gspca/etoms.c @@ -233,7 +233,7 @@ static void reg_r(struct gspca_dev *gspca_dev, { struct usb_device *dev = gspca_dev->dev; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (len > sizeof gspca_dev->usb_buf) { err("reg_r: buffer overflow"); return; @@ -271,7 +271,7 @@ static void reg_w(struct gspca_dev *gspca_dev, { struct usb_device *dev = gspca_dev->dev; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (len > sizeof gspca_dev->usb_buf) { err("reg_w: buffer overflow"); return; diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 3a051c925ff..7f773e37897 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c @@ -47,7 +47,7 @@ MODULE_LICENSE("GPL"); static int video_nr = -1; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG int gspca_debug = D_ERR | D_PROBE; EXPORT_SYMBOL(gspca_debug); @@ -677,7 +677,7 @@ static int try_fmt_vid_cap(struct gspca_dev *gspca_dev, w = fmt->fmt.pix.width; h = fmt->fmt.pix.height; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (gspca_debug & D_CONF) PDEBUG_MODE("try fmt cap", fmt->fmt.pix.pixelformat, w, h); #endif @@ -785,7 +785,7 @@ static int dev_open(struct inode *inode, struct file *file) } gspca_dev->users++; file->private_data = gspca_dev; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG /* activate the v4l2 debug */ if (gspca_debug & D_V4L2) gspca_dev->vdev.debug |= 3; @@ -1080,7 +1080,7 @@ static int vidioc_streamon(struct file *file, void *priv, if (ret < 0) goto out; } -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (gspca_debug & D_STREAM) { PDEBUG_MODE("stream on OK", gspca_dev->pixfmt, @@ -1913,7 +1913,7 @@ static void __exit gspca_exit(void) module_init(gspca_init); module_exit(gspca_exit); -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG module_param_named(debug, gspca_debug, int, 0644); MODULE_PARM_DESC(debug, "Debug (bit) 0x01:error 0x02:probe 0x04:config" diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index 3fd2c4eee20..67e448940ea 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h @@ -9,7 +9,10 @@ #include #include -#ifdef CONFIG_VIDEO_ADV_DEBUG +/* compilation option */ +#define GSPCA_DEBUG 1 + +#ifdef GSPCA_DEBUG /* GSPCA our debug messages */ extern int gspca_debug; #define PDEBUG(level, fmt, args...) \ diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index e18748c5a14..11210c71f66 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c @@ -408,7 +408,7 @@ static void reg_w(struct gspca_dev *gspca_dev, const __u8 *buffer, int len) { -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (len > sizeof gspca_dev->usb_buf) { PDEBUG(D_ERR|D_PACK, "reg_w: buffer overflow"); return; diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index 22a994ccb1d..bc7d0eedcd8 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c @@ -6469,7 +6469,7 @@ static void setcontrast(struct gspca_dev *gspca_dev) NULL, Tgradient_1, Tgradient_2, Tgradient_3, Tgradient_4, Tgradient_5, Tgradient_6 }; -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG __u8 v[16]; #endif @@ -6487,7 +6487,7 @@ static void setcontrast(struct gspca_dev *gspca_dev) else if (g <= 0) g = 1; reg_w(dev, g, 0x0120 + i); /* gamma */ -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (gspca_debug & D_CONF) v[i] = g; #endif @@ -6507,7 +6507,7 @@ static void setcontrast(struct gspca_dev *gspca_dev) g = 1; } reg_w(dev, g, 0x0130 + i); /* gradient */ -#ifdef CONFIG_VIDEO_ADV_DEBUG +#ifdef GSPCA_DEBUG if (gspca_debug & D_CONF) v[i] = g; #endif -- cgit v1.2.3-70-g09d2 From 01b988b2abdd60cc58c7916c5f91602d2571e0c5 Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Wed, 30 Jul 2008 05:33:11 -0300 Subject: V4L/DVB (8573): gspca: Bad scan of frame in spca505/506/508. Bug introduced in changeset 6de914aaad86. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/spca505.c | 2 +- drivers/media/video/gspca/spca506.c | 2 +- drivers/media/video/gspca/spca508.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/spca505.c b/drivers/media/video/gspca/spca505.c index 3c2be80cbd6..9cc178ee203 100644 --- a/drivers/media/video/gspca/spca505.c +++ b/drivers/media/video/gspca/spca505.c @@ -776,7 +776,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, default: data += 1; len -= 1; - gspca_frame_add(gspca_dev, FIRST_PACKET, frame, + gspca_frame_add(gspca_dev, INTER_PACKET, frame, data, len); break; } diff --git a/drivers/media/video/gspca/spca506.c b/drivers/media/video/gspca/spca506.c index 6fe715c80ad..b4cf36a80df 100644 --- a/drivers/media/video/gspca/spca506.c +++ b/drivers/media/video/gspca/spca506.c @@ -588,7 +588,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, default: data += 1; len -= 1; - gspca_frame_add(gspca_dev, FIRST_PACKET, frame, + gspca_frame_add(gspca_dev, INTER_PACKET, frame, data, len); break; } diff --git a/drivers/media/video/gspca/spca508.c b/drivers/media/video/gspca/spca508.c index 6e213cf24cb..a27686c8b84 100644 --- a/drivers/media/video/gspca/spca508.c +++ b/drivers/media/video/gspca/spca508.c @@ -1583,7 +1583,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, default: data += 1; len -= 1; - gspca_frame_add(gspca_dev, FIRST_PACKET, frame, + gspca_frame_add(gspca_dev, INTER_PACKET, frame, data, len); break; } -- cgit v1.2.3-70-g09d2 From 00b27ce6205be8a943ae63d7bcce5208a9802bc3 Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Wed, 30 Jul 2008 05:47:54 -0300 Subject: V4L/DVB (8574): gspca: Bad bytesperlines of pixelformat in spca505/506/508 and vc023x. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/spca505.c | 10 +++++----- drivers/media/video/gspca/spca506.c | 10 +++++----- drivers/media/video/gspca/spca508.c | 8 ++++---- drivers/media/video/gspca/vc032x.c | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/spca505.c b/drivers/media/video/gspca/spca505.c index 9cc178ee203..eda29d60935 100644 --- a/drivers/media/video/gspca/spca505.c +++ b/drivers/media/video/gspca/spca505.c @@ -61,27 +61,27 @@ static struct ctrl sd_ctrls[] = { static struct v4l2_pix_format vga_mode[] = { {160, 120, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 160 * 3, + .bytesperline = 160, .sizeimage = 160 * 120 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 5}, {176, 144, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 176 * 3, + .bytesperline = 176, .sizeimage = 176 * 144 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 4}, {320, 240, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 320 * 3, + .bytesperline = 320, .sizeimage = 320 * 240 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 2}, {352, 288, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 352 * 3, + .bytesperline = 352, .sizeimage = 352 * 288 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 1}, {640, 480, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 640 * 3, + .bytesperline = 640, .sizeimage = 640 * 480 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 0}, diff --git a/drivers/media/video/gspca/spca506.c b/drivers/media/video/gspca/spca506.c index b4cf36a80df..f622fa75766 100644 --- a/drivers/media/video/gspca/spca506.c +++ b/drivers/media/video/gspca/spca506.c @@ -112,27 +112,27 @@ static struct ctrl sd_ctrls[] = { static struct v4l2_pix_format vga_mode[] = { {160, 120, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 160 * 3, + .bytesperline = 160, .sizeimage = 160 * 120 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 5}, {176, 144, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 176 * 3, + .bytesperline = 176, .sizeimage = 176 * 144 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 4}, {320, 240, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 320 * 3, + .bytesperline = 320, .sizeimage = 320 * 240 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 2}, {352, 288, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 352 * 3, + .bytesperline = 352, .sizeimage = 352 * 288 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 1}, {640, 480, V4L2_PIX_FMT_SPCA505, V4L2_FIELD_NONE, - .bytesperline = 640 * 3, + .bytesperline = 640, .sizeimage = 640 * 480 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 0}, diff --git a/drivers/media/video/gspca/spca508.c b/drivers/media/video/gspca/spca508.c index a27686c8b84..699340c17de 100644 --- a/drivers/media/video/gspca/spca508.c +++ b/drivers/media/video/gspca/spca508.c @@ -64,22 +64,22 @@ static struct ctrl sd_ctrls[] = { static struct v4l2_pix_format sif_mode[] = { {160, 120, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, - .bytesperline = 160 * 3, + .bytesperline = 160, .sizeimage = 160 * 120 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 3}, {176, 144, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, - .bytesperline = 176 * 3, + .bytesperline = 176, .sizeimage = 176 * 144 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 2}, {320, 240, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, - .bytesperline = 320 * 3, + .bytesperline = 320, .sizeimage = 320 * 240 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 1}, {352, 288, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE, - .bytesperline = 352 * 3, + .bytesperline = 352, .sizeimage = 352 * 288 * 3 / 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 0}, diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c index a4221753e1b..f4a52956e0d 100644 --- a/drivers/media/video/gspca/vc032x.c +++ b/drivers/media/video/gspca/vc032x.c @@ -88,12 +88,12 @@ static struct ctrl sd_ctrls[] = { static struct v4l2_pix_format vc0321_mode[] = { {320, 240, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE, - .bytesperline = 320 * 2, + .bytesperline = 320, .sizeimage = 320 * 240 * 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 1}, {640, 480, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE, - .bytesperline = 640 * 2, + .bytesperline = 640, .sizeimage = 640 * 480 * 2, .colorspace = V4L2_COLORSPACE_SRGB, .priv = 0}, -- cgit v1.2.3-70-g09d2 From a674a3b492d8085fd02ee49ed11cb42c63f0f71a Mon Sep 17 00:00:00 2001 From: Eugeniy Meshcheryakov Date: Fri, 1 Aug 2008 08:23:41 -0300 Subject: V4L/DVB (8582): set mts_firmware for em2882 based Pinnacle Hybrid Pro Pinnacle Hybrid Pro (2304:0226) requires mts_firmware flag to have any sound. Without this flag it is useful only for watching silent movies. Signed-off-by: Eugeniy Meshcheryakov Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/em28xx/em28xx-cards.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/media/video') diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 476ae44a62d..452da70e719 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c @@ -1015,6 +1015,7 @@ struct em28xx_board em28xx_boards[] = { .valid = EM28XX_BOARD_NOT_VALIDATED, .vchannels = 3, .tuner_type = TUNER_XC2028, + .mts_firmware = 1, .decoder = EM28XX_TVP5150, .input = { { .type = EM28XX_VMUX_TELEVISION, -- cgit v1.2.3-70-g09d2 From 594f5b8b3cce6d3137ebf260b7386520b2534385 Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Fri, 1 Aug 2008 06:37:51 -0300 Subject: V4L/DVB (8602): gspca: Fix small bugs, simplify and cleanup ov519. The hflip and vflip controls work for ov519 - ov7670 only. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/ov519.c | 394 ++++++++++++++------------------------ 1 file changed, 143 insertions(+), 251 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c index b825941089b..b4f00ec0885 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c @@ -40,8 +40,7 @@ struct sd { struct gspca_dev gspca_dev; /* !! must be the first item */ /* Determined by sensor type */ - short maxwidth; - short maxheight; + char sif; unsigned char primary_i2c_slave; /* I2C write id of sensor */ @@ -85,7 +84,6 @@ static int sd_setvflip(struct gspca_dev *gspca_dev, __s32 val); static int sd_getvflip(struct gspca_dev *gspca_dev, __s32 *val); static struct ctrl sd_ctrls[] = { -#define SD_BRIGHTNESS 0 { { .id = V4L2_CID_BRIGHTNESS, @@ -94,12 +92,12 @@ static struct ctrl sd_ctrls[] = { .minimum = 0, .maximum = 255, .step = 1, - .default_value = 127, +#define BRIGHTNESS_DEF 127 + .default_value = BRIGHTNESS_DEF, }, .set = sd_setbrightness, .get = sd_getbrightness, }, -#define SD_CONTRAST 1 { { .id = V4L2_CID_CONTRAST, @@ -108,21 +106,22 @@ static struct ctrl sd_ctrls[] = { .minimum = 0, .maximum = 255, .step = 1, - .default_value = 127, +#define CONTRAST_DEF 127 + .default_value = CONTRAST_DEF, }, .set = sd_setcontrast, .get = sd_getcontrast, }, -#define SD_COLOR 2 { { .id = V4L2_CID_SATURATION, .type = V4L2_CTRL_TYPE_INTEGER, - .name = "Saturation", + .name = "Color", .minimum = 0, .maximum = 255, .step = 1, - .default_value = 127, +#define COLOR_DEF 127 + .default_value = COLOR_DEF, }, .set = sd_setcolors, .get = sd_getcolors, @@ -161,7 +160,7 @@ static struct ctrl sd_ctrls[] = { static struct v4l2_pix_format vga_mode[] = { {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, .bytesperline = 320, - .sizeimage = 320 * 240 * 3 / 8 + 589, + .sizeimage = 320 * 240 * 3 / 8 + 590, .colorspace = V4L2_COLORSPACE_JPEG, .priv = 1}, {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, @@ -173,12 +172,12 @@ static struct v4l2_pix_format vga_mode[] = { static struct v4l2_pix_format sif_mode[] = { {176, 144, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, .bytesperline = 176, - .sizeimage = 176 * 144 * 3 / 8 + 589, + .sizeimage = 176 * 144 * 3 / 8 + 590, .colorspace = V4L2_COLORSPACE_JPEG, .priv = 1}, {352, 288, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, .bytesperline = 352, - .sizeimage = 352 * 288 * 3 / 8 + 589, + .sizeimage = 352 * 288 * 3 / 8 + 590, .colorspace = V4L2_COLORSPACE_JPEG, .priv = 0}, }; @@ -294,16 +293,6 @@ static struct v4l2_pix_format sif_mode[] = { #define OV7670_REG_HAECC7 0xaa /* Hist AEC/AGC control 7 */ #define OV7670_REG_BD60MAX 0xab /* 60hz banding step limit */ -struct ovsensor_window { - short x; - short y; - short width; - short height; -/* int format; */ - short quarter; /* Scale width and height down 2x */ - short clockdiv; /* Clock divisor setting */ -}; - static unsigned char ov7670_abs_to_sm(unsigned char v) { if (v > 127) @@ -535,19 +524,6 @@ static int init_ov_sensor(struct sd *sd) return 0; } -/* Switch on standard JPEG compression. Returns 0 for success. */ -static int ov519_init_compression(struct sd *sd) -{ - if (!sd->compress_inited) { - if (reg_w_mask(sd, OV519_SYS_EN_CLK1, 1 << 2, 1 << 2) < 0) { - PDEBUG(D_ERR, "Error switching to compressed mode"); - return -EIO; - } - sd->compress_inited = 1; - } - return 0; -} - /* Set the read and write slave IDs. The "slave" argument is the write slave, * and the read slave will be set to (slave + 1). * This should not be called from outside the i2c I/O functions. @@ -717,21 +693,17 @@ static int ov8xx0_configure(struct sd *sd) return -1; } if ((rc & 3) == 1) { - PDEBUG(D_PROBE, "Sensor is an OV8610"); sd->sensor = SEN_OV8610; } else { PDEBUG(D_ERR, "Unknown image sensor version: %d", rc & 3); return -1; } PDEBUG(D_PROBE, "Writing 8610 registers"); - if (write_i2c_regvals(sd, - norm_8610, - sizeof norm_8610 / sizeof norm_8610[0])) + if (write_i2c_regvals(sd, norm_8610, ARRAY_SIZE(norm_8610))) return -1; /* Set sensor-specific vars */ - sd->maxwidth = 640; - sd->maxheight = 480; +/* sd->sif = 0; already done */ return 0; } @@ -861,7 +833,7 @@ static int ov7xx0_configure(struct sd *sd) { OV7670_REG_COM7, OV7670_COM7_RESET }, { OV7670_REG_TSLB, 0x04 }, /* OV */ { OV7670_REG_COM7, OV7670_COM7_FMT_VGA }, /* VGA */ - { OV7670_REG_CLKRC, 0x1 }, + { OV7670_REG_CLKRC, 0x01 }, /* * Set the hardware window. These values from OV don't entirely * make sense - hstop is less than hstart. But they work... @@ -875,16 +847,12 @@ static int ov7xx0_configure(struct sd *sd) { 0x70, 0x3a }, { 0x71, 0x35 }, { 0x72, 0x11 }, { 0x73, 0xf0 }, { 0xa2, 0x02 }, -/* jfm */ -/* { OV7670_REG_COM10, 0x0 }, */ +/* { OV7670_REG_COM10, 0x0 }, */ /* Gamma curve values */ { 0x7a, 0x20 }, -/* jfm:win 7b=1c */ { 0x7b, 0x10 }, -/* jfm:win 7c=28 */ { 0x7c, 0x1e }, -/* jfm:win 7d=3c */ { 0x7d, 0x35 }, { 0x7e, 0x5a }, { 0x7f, 0x69 }, { 0x80, 0x76 }, { 0x81, 0x80 }, @@ -900,13 +868,11 @@ static int ov7xx0_configure(struct sd *sd) | OV7670_COM8_BFILT }, { OV7670_REG_GAIN, 0 }, { OV7670_REG_AECH, 0 }, { OV7670_REG_COM4, 0x40 }, /* magic reserved bit */ -/* jfm:win 14=38 */ { OV7670_REG_COM9, 0x18 }, /* 4x gain + magic rsvd bit */ { OV7670_REG_BD50MAX, 0x05 }, { OV7670_REG_BD60MAX, 0x07 }, { OV7670_REG_AEW, 0x95 }, { OV7670_REG_AEB, 0x33 }, { OV7670_REG_VPT, 0xe3 }, { OV7670_REG_HAECC1, 0x78 }, { OV7670_REG_HAECC2, 0x68 }, -/* jfm:win a1=0b */ { 0xa1, 0x03 }, /* magic */ { OV7670_REG_HAECC3, 0xd8 }, { OV7670_REG_HAECC4, 0xd8 }, { OV7670_REG_HAECC5, 0xf0 }, { OV7670_REG_HAECC6, 0x90 }, @@ -920,8 +886,6 @@ static int ov7xx0_configure(struct sd *sd) /* Almost all of these are magic "reserved" values. */ { OV7670_REG_COM5, 0x61 }, { OV7670_REG_COM6, 0x4b }, { 0x16, 0x02 }, -/* jfm */ -/* { OV7670_REG_MVFP, 0x07|OV7670_MVFP_MIRROR }, */ { OV7670_REG_MVFP, 0x07 }, { 0x21, 0x02 }, { 0x22, 0x91 }, { 0x29, 0x07 }, { 0x33, 0x0b }, @@ -995,17 +959,10 @@ static int ov7xx0_configure(struct sd *sd) { 0x79, 0x03 }, { 0xc8, 0x40 }, { 0x79, 0x05 }, { 0xc8, 0x30 }, { 0x79, 0x26 }, - -}; + }; PDEBUG(D_PROBE, "starting OV7xx0 configuration"); -/* jfm:already done? */ - if (init_ov_sensor(sd) < 0) - PDEBUG(D_ERR, "Failed to read sensor ID"); - else - PDEBUG(D_PROBE, "OV7xx0 initialized"); - /* Detect sensor (sub)type */ rc = i2c_r(sd, OV7610_REG_COM_I); @@ -1051,20 +1008,25 @@ static int ov7xx0_configure(struct sd *sd) return low; } if (high == 0x76) { - if (low == 0x30) { + switch (low) { + case 0x30: PDEBUG(D_PROBE, "Sensor is an OV7630/OV7635"); sd->sensor = SEN_OV7630; - } else if (low == 0x40) { + break; + case 0x40: PDEBUG(D_PROBE, "Sensor is an OV7645"); sd->sensor = SEN_OV7640; /* FIXME */ - } else if (low == 0x45) { + break; + case 0x45: PDEBUG(D_PROBE, "Sensor is an OV7645B"); sd->sensor = SEN_OV7640; /* FIXME */ - } else if (low == 0x48) { + break; + case 0x48: PDEBUG(D_PROBE, "Sensor is an OV7648"); sd->sensor = SEN_OV7640; /* FIXME */ - } else { - PDEBUG(D_PROBE, "Unknown sensor: 0x76%X", low); + break; + default: + PDEBUG(D_PROBE, "Unknown sensor: 0x76%x", low); return -1; } } else { @@ -1076,34 +1038,34 @@ static int ov7xx0_configure(struct sd *sd) return -1; } - if (sd->sensor == SEN_OV7620) { + switch (sd->sensor) { + case SEN_OV7620: PDEBUG(D_PROBE, "Writing 7620 registers"); - if (write_i2c_regvals(sd, norm_7620, - sizeof norm_7620 / sizeof norm_7620[0])) + if (write_i2c_regvals(sd, norm_7620, ARRAY_SIZE(norm_7620))) return -1; - } else if (sd->sensor == SEN_OV7630) { + break; + case SEN_OV7630: PDEBUG(D_ERR, "7630 is not supported by this driver version"); return -1; - } else if (sd->sensor == SEN_OV7640) { + case SEN_OV7640: PDEBUG(D_PROBE, "Writing 7640 registers"); - if (write_i2c_regvals(sd, norm_7640, - sizeof norm_7640 / sizeof norm_7640[0])) + if (write_i2c_regvals(sd, norm_7640, ARRAY_SIZE(norm_7640))) return -1; - } else if (sd->sensor == SEN_OV7670) { + break; + case SEN_OV7670: PDEBUG(D_PROBE, "Writing 7670 registers"); - if (write_i2c_regvals(sd, norm_7670, - sizeof norm_7670 / sizeof norm_7670[0])) + if (write_i2c_regvals(sd, norm_7670, ARRAY_SIZE(norm_7670))) return -1; - } else { + break; + default: PDEBUG(D_PROBE, "Writing 7610 registers"); - if (write_i2c_regvals(sd, norm_7610, - sizeof norm_7610 / sizeof norm_7610[0])) + if (write_i2c_regvals(sd, norm_7610, ARRAY_SIZE(norm_7610))) return -1; + break; } /* Set sensor-specific vars */ - sd->maxwidth = 640; - sd->maxheight = 480; +/* sd->sif = 0; already done */ return 0; } @@ -1257,43 +1219,45 @@ static int ov6xx0_configure(struct sd *sd) /* Ugh. The first two bits are the version bits, but * the entire register value must be used. I guess OVT * underestimated how many variants they would make. */ - if (rc == 0x00) { + switch (rc) { + case 0x00: sd->sensor = SEN_OV6630; PDEBUG(D_ERR, "WARNING: Sensor is an OV66308. Your camera may have"); PDEBUG(D_ERR, "been misdetected in previous driver versions."); - } else if (rc == 0x01) { + break; + case 0x01: sd->sensor = SEN_OV6620; - PDEBUG(D_PROBE, "Sensor is an OV6620"); - } else if (rc == 0x02) { + break; + case 0x02: sd->sensor = SEN_OV6630; PDEBUG(D_PROBE, "Sensor is an OV66308AE"); - } else if (rc == 0x03) { + break; + case 0x03: sd->sensor = SEN_OV6630; PDEBUG(D_PROBE, "Sensor is an OV66308AF"); - } else if (rc == 0x90) { + break; + case 0x90: sd->sensor = SEN_OV6630; PDEBUG(D_ERR, "WARNING: Sensor is an OV66307. Your camera may have"); PDEBUG(D_ERR, "been misdetected in previous driver versions."); - } else { + break; + default: PDEBUG(D_ERR, "FATAL: Unknown sensor version: 0x%02x", rc); return -1; } /* Set sensor-specific vars */ - sd->maxwidth = 352; - sd->maxheight = 288; + sd->sif = 1; if (sd->sensor == SEN_OV6620) { PDEBUG(D_PROBE, "Writing 6x20 registers"); - if (write_i2c_regvals(sd, norm_6x20, - sizeof norm_6x20 / sizeof norm_6x20[0])) + if (write_i2c_regvals(sd, norm_6x20, ARRAY_SIZE(norm_6x20))) return -1; } else { PDEBUG(D_PROBE, "Writing 6x30 registers"); - if (write_i2c_regvals(sd, norm_6x30, - sizeof norm_6x30 / sizeof norm_6x30[0])) + if (write_i2c_regvals(sd, norm_6x30, ARRAY_SIZE(norm_6x30))) return -1; } return 0; @@ -1302,14 +1266,8 @@ static int ov6xx0_configure(struct sd *sd) /* Turns on or off the LED. Only has an effect with OV511+/OV518(+)/OV519 */ static void ov51x_led_control(struct sd *sd, int on) { - PDEBUG(D_STREAM, "LED (%s)", on ? "on" : "off"); - -/* if (sd->bridge == BRG_OV511PLUS) */ -/* reg_w(sd, R511_SYS_LED_CTL, on ? 1 : 0); */ -/* else if (sd->bridge == BRG_OV519) */ - reg_w_mask(sd, OV519_GPIO_DATA_OUT0, !on, 1); /* 0 / 1 */ -/* else if (sd->bclass == BCL_OV518) */ -/* reg_w_mask(sd, R518_GPIO_OUT, on ? 0x02 : 0x00, 0x02); */ +/* PDEBUG(D_STREAM, "LED (%s)", on ? "on" : "off"); */ + reg_w_mask(sd, OV519_GPIO_DATA_OUT0, !on, 1); /* 0 / 1 */ } /* this function is called at probe time */ @@ -1319,11 +1277,8 @@ static int sd_config(struct gspca_dev *gspca_dev, struct sd *sd = (struct sd *) gspca_dev; struct cam *cam; -/* (from ov519_configure) */ static const struct ov_regvals init_519[] = { { 0x5a, 0x6d }, /* EnableSystem */ -/* jfm trace usbsnoop3-1.txt */ -/* jfm 53 = fb */ { 0x53, 0x9b }, { 0x54, 0xff }, /* set bit2 to enable jpeg */ { 0x5d, 0x03 }, @@ -1340,9 +1295,6 @@ static int sd_config(struct gspca_dev *gspca_dev, if (write_regvals(sd, init_519, ARRAY_SIZE(init_519))) goto error; -/* jfm: not seen in windows trace */ - if (ov519_init_compression(sd)) - goto error; ov51x_led_control(sd, 0); /* turn LED off */ /* Test for 76xx */ @@ -1391,16 +1343,16 @@ static int sd_config(struct gspca_dev *gspca_dev, cam = &gspca_dev->cam; cam->epaddr = OV511_ENDPOINT_ADDRESS; - if (sd->maxwidth == 640) { + if (!sd->sif) { cam->cam_mode = vga_mode; - cam->nmodes = sizeof vga_mode / sizeof vga_mode[0]; + cam->nmodes = ARRAY_SIZE(vga_mode); } else { cam->cam_mode = sif_mode; - cam->nmodes = sizeof sif_mode / sizeof sif_mode[0]; + cam->nmodes = ARRAY_SIZE(sif_mode); } - sd->brightness = sd_ctrls[SD_BRIGHTNESS].qctrl.default_value; - sd->contrast = sd_ctrls[SD_CONTRAST].qctrl.default_value; - sd->colors = sd_ctrls[SD_COLOR].qctrl.default_value; + sd->brightness = BRIGHTNESS_DEF; + sd->contrast = CONTRAST_DEF; + sd->colors = COLOR_DEF; sd->hflip = HFLIP_DEF; sd->vflip = VFLIP_DEF; return 0; @@ -1422,8 +1374,7 @@ static int sd_open(struct gspca_dev *gspca_dev) * * Do not put any sensor-specific code in here (including I2C I/O functions) */ -static int ov519_mode_init_regs(struct sd *sd, - int width, int height) +static int ov519_mode_init_regs(struct sd *sd) { static const struct ov_regvals mode_init_519_ov7670[] = { { 0x5d, 0x03 }, /* Turn off suspend mode */ @@ -1469,36 +1420,23 @@ static int ov519_mode_init_regs(struct sd *sd, /* windows reads 0x55 at this point, why? */ }; -/* int hi_res; */ - - PDEBUG(D_CONF, "mode init %dx%d", width, height); - -/* if (width >= 800 && height >= 600) - hi_res = 1; - else - hi_res = 0; */ - -/* if (ov51x_stop(sd) < 0) - return -EIO; */ - /******** Set the mode ********/ if (sd->sensor != SEN_OV7670) { if (write_regvals(sd, mode_init_519, ARRAY_SIZE(mode_init_519))) return -EIO; + if (sd->sensor == SEN_OV7640) { + /* Select 8-bit input mode */ + reg_w_mask(sd, OV519_CAM_DFR, 0x10, 0x10); + } } else { if (write_regvals(sd, mode_init_519_ov7670, ARRAY_SIZE(mode_init_519_ov7670))) return -EIO; } - if (sd->sensor == SEN_OV7640) { - /* Select 8-bit input mode */ - reg_w_mask(sd, OV519_CAM_DFR, 0x10, 0x10); - } - - reg_w(sd, OV519_CAM_H_SIZE, width >> 4); - reg_w(sd, OV519_CAM_V_SIZE, height >> 3); + reg_w(sd, OV519_CAM_H_SIZE, sd->gspca_dev.width >> 4); + reg_w(sd, OV519_CAM_V_SIZE, sd->gspca_dev.height >> 3); reg_w(sd, OV519_CAM_X_OFFSETL, 0x00); reg_w(sd, OV519_CAM_X_OFFSETH, 0x00); reg_w(sd, OV519_CAM_Y_OFFSETL, 0x00); @@ -1513,9 +1451,10 @@ static int ov519_mode_init_regs(struct sd *sd, /* FIXME: These are only valid at the max resolution. */ sd->clockdiv = 0; - if (sd->sensor == SEN_OV7640) { + switch (sd->sensor) { + case SEN_OV7640: switch (sd->frame_rate) { -/*jfm: default was 30 fps */ +/*fixme: default was 30 fps */ case 30: reg_w(sd, 0xa4, 0x0c); reg_w(sd, 0x23, 0xff); @@ -1545,7 +1484,8 @@ static int ov519_mode_init_regs(struct sd *sd, sd->clockdiv = 1; break; } - } else if (sd->sensor == SEN_OV8610) { + break; + case SEN_OV8610: switch (sd->frame_rate) { default: /* 15 fps */ /* case 15: */ @@ -1561,41 +1501,37 @@ static int ov519_mode_init_regs(struct sd *sd, reg_w(sd, 0x23, 0x1b); break; } - sd->clockdiv = 0; - } else if (sd->sensor == SEN_OV7670) { /* guesses, based on 7640 */ + break; + case SEN_OV7670: /* guesses, based on 7640 */ PDEBUG(D_STREAM, "Setting framerate to %d fps", (sd->frame_rate == 0) ? 15 : sd->frame_rate); + reg_w(sd, 0xa4, 0x10); switch (sd->frame_rate) { case 30: - reg_w(sd, 0xa4, 0x10); reg_w(sd, 0x23, 0xff); break; case 20: - reg_w(sd, 0xa4, 0x10); reg_w(sd, 0x23, 0x1b); break; - default: /* 15 fps */ -/* case 15: */ - reg_w(sd, 0xa4, 0x10); + default: +/* case 15: */ reg_w(sd, 0x23, 0xff); sd->clockdiv = 1; break; } + break; } -/* if (ov51x_restart(sd) < 0) - return -EIO; */ - - /* Reset it just for good measure */ -/* if (ov51x_reset(sd, OV511_RESET_NOREGS) < 0) - return -EIO; */ return 0; } -static int mode_init_ov_sensor_regs(struct sd *sd, - struct ovsensor_window *win) +static int mode_init_ov_sensor_regs(struct sd *sd) { - int qvga = win->quarter; + struct gspca_dev *gspca_dev; + int qvga; + + gspca_dev = &sd->gspca_dev; + qvga = gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv; /******** Mode (VGA/QVGA) and sensor specific regs ********/ switch (sd->sensor) { @@ -1639,8 +1575,6 @@ static int mode_init_ov_sensor_regs(struct sd *sd, OV7670_COM7_FMT_MASK); break; case SEN_OV6620: - i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20); - break; case SEN_OV6630: i2c_w_mask(sd, 0x14, qvga ? 0x20 : 0x00, 0x20); break; @@ -1649,24 +1583,21 @@ static int mode_init_ov_sensor_regs(struct sd *sd, } /******** Palette-specific regs ********/ -/* Need to do work here for the OV7670 */ - - if (sd->sensor == SEN_OV7610 || sd->sensor == SEN_OV76BE) { - /* not valid on the OV6620/OV7620/6630? */ - i2c_w_mask(sd, 0x0e, 0x00, 0x40); - } + if (sd->sensor == SEN_OV7610 || sd->sensor == SEN_OV76BE) { + /* not valid on the OV6620/OV7620/6630? */ + i2c_w_mask(sd, 0x0e, 0x00, 0x40); + } - /* The OV518 needs special treatment. Although both the OV518 - * and the OV6630 support a 16-bit video bus, only the 8 bit Y - * bus is actually used. The UV bus is tied to ground. - * Therefore, the OV6630 needs to be in 8-bit multiplexed - * output mode */ + /* The OV518 needs special treatment. Although both the OV518 + * and the OV6630 support a 16-bit video bus, only the 8 bit Y + * bus is actually used. The UV bus is tied to ground. + * Therefore, the OV6630 needs to be in 8-bit multiplexed + * output mode */ - /* OV7640 is 8-bit only */ + /* OV7640 is 8-bit only */ - if (sd->sensor != SEN_OV6630 && sd->sensor != SEN_OV7640) - i2c_w_mask(sd, 0x13, 0x00, 0x20); -/* } */ + if (sd->sensor != SEN_OV6630 && sd->sensor != SEN_OV7640) + i2c_w_mask(sd, 0x13, 0x00, 0x20); /******** Clock programming ********/ /* The OV6620 needs special handling. This prevents the @@ -1675,14 +1606,14 @@ static int mode_init_ov_sensor_regs(struct sd *sd, /* Clock down */ i2c_w(sd, 0x2a, 0x04); - i2c_w(sd, 0x11, win->clockdiv); + i2c_w(sd, 0x11, sd->clockdiv); i2c_w(sd, 0x2a, 0x84); /* This next setting is critical. It seems to improve * the gain or the contrast. The "reserved" bits seem * to have some effect in this case. */ i2c_w(sd, 0x2d, 0x85); - } else if (win->clockdiv >= 0) { - i2c_w(sd, 0x11, win->clockdiv); + } else if (sd->clockdiv >= 0) { + i2c_w(sd, 0x11, sd->clockdiv); } /******** Special Features ********/ @@ -1702,7 +1633,7 @@ static int mode_init_ov_sensor_regs(struct sd *sd, /* is fully tested. */ /* 7620/6620/6630? don't have register 0x35, so play it safe */ if (sd->sensor == SEN_OV7610 || sd->sensor == SEN_OV76BE) { - if (win->width == 640 /*&& win->height == 480*/) + if (!qvga) i2c_w(sd, 0x35, 0x9e); else i2c_w(sd, 0x35, 0x1e); @@ -1710,33 +1641,31 @@ static int mode_init_ov_sensor_regs(struct sd *sd, return 0; } -static void sethflip(struct sd *sd) -{ - if (sd->gspca_dev.streaming) - ov51x_stop(sd); - i2c_w_mask(sd, OV7670_REG_MVFP, - OV7670_MVFP_MIRROR * sd->hflip, OV7670_MVFP_MIRROR); - if (sd->gspca_dev.streaming) - ov51x_restart(sd); -} - -static void setvflip(struct sd *sd) +static void sethvflip(struct sd *sd) { + if (sd->sensor != SEN_OV7670) + return; if (sd->gspca_dev.streaming) ov51x_stop(sd); i2c_w_mask(sd, OV7670_REG_MVFP, - OV7670_MVFP_VFLIP * sd->vflip, OV7670_MVFP_VFLIP); + OV7670_MVFP_MIRROR * sd->hflip + | OV7670_MVFP_VFLIP * sd->vflip, + OV7670_MVFP_MIRROR | OV7670_MVFP_VFLIP); if (sd->gspca_dev.streaming) ov51x_restart(sd); } -static int set_ov_sensor_window(struct sd *sd, - struct ovsensor_window *win) +static int set_ov_sensor_window(struct sd *sd) { + struct gspca_dev *gspca_dev; + int qvga; int hwsbase, hwebase, vwsbase, vwebase, hwscale, vwscale; int ret, hstart, hstop, vstop, vstart; __u8 v; + gspca_dev = &sd->gspca_dev; + qvga = gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv; + /* The different sensor ICs handle setting up of window differently. * IF YOU SET IT WRONG, YOU WILL GET ALL ZERO ISOC DATA FROM OV51x!! */ switch (sd->sensor) { @@ -1781,7 +1710,7 @@ static int set_ov_sensor_window(struct sd *sd, switch (sd->sensor) { case SEN_OV6620: case SEN_OV6630: - if (win->quarter) { /* QCIF */ + if (qvga) { /* QCIF */ hwscale = 0; vwscale = 0; } else { /* CIF */ @@ -1791,7 +1720,7 @@ static int set_ov_sensor_window(struct sd *sd, } break; case SEN_OV8610: - if (win->quarter) { /* QSVGA */ + if (qvga) { /* QSVGA */ hwscale = 1; vwscale = 1; } else { /* SVGA */ @@ -1800,7 +1729,7 @@ static int set_ov_sensor_window(struct sd *sd, } break; default: /* SEN_OV7xx0 */ - if (win->quarter) { /* QVGA */ + if (qvga) { /* QVGA */ hwscale = 1; vwscale = 0; } else { /* VGA */ @@ -1809,7 +1738,7 @@ static int set_ov_sensor_window(struct sd *sd, } } - ret = mode_init_ov_sensor_regs(sd, win); + ret = mode_init_ov_sensor_regs(sd); if (ret < 0) return ret; @@ -1830,7 +1759,7 @@ static int set_ov_sensor_window(struct sd *sd, /* I can hard code this for OV7670s */ /* Yes, these numbers do look odd, but they're tested and work! */ if (sd->sensor == SEN_OV7670) { - if (win->quarter) { /* QVGA from ov7670.c by + if (qvga) { /* QVGA from ov7670.c by * Jonathan Corbet */ hstart = 164; hstop = 20; @@ -1844,76 +1773,45 @@ static int set_ov_sensor_window(struct sd *sd, } /* OV7670 hardware window registers are split across * multiple locations */ - i2c_w(sd, OV7670_REG_HSTART, (hstart >> 3) & 0xff); - i2c_w(sd, OV7670_REG_HSTOP, (hstop >> 3) & 0xff); + i2c_w(sd, OV7670_REG_HSTART, hstart >> 3); + i2c_w(sd, OV7670_REG_HSTOP, hstop >> 3); v = i2c_r(sd, OV7670_REG_HREF); v = (v & 0xc0) | ((hstop & 0x7) << 3) | (hstart & 0x07); msleep(10); /* need to sleep between read and write to * same reg! */ i2c_w(sd, OV7670_REG_HREF, v); - i2c_w(sd, OV7670_REG_VSTART, (vstart >> 2) & 0xff); - i2c_w(sd, OV7670_REG_VSTOP, (vstop >> 2) & 0xff); + i2c_w(sd, OV7670_REG_VSTART, vstart >> 2); + i2c_w(sd, OV7670_REG_VSTOP, vstop >> 2); v = i2c_r(sd, OV7670_REG_VREF); v = (v & 0xc0) | ((vstop & 0x3) << 2) | (vstart & 0x03); msleep(10); /* need to sleep between read and write to * same reg! */ i2c_w(sd, OV7670_REG_VREF, v); - sethflip(sd); - setvflip(sd); + sethvflip(sd); } else { - i2c_w(sd, 0x17, hwsbase + (win->x >> hwscale)); - i2c_w(sd, 0x18, hwebase + ((win->x + win->width) >> hwscale)); - i2c_w(sd, 0x19, vwsbase + (win->y >> vwscale)); - i2c_w(sd, 0x1a, vwebase + ((win->y + win->height) >> vwscale)); + i2c_w(sd, 0x17, hwsbase); + i2c_w(sd, 0x18, hwebase + (sd->gspca_dev.width >> hwscale)); + i2c_w(sd, 0x19, vwsbase); + i2c_w(sd, 0x1a, vwebase + (sd->gspca_dev.height >> vwscale)); } return 0; } -static int ov_sensor_mode_setup(struct sd *sd, - int width, int height) -{ - struct ovsensor_window win; - -/* win.format = mode; */ - - /* Unless subcapture is enabled, - * center the image window and downsample - * if possible to increase the field of view */ - /* NOTE: OV518(+) and OV519 does downsampling on its own */ - win.width = width; - win.height = height; - if (width == sd->maxwidth) - win.quarter = 0; - else - win.quarter = 1; - - /* Center it */ - win.x = (win.width - width) / 2; - win.y = (win.height - height) / 2; - - /* Clock is determined by OV519 frame rate code */ - win.clockdiv = sd->clockdiv; - - PDEBUG(D_CONF, "Setting clock divider to %d", win.clockdiv); - return set_ov_sensor_window(sd, &win); -} - /* -- start the camera -- */ static void sd_start(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; int ret; - - ret = ov519_mode_init_regs(sd, gspca_dev->width, gspca_dev->height); + ret = ov519_mode_init_regs(sd); if (ret < 0) goto out; - ret = ov_sensor_mode_setup(sd, gspca_dev->width, gspca_dev->height); + ret = set_ov_sensor_window(sd); if (ret < 0) goto out; - ret = ov51x_restart((struct sd *) gspca_dev); + ret = ov51x_restart(sd); if (ret < 0) goto out; PDEBUG(D_STREAM, "camera started alt: 0x%02x", gspca_dev->alt); @@ -1987,12 +1885,10 @@ static void setbrightness(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; int val; -/* int was_streaming; */ val = sd->brightness; PDEBUG(D_CONF, "brightness:%d", val); -/* was_streaming = gspca_dev->streaming; - * if (was_streaming) +/* if (gspca_dev->streaming) * ov51x_stop(sd); */ switch (sd->sensor) { case SEN_OV8610: @@ -2010,12 +1906,12 @@ static void setbrightness(struct gspca_dev *gspca_dev) i2c_w(sd, OV7610_REG_BRT, val); break; case SEN_OV7670: -/*jfm - from windblows +/*win trace * i2c_w_mask(sd, OV7670_REG_COM8, 0, OV7670_COM8_AEC); */ i2c_w(sd, OV7670_REG_BRIGHT, ov7670_abs_to_sm(val)); break; } -/* if (was_streaming) +/* if (gspca_dev->streaming) * ov51x_restart(sd); */ } @@ -2023,12 +1919,10 @@ static void setcontrast(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; int val; -/* int was_streaming; */ val = sd->contrast; PDEBUG(D_CONF, "contrast:%d", val); -/* was_streaming = gspca_dev->streaming; - if (was_streaming) +/* if (gspca_dev->streaming) ov51x_stop(sd); */ switch (sd->sensor) { case SEN_OV7610: @@ -2065,7 +1959,7 @@ static void setcontrast(struct gspca_dev *gspca_dev) i2c_w(sd, OV7670_REG_CONTRAS, val >> 1); break; } -/* if (was_streaming) +/* if (gspca_dev->streaming) ov51x_restart(sd); */ } @@ -2073,12 +1967,10 @@ static void setcolors(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; int val; -/* int was_streaming; */ val = sd->colors; PDEBUG(D_CONF, "saturation:%d", val); -/* was_streaming = gspca_dev->streaming; - if (was_streaming) +/* if (gspca_dev->streaming) ov51x_stop(sd); */ switch (sd->sensor) { case SEN_OV8610: @@ -2104,7 +1996,7 @@ static void setcolors(struct gspca_dev *gspca_dev) /* set REG_COM13 values for UV sat auto mode */ break; } -/* if (was_streaming) +/* if (gspca_dev->streaming) ov51x_restart(sd); */ } @@ -2164,7 +2056,7 @@ static int sd_sethflip(struct gspca_dev *gspca_dev, __s32 val) struct sd *sd = (struct sd *) gspca_dev; sd->hflip = val; - sethflip(sd); + sethvflip(sd); return 0; } @@ -2181,7 +2073,7 @@ static int sd_setvflip(struct gspca_dev *gspca_dev, __s32 val) struct sd *sd = (struct sd *) gspca_dev; sd->vflip = val; - setvflip(sd); + sethvflip(sd); return 0; } -- cgit v1.2.3-70-g09d2 From cebf3b67f7f80fd69bd1ff5787fee69ab8fd3c2a Mon Sep 17 00:00:00 2001 From: Jean-Francois Moine Date: Sun, 3 Aug 2008 07:52:53 -0300 Subject: V4L/DVB (8604): gspca: Fix of "scheduling while atomic" crash. The crash is due to USB exchanges done at interrupt level. These exchanges, tied to autogain, are now done by the application. Also, there is a fix about autogain start. Concerned subdrivers: etoms, pac7311, sonixj and spca561. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/etoms.c | 133 +++++++++++++++++++----------------- drivers/media/video/gspca/pac7311.c | 54 +++++++++------ drivers/media/video/gspca/sonixj.c | 57 +++++++++++----- drivers/media/video/gspca/spca561.c | 42 +++++++----- 4 files changed, 171 insertions(+), 115 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/etoms.c b/drivers/media/video/gspca/etoms.c index 6a4e68286ef..1dbe92d01e6 100644 --- a/drivers/media/video/gspca/etoms.c +++ b/drivers/media/video/gspca/etoms.c @@ -461,6 +461,52 @@ static void Et_init2(struct gspca_dev *gspca_dev) reg_w_val(gspca_dev, 0x80, 0x20); /* 0x20; */ } +static void setbrightness(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + int i; + __u8 brightness = sd->brightness; + + for (i = 0; i < 4; i++) + reg_w_val(gspca_dev, ET_O_RED + i, brightness); +} + +static void getbrightness(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + int i; + int brightness = 0; + + for (i = 0; i < 4; i++) { + reg_r(gspca_dev, ET_O_RED + i, 1); + brightness += gspca_dev->usb_buf[0]; + } + sd->brightness = brightness >> 3; +} + +static void setcontrast(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + __u8 RGBG[] = { 0x80, 0x80, 0x80, 0x80, 0x00, 0x00 }; + __u8 contrast = sd->contrast; + + memset(RGBG, contrast, sizeof(RGBG) - 2); + reg_w(gspca_dev, ET_G_RED, RGBG, 6); +} + +static void getcontrast(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + int i; + int contrast = 0; + + for (i = 0; i < 4; i++) { + reg_r(gspca_dev, ET_G_RED + i, 1); + contrast += gspca_dev->usb_buf[0]; + } + sd->contrast = contrast >> 2; +} + static void setcolors(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; @@ -492,6 +538,16 @@ static void getcolors(struct gspca_dev *gspca_dev) } } +static void setautogain(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + + if (sd->autogain) + sd->ag_cnt = AG_CNT_START; + else + sd->ag_cnt = -1; +} + static void Et_init1(struct gspca_dev *gspca_dev) { __u8 value; @@ -614,6 +670,7 @@ static int sd_config(struct gspca_dev *gspca_dev, sd->contrast = CONTRAST_DEF; sd->colors = COLOR_DEF; sd->autogain = AUTOGAIN_DEF; + sd->ag_cnt = -1; return 0; } @@ -641,6 +698,8 @@ static void sd_start(struct gspca_dev *gspca_dev) else Et_init2(gspca_dev); + setautogain(gspca_dev); + reg_w_val(gspca_dev, ET_RESET_ALL, 0x08); et_video(gspca_dev, 1); /* video on */ } @@ -658,52 +717,6 @@ static void sd_close(struct gspca_dev *gspca_dev) { } -static void setbrightness(struct gspca_dev *gspca_dev) -{ - struct sd *sd = (struct sd *) gspca_dev; - int i; - __u8 brightness = sd->brightness; - - for (i = 0; i < 4; i++) - reg_w_val(gspca_dev, ET_O_RED + i, brightness); -} - -static void getbrightness(struct gspca_dev *gspca_dev) -{ - struct sd *sd = (struct sd *) gspca_dev; - int i; - int brightness = 0; - - for (i = 0; i < 4; i++) { - reg_r(gspca_dev, ET_O_RED + i, 1); - brightness += gspca_dev->usb_buf[0]; - } - sd->brightness = brightness >> 3; -} - -static void setcontrast(struct gspca_dev *gspca_dev) -{ - struct sd *sd = (struct sd *) gspca_dev; - __u8 RGBG[] = { 0x80, 0x80, 0x80, 0x80, 0x00, 0x00 }; - __u8 contrast = sd->contrast; - - memset(RGBG, contrast, sizeof(RGBG) - 2); - reg_w(gspca_dev, ET_G_RED, RGBG, 6); -} - -static void getcontrast(struct gspca_dev *gspca_dev) -{ - struct sd *sd = (struct sd *) gspca_dev; - int i; - int contrast = 0; - - for (i = 0; i < 4; i++) { - reg_r(gspca_dev, ET_G_RED + i, 1); - contrast += gspca_dev->usb_buf[0]; - } - sd->contrast = contrast >> 2; -} - static __u8 Et_getgainG(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; @@ -733,15 +746,22 @@ static void Et_setgainG(struct gspca_dev *gspca_dev, __u8 gain) #define LIMIT(color) \ (unsigned char)((color > 0xff)?0xff:((color < 0)?0:color)) -static void setautogain(struct gspca_dev *gspca_dev) +static void do_autogain(struct gspca_dev *gspca_dev) { - __u8 luma = 0; + struct sd *sd = (struct sd *) gspca_dev; + __u8 luma; __u8 luma_mean = 128; __u8 luma_delta = 20; __u8 spring = 4; - int Gbright = 0; + int Gbright; __u8 r, g, b; + if (sd->ag_cnt < 0) + return; + if (--sd->ag_cnt >= 0) + return; + sd->ag_cnt = AG_CNT_START; + Gbright = Et_getgainG(gspca_dev); reg_r(gspca_dev, ET_LUMA_CENTER, 4); g = (gspca_dev->usb_buf[0] + gspca_dev->usb_buf[3]) >> 1; @@ -768,7 +788,6 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, __u8 *data, /* isoc packet */ int len) /* iso packet length */ { - struct sd *sd; int seqframe; seqframe = data[0] & 0x3f; @@ -783,13 +802,6 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, 0); gspca_frame_add(gspca_dev, FIRST_PACKET, frame, data, len); - sd = (struct sd *) gspca_dev; - if (sd->ag_cnt >= 0) { - if (--sd->ag_cnt < 0) { - sd->ag_cnt = AG_CNT_START; - setautogain(gspca_dev); - } - } return; } if (len) { @@ -862,10 +874,8 @@ static int sd_setautogain(struct gspca_dev *gspca_dev, __s32 val) struct sd *sd = (struct sd *) gspca_dev; sd->autogain = val; - if (val) - sd->ag_cnt = AG_CNT_START; - else - sd->ag_cnt = -1; + if (gspca_dev->streaming) + setautogain(gspca_dev); return 0; } @@ -889,6 +899,7 @@ static struct sd_desc sd_desc = { .stop0 = sd_stop0, .close = sd_close, .pkt_scan = sd_pkt_scan, + .dq_callback = do_autogain, }; /* -- module initialisation -- */ diff --git a/drivers/media/video/gspca/pac7311.c b/drivers/media/video/gspca/pac7311.c index ea3d7021f40..815bea6edc4 100644 --- a/drivers/media/video/gspca/pac7311.c +++ b/drivers/media/video/gspca/pac7311.c @@ -31,7 +31,9 @@ MODULE_LICENSE("GPL"); struct sd { struct gspca_dev gspca_dev; /* !! must be the first item */ - int avg_lum; + int lum_sum; + atomic_t avg_lum; + atomic_t do_gain; unsigned char brightness; unsigned char contrast; @@ -271,6 +273,7 @@ static int sd_config(struct gspca_dev *gspca_dev, sd->contrast = CONTRAST_DEF; sd->colors = COLOR_DEF; sd->autogain = AUTOGAIN_DEF; + sd->ag_cnt = -1; return 0; } @@ -311,6 +314,18 @@ static void setcolors(struct gspca_dev *gspca_dev) PDEBUG(D_CONF|D_STREAM, "color: %i", sd->colors); } +static void setautogain(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + + if (sd->autogain) { + sd->lum_sum = 0; + sd->ag_cnt = AG_CNT_START; + } else { + sd->ag_cnt = -1; + } +} + /* this function is called at open time */ static int sd_open(struct gspca_dev *gspca_dev) { @@ -320,8 +335,6 @@ static int sd_open(struct gspca_dev *gspca_dev) static void sd_start(struct gspca_dev *gspca_dev) { - struct sd *sd = (struct sd *) gspca_dev; - reg_w(gspca_dev, 0xff, 0x01); reg_w_buf(gspca_dev, 0x0002, "\x48\x0a\x40\x08\x00\x00\x08\x00", 8); reg_w_buf(gspca_dev, 0x000a, "\x06\xff\x11\xff\x5a\x30\x90\x4c", 8); @@ -394,6 +407,7 @@ static void sd_start(struct gspca_dev *gspca_dev) setcontrast(gspca_dev); setbrightness(gspca_dev); setcolors(gspca_dev); + setautogain(gspca_dev); /* set correct resolution */ switch (gspca_dev->cam.cam_mode[(int) gspca_dev->curr_mode].priv) { @@ -431,13 +445,6 @@ static void sd_start(struct gspca_dev *gspca_dev) reg_w(gspca_dev, 0xff, 0x01); reg_w(gspca_dev, 0x78, 0x04); reg_w(gspca_dev, 0x78, 0x05); - - if (sd->autogain) { - sd->ag_cnt = AG_CNT_START; - sd->avg_lum = 0; - } else { - sd->ag_cnt = -1; - } } static void sd_stopN(struct gspca_dev *gspca_dev) @@ -473,13 +480,20 @@ static void sd_close(struct gspca_dev *gspca_dev) reg_w(gspca_dev, 0x78, 0x44); /* Bit_0=start stream, Bit_7=LED */ } -static void setautogain(struct gspca_dev *gspca_dev, int luma) +static void do_autogain(struct gspca_dev *gspca_dev) { + struct sd *sd = (struct sd *) gspca_dev; + int luma; int luma_mean = 128; int luma_delta = 20; __u8 spring = 5; int Gbright; + if (!atomic_read(&sd->do_gain)) + return; + atomic_set(&sd->do_gain, 0); + + luma = atomic_read(&sd->avg_lum); Gbright = reg_r(gspca_dev, 0x02); PDEBUG(D_FRAM, "luma mean %d", luma); if (luma < luma_mean - luma_delta || @@ -523,12 +537,13 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, /* start of frame */ if (sd->ag_cnt >= 0 && p > 28) { - sd->avg_lum += data[p - 23]; + sd->lum_sum += data[p - 23]; if (--sd->ag_cnt < 0) { sd->ag_cnt = AG_CNT_START; - setautogain(gspca_dev, - sd->avg_lum / AG_CNT_START); - sd->avg_lum = 0; + atomic_set(&sd->avg_lum, + sd->lum_sum / AG_CNT_START); + sd->lum_sum = 0; + atomic_set(&sd->do_gain, 1); } } @@ -677,12 +692,8 @@ static int sd_setautogain(struct gspca_dev *gspca_dev, __s32 val) struct sd *sd = (struct sd *) gspca_dev; sd->autogain = val; - if (val) { - sd->ag_cnt = AG_CNT_START; - sd->avg_lum = 0; - } else { - sd->ag_cnt = -1; - } + if (gspca_dev->streaming) + setautogain(gspca_dev); return 0; } @@ -706,6 +717,7 @@ static struct sd_desc sd_desc = { .stop0 = sd_stop0, .close = sd_close, .pkt_scan = sd_pkt_scan, + .dq_callback = do_autogain, }; /* -- module initialisation -- */ diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index b60ff600a75..245a30ec5fb 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -32,7 +32,7 @@ MODULE_LICENSE("GPL"); struct sd { struct gspca_dev gspca_dev; /* !! must be the first item */ - int avg_lum; + atomic_t avg_lum; unsigned int exposure; unsigned short brightness; @@ -781,6 +781,8 @@ static int sd_config(struct gspca_dev *gspca_dev, sd->contrast = CONTRAST_DEF; sd->colors = COLOR_DEF; sd->autogain = AUTOGAIN_DEF; + sd->ag_cnt = -1; + return 0; } @@ -946,6 +948,22 @@ static void setcolors(struct gspca_dev *gspca_dev) reg_w1(gspca_dev, 0x05, data); } +static void setautogain(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + + switch (sd->sensor) { + case SENSOR_HV7131R: + case SENSOR_MO4000: + case SENSOR_MI0360: + if (sd->autogain) + sd->ag_cnt = AG_CNT_START; + else + sd->ag_cnt = -1; + break; + } +} + /* -- start the camera -- */ static void sd_start(struct gspca_dev *gspca_dev) { @@ -1078,6 +1096,7 @@ static void sd_start(struct gspca_dev *gspca_dev) reg_w1(gspca_dev, 0x01, reg1); setbrightness(gspca_dev); setcontrast(gspca_dev); + setautogain(gspca_dev); } static void sd_stopN(struct gspca_dev *gspca_dev) @@ -1124,16 +1143,23 @@ static void sd_close(struct gspca_dev *gspca_dev) { } -static void setautogain(struct gspca_dev *gspca_dev) +static void do_autogain(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; - /* Thanks S., without your advice, autobright should not work :) */ int delta; - int expotimes = 0; + int expotimes; __u8 luma_mean = 130; __u8 luma_delta = 20; - delta = sd->avg_lum; + /* Thanks S., without your advice, autobright should not work :) */ + if (sd->ag_cnt < 0) + return; + if (--sd->ag_cnt >= 0) + return; + sd->ag_cnt = AG_CNT_START; + + delta = atomic_read(&sd->avg_lum); + PDEBUG(D_FRAM, "mean lum %d", delta); if (delta < luma_mean - luma_delta || delta > luma_mean + luma_delta) { switch (sd->sensor) { @@ -1145,8 +1171,9 @@ static void setautogain(struct gspca_dev *gspca_dev) sd->exposure = setexposure(gspca_dev, (unsigned int) (expotimes << 8)); break; - case SENSOR_MO4000: - case SENSOR_MI0360: + default: +/* case SENSOR_MO4000: */ +/* case SENSOR_MI0360: */ expotimes = sd->exposure; expotimes += (luma_mean - delta) >> 6; if (expotimes < 0) @@ -1159,6 +1186,8 @@ static void setautogain(struct gspca_dev *gspca_dev) } } +/* scan the URB packets */ +/* This function is run at interrupt level. */ static void sd_pkt_scan(struct gspca_dev *gspca_dev, struct gspca_frame *frame, /* target */ __u8 *data, /* isoc packet */ @@ -1175,9 +1204,6 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, frame, data, sof + 2); if (sd->ag_cnt < 0) return; - if (--sd->ag_cnt >= 0) - return; - sd->ag_cnt = AG_CNT_START; /* w1 w2 w3 */ /* w4 w5 w6 */ /* w7 w8 */ @@ -1192,9 +1218,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, /* w5 */ avg_lum += ((data[sof + 31] << 8) | data[sof + 32]) >> 4; avg_lum >>= 4; - sd->avg_lum = avg_lum; - PDEBUG(D_PACK, "mean lum %d", avg_lum); - setautogain(gspca_dev); + atomic_set(&sd->avg_lum, avg_lum); return; } if (gspca_dev->last_packet_type == LAST_PACKET) { @@ -1321,10 +1345,8 @@ static int sd_setautogain(struct gspca_dev *gspca_dev, __s32 val) struct sd *sd = (struct sd *) gspca_dev; sd->autogain = val; - if (val) - sd->ag_cnt = AG_CNT_START; - else - sd->ag_cnt = -1; + if (gspca_dev->streaming) + setautogain(gspca_dev); return 0; } @@ -1348,6 +1370,7 @@ static const struct sd_desc sd_desc = { .stop0 = sd_stop0, .close = sd_close, .pkt_scan = sd_pkt_scan, + .dq_callback = do_autogain, }; /* -- module initialisation -- */ diff --git a/drivers/media/video/gspca/spca561.c b/drivers/media/video/gspca/spca561.c index a26174508cb..1073ac3d2ec 100644 --- a/drivers/media/video/gspca/spca561.c +++ b/drivers/media/video/gspca/spca561.c @@ -644,6 +644,18 @@ static void setcontrast(struct gspca_dev *gspca_dev) } } +static void setautogain(struct gspca_dev *gspca_dev) +{ + struct sd *sd = (struct sd *) gspca_dev; + + if (sd->chip_revision == Rev072A) { + if (sd->autogain) + sd->ag_cnt = AG_CNT_START; + else + sd->ag_cnt = -1; + } +} + static void sd_start(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; @@ -671,6 +683,7 @@ static void sd_start(struct gspca_dev *gspca_dev) reg_w_val(dev, 0x8500, mode); /* mode */ reg_w_val(dev, 0x8700, Clck); /* 0x27 clock */ reg_w_val(dev, 0x8112, 0x10 | 0x20); + setautogain(gspca_dev); break; default: /* case Rev012A: */ @@ -720,18 +733,24 @@ static void sd_close(struct gspca_dev *gspca_dev) reg_w_val(gspca_dev->dev, 0x8114, 0); } -static void setautogain(struct gspca_dev *gspca_dev) +static void do_autogain(struct gspca_dev *gspca_dev) { struct sd *sd = (struct sd *) gspca_dev; - int expotimes = 0; - int pixelclk = 0; - int gainG = 0; + int expotimes; + int pixelclk; + int gainG; __u8 R, Gr, Gb, B; int y; __u8 luma_mean = 110; __u8 luma_delta = 20; __u8 spring = 4; + if (sd->ag_cnt < 0) + return; + if (--sd->ag_cnt >= 0) + return; + sd->ag_cnt = AG_CNT_START; + switch (sd->chip_revision) { case Rev072A: reg_r(gspca_dev, 0x8621, 1); @@ -795,18 +814,10 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, __u8 *data, /* isoc packet */ int len) /* iso packet length */ { - struct sd *sd = (struct sd *) gspca_dev; - switch (data[0]) { case 0: /* start of frame */ frame = gspca_frame_add(gspca_dev, LAST_PACKET, frame, data, 0); - if (sd->ag_cnt >= 0) { - if (--sd->ag_cnt < 0) { - sd->ag_cnt = AG_CNT_START; - setautogain(gspca_dev); - } - } data += SPCA561_OFFSET_DATA; len -= SPCA561_OFFSET_DATA; if (data[1] & 0x10) { @@ -944,10 +955,8 @@ static int sd_setautogain(struct gspca_dev *gspca_dev, __s32 val) struct sd *sd = (struct sd *) gspca_dev; sd->autogain = val; - if (val) - sd->ag_cnt = AG_CNT_START; - else - sd->ag_cnt = -1; + if (gspca_dev->streaming) + setautogain(gspca_dev); return 0; } @@ -971,6 +980,7 @@ static const struct sd_desc sd_desc = { .stop0 = sd_stop0, .close = sd_close, .pkt_scan = sd_pkt_scan, + .dq_callback = do_autogain, }; /* -- module initialisation -- */ -- cgit v1.2.3-70-g09d2 From fcf5cb2406827fc9d3f3fe260ac883ef72b8bac0 Mon Sep 17 00:00:00 2001 From: Rabin Vincent Date: Sun, 3 Aug 2008 07:58:54 -0300 Subject: V4L/DVB (8605): gspca: Fix of gspca_zc3xx oops - 2.6.27-rc1 Bad mini/max check in setting control values (the gamma in zc3xx could be set to null). Signed-off-by: Rabin Vincent Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/gspca/gspca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 7f773e37897..15d302b28b7 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c @@ -904,7 +904,7 @@ static int vidioc_s_ctrl(struct file *file, void *priv, if (ctrl->id != ctrls->qctrl.id) continue; if (ctrl->value < ctrls->qctrl.minimum - && ctrl->value > ctrls->qctrl.maximum) + || ctrl->value > ctrls->qctrl.maximum) return -ERANGE; PDEBUG(D_CONF, "set ctrl [%08x] = %d", ctrl->id, ctrl->value); if (mutex_lock_interruptible(&gspca_dev->usb_lock)) -- cgit v1.2.3-70-g09d2 From 01c1e4ca8ec39d21be0cd9d1b300d479de97298a Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Fri, 1 Aug 2008 19:48:51 -0300 Subject: V4L/DVB (8609): media: Clean up platform_driver_unregister() bogosity. So, platform_driver_unregister() doesn't actually have a return value, nor do any of the void __exit routines. It's reassuring to know that people copy and paste blindly. This completely blew up my compiler. Signed-off-by: Paul Mundt Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/pxa_camera.c | 2 +- drivers/media/video/sh_mobile_ceu_camera.c | 2 +- drivers/media/video/soc_camera_platform.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index b15f82c4976..28d8fd0679b 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c @@ -1198,7 +1198,7 @@ static int __devinit pxa_camera_init(void) static void __exit pxa_camera_exit(void) { - return platform_driver_unregister(&pxa_camera_driver); + platform_driver_unregister(&pxa_camera_driver); } module_init(pxa_camera_init); diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index f7ca3cb9340..318754e7313 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c @@ -647,7 +647,7 @@ static int __init sh_mobile_ceu_init(void) static void __exit sh_mobile_ceu_exit(void) { - return platform_driver_unregister(&sh_mobile_ceu_driver); + platform_driver_unregister(&sh_mobile_ceu_driver); } module_init(sh_mobile_ceu_init); diff --git a/drivers/media/video/soc_camera_platform.c b/drivers/media/video/soc_camera_platform.c index eefb0327ebb..1adc257ebdb 100644 --- a/drivers/media/video/soc_camera_platform.c +++ b/drivers/media/video/soc_camera_platform.c @@ -187,7 +187,7 @@ static int __init soc_camera_platform_module_init(void) static void __exit soc_camera_platform_module_exit(void) { - return platform_driver_unregister(&soc_camera_platform_driver); + platform_driver_unregister(&soc_camera_platform_driver); } module_init(soc_camera_platform_module_init); -- cgit v1.2.3-70-g09d2 From 2e521061db61a35dd64ea85a1642f9a9dfde2872 Mon Sep 17 00:00:00 2001 From: Robert Jarzmik Date: Fri, 1 Aug 2008 20:14:50 -0300 Subject: V4L/DVB (8610): Add suspend/resume capabilities to soc_camera. Add suspend/resume hooks to call soc operation specific suspend and resume functions. This ensures the camera chip has been previously resumed, as well as the camera bus. These hooks in camera chip drivers should save/restore chip context between suspend and resume time. Signed-off-by: Robert Jarzmik Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/soc_camera.c | 26 ++++++++++++++++++++++++++ include/media/soc_camera.h | 5 +++++ 2 files changed, 31 insertions(+) (limited to 'drivers/media/video') diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index b6be5ee678b..66ebe5956a8 100644 --- a/drivers/media/video/soc_camera.c +++ b/drivers/media/video/soc_camera.c @@ -732,10 +732,36 @@ static int soc_camera_remove(struct device *dev) return 0; } +static int soc_camera_suspend(struct device *dev, pm_message_t state) +{ + struct soc_camera_device *icd = to_soc_camera_dev(dev); + struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent); + int ret = 0; + + if (ici->ops->suspend) + ret = ici->ops->suspend(icd, state); + + return ret; +} + +static int soc_camera_resume(struct device *dev) +{ + struct soc_camera_device *icd = to_soc_camera_dev(dev); + struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent); + int ret = 0; + + if (ici->ops->resume) + ret = ici->ops->resume(icd); + + return ret; +} + static struct bus_type soc_camera_bus_type = { .name = "soc-camera", .probe = soc_camera_probe, .remove = soc_camera_remove, + .suspend = soc_camera_suspend, + .resume = soc_camera_resume, }; static struct device_driver ic_drv = { diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index 1de98f150e9..d548de32672 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h @@ -14,6 +14,7 @@ #include #include +#include struct soc_camera_device { struct list_head list; @@ -63,6 +64,8 @@ struct soc_camera_host_ops { struct module *owner; int (*add)(struct soc_camera_device *); void (*remove)(struct soc_camera_device *); + int (*suspend)(struct soc_camera_device *, pm_message_t state); + int (*resume)(struct soc_camera_device *); int (*set_fmt_cap)(struct soc_camera_device *, __u32, struct v4l2_rect *); int (*try_fmt_cap)(struct soc_camera_device *, struct v4l2_format *); @@ -111,6 +114,8 @@ struct soc_camera_ops { struct module *owner; int (*probe)(struct soc_camera_device *); void (*remove)(struct soc_camera_device *); + int (*suspend)(struct soc_camera_device *, pm_message_t state); + int (*resume)(struct soc_camera_device *); int (*init)(struct soc_camera_device *); int (*release)(struct soc_camera_device *); int (*start_capture)(struct soc_camera_device *); -- cgit v1.2.3-70-g09d2 From 3f6ac497b036533d1a63ba04fdbe710c55e14cda Mon Sep 17 00:00:00 2001 From: Robert Jarzmik Date: Sat, 2 Aug 2008 07:10:04 -0300 Subject: V4L/DVB (8611): Add suspend/resume to pxa_camera driver PXA suspend switches off DMA core, which loses all context of previously assigned descriptors. As pxa_camera driver relies on DMA transfers, setup the lost descriptors on resume and retrigger frame acquisition if needed. Signed-off-by: Robert Jarzmik Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/pxa_camera.c | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'drivers/media/video') diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index 28d8fd0679b..ead87ddaf7f 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c @@ -128,6 +128,8 @@ struct pxa_camera_dev { struct pxa_buffer *active; struct pxa_dma_desc *sg_tail[3]; + + u32 save_cicr[5]; }; static const char *pxa_cam_driver_description = "PXA_Camera"; @@ -997,10 +999,64 @@ static int pxa_camera_querycap(struct soc_camera_host *ici, return 0; } +static int pxa_camera_suspend(struct soc_camera_device *icd, pm_message_t state) +{ + struct soc_camera_host *ici = + to_soc_camera_host(icd->dev.parent); + struct pxa_camera_dev *pcdev = ici->priv; + int i = 0, ret = 0; + + pcdev->save_cicr[i++] = CICR0; + pcdev->save_cicr[i++] = CICR1; + pcdev->save_cicr[i++] = CICR2; + pcdev->save_cicr[i++] = CICR3; + pcdev->save_cicr[i++] = CICR4; + + if ((pcdev->icd) && (pcdev->icd->ops->suspend)) + ret = pcdev->icd->ops->suspend(pcdev->icd, state); + + return ret; +} + +static int pxa_camera_resume(struct soc_camera_device *icd) +{ + struct soc_camera_host *ici = + to_soc_camera_host(icd->dev.parent); + struct pxa_camera_dev *pcdev = ici->priv; + int i = 0, ret = 0; + + DRCMR68 = pcdev->dma_chans[0] | DRCMR_MAPVLD; + DRCMR69 = pcdev->dma_chans[1] | DRCMR_MAPVLD; + DRCMR70 = pcdev->dma_chans[2] | DRCMR_MAPVLD; + + CICR0 = pcdev->save_cicr[i++] & ~CICR0_ENB; + CICR1 = pcdev->save_cicr[i++]; + CICR2 = pcdev->save_cicr[i++]; + CICR3 = pcdev->save_cicr[i++]; + CICR4 = pcdev->save_cicr[i++]; + + if ((pcdev->icd) && (pcdev->icd->ops->resume)) + ret = pcdev->icd->ops->resume(pcdev->icd); + + /* Restart frame capture if active buffer exists */ + if (!ret && pcdev->active) { + /* Reset the FIFOs */ + CIFR |= CIFR_RESET_F; + /* Enable End-Of-Frame Interrupt */ + CICR0 &= ~CICR0_EOFM; + /* Restart the Capture Interface */ + CICR0 |= CICR0_ENB; + } + + return ret; +} + static struct soc_camera_host_ops pxa_soc_camera_host_ops = { .owner = THIS_MODULE, .add = pxa_camera_add_device, .remove = pxa_camera_remove_device, + .suspend = pxa_camera_suspend, + .resume = pxa_camera_resume, .set_fmt_cap = pxa_camera_set_fmt_cap, .try_fmt_cap = pxa_camera_try_fmt_cap, .init_videobuf = pxa_camera_init_videobuf, -- cgit v1.2.3-70-g09d2 From 835f09c6594aa98cbfae05c5466a81fda3081d2c Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 30 Jul 2008 18:54:48 -0300 Subject: V4L/DVB (8616): uvcvideo: Add support for two Bison Electronics webcams The Bison Electronics 5986:0300 and 5986:0303 webcams require the UVC_QUIRK_PROBE_MINMAX quirk. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/uvc/uvc_driver.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index b3c4d75e849..7e102034d38 100644 --- a/drivers/media/video/uvc/uvc_driver.c +++ b/drivers/media/video/uvc/uvc_driver.c @@ -1884,7 +1884,7 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_PROBE_MINMAX }, - /* Packard Bell OEM Webcam */ + /* Packard Bell OEM Webcam - Bison Electronics */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, .idVendor = 0x5986, @@ -1893,7 +1893,7 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_PROBE_MINMAX }, - /* Acer Crystal Eye webcam */ + /* Acer Crystal Eye webcam - Bison Electronics */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, .idVendor = 0x5986, @@ -1902,7 +1902,7 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_PROBE_MINMAX }, - /* Medion Akoya Mini E1210 */ + /* Medion Akoya Mini E1210 - Bison Electronics */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, .idVendor = 0x5986, @@ -1911,7 +1911,7 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_PROBE_MINMAX }, - /* Acer OrbiCam - Unknown vendor */ + /* Acer OrbiCam - Bison Electronics */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, .idVendor = 0x5986, @@ -1920,6 +1920,24 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_PROBE_MINMAX }, + /* Bison Electronics */ + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x5986, + .idProduct = 0x0300, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_PROBE_MINMAX }, + /* Clevo M570TU - Bison Electronics */ + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x5986, + .idProduct = 0x0303, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_PROBE_MINMAX }, /* Generic USB Video Class */ { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) }, {} -- cgit v1.2.3-70-g09d2 From 04793dd041bbb88a39b768b714c725de2c339b51 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 31 Jul 2008 17:11:12 -0300 Subject: V4L/DVB (8617): uvcvideo: don't use stack-based buffers for USB transfers. Data buffers on the stack are not allowed for USB I/O. Use dynamically allocated buffers instead. Signed-off-by: Bruce Schmid Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/uvc/uvc_ctrl.c | 33 +++++++++++++++++++++------------ drivers/media/video/uvc/uvc_video.c | 33 ++++++++++++++++++++++----------- 2 files changed, 43 insertions(+), 23 deletions(-) (limited to 'drivers/media/video') diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c index 626f4ad7e87..6ef3e5297de 100644 --- a/drivers/media/video/uvc/uvc_ctrl.c +++ b/drivers/media/video/uvc/uvc_ctrl.c @@ -585,13 +585,17 @@ int uvc_query_v4l2_ctrl(struct uvc_video_device *video, struct uvc_control_mapping *mapping; struct uvc_menu_info *menu; unsigned int i; - __u8 data[8]; + __u8 *data; int ret; ctrl = uvc_find_control(video, v4l2_ctrl->id, &mapping); if (ctrl == NULL) return -EINVAL; + data = kmalloc(8, GFP_KERNEL); + if (data == NULL) + return -ENOMEM; + memset(v4l2_ctrl, 0, sizeof *v4l2_ctrl); v4l2_ctrl->id = mapping->id; v4l2_ctrl->type = mapping->v4l2_type; @@ -604,8 +608,8 @@ int uvc_query_v4l2_ctrl(struct uvc_video_device *video, if (ctrl->info->flags & UVC_CONTROL_GET_DEF) { if ((ret = uvc_query_ctrl(video->dev, GET_DEF, ctrl->entity->id, video->dev->intfnum, ctrl->info->selector, - &data, ctrl->info->size)) < 0) - return ret; + data, ctrl->info->size)) < 0) + goto out; v4l2_ctrl->default_value = uvc_get_le_value(data, mapping); } @@ -623,13 +627,15 @@ int uvc_query_v4l2_ctrl(struct uvc_video_device *video, } } - return 0; + ret = 0; + goto out; case V4L2_CTRL_TYPE_BOOLEAN: v4l2_ctrl->minimum = 0; v4l2_ctrl->maximum = 1; v4l2_ctrl->step = 1; - return 0; + ret = 0; + goto out; default: break; @@ -638,26 +644,29 @@ int uvc_query_v4l2_ctrl(struct uvc_video_device *video, if (ctrl->info->flags & UVC_CONTROL_GET_MIN) { if ((ret = uvc_query_ctrl(video->dev, GET_MIN, ctrl->entity->id, video->dev->intfnum, ctrl->info->selector, - &data, ctrl->info->size)) < 0) - return ret; + data, ctrl->info->size)) < 0) + goto out; v4l2_ctrl->minimum = uvc_get_le_value(data, mapping); } if (ctrl->info->flags & UVC_CONTROL_GET_MAX) { if ((ret = uvc_query_ctrl(video->dev, GET_MAX, ctrl->entity->id, video->dev->intfnum, ctrl->info->selector, - &data, ctrl->info->size)) < 0) - return ret; + data, ctrl->info->size)) < 0) + goto out; v4l2_ctrl->maximum = uvc_get_le_value(data, mapping); } if (ctrl->info->flags & UVC_CONTROL_GET_RES) { if ((ret = uvc_query_ctrl(video->dev, GET_RES, ctrl->entity->id, video->dev->intfnum, ctrl->info->selector, - &data, ctrl->info->size)) < 0) - return ret; + data, ctrl->info->size)) < 0) + goto out; v4l2_ctrl->step = uvc_get_le_value(data, mapping); } - return 0; + ret = 0; +out: + kfree(data); + return ret; } diff --git a/drivers/media/video/uvc/uvc_video.c b/drivers/media/video/uvc/uvc_video.c index ad63794fda7..6854ac78a16 100644 --- a/drivers/media/video/uvc/uvc_video.c +++ b/drivers/media/video/uvc/uvc_video.c @@ -90,17 +90,20 @@ static void uvc_fixup_buffer_size(struct uvc_video_device *video, static int uvc_get_video_ctrl(struct uvc_video_device *video, struct uvc_streaming_control *ctrl, int probe, __u8 query) { - __u8 data[34]; - __u8 size; + __u8 *data; + __u16 size; int ret; size = video->dev->uvc_version >= 0x0110 ? 34 : 26; + data = kmalloc(size, GFP_KERNEL); + if (data == NULL) + return -ENOMEM; + ret = __uvc_query_ctrl(video->dev, query, 0, video->streaming->intfnum, - probe ? VS_PROBE_CONTROL : VS_COMMIT_CONTROL, &data, size, + probe ? VS_PROBE_CONTROL : VS_COMMIT_CONTROL, data, size, UVC_CTRL_STREAMING_TIMEOUT); - if (ret < 0) - return ret; + goto out; ctrl->bmHint = le16_to_cpup((__le16 *)&data[0]); ctrl->bFormatIndex = data[2]; @@ -136,17 +139,22 @@ static int uvc_get_video_ctrl(struct uvc_video_device *video, */ uvc_fixup_buffer_size(video, ctrl); - return 0; +out: + kfree(data); + return ret; } int uvc_set_video_ctrl(struct uvc_video_device *video, struct uvc_streaming_control *ctrl, int probe) { - __u8 data[34]; - __u8 size; + __u8 *data; + __u16 size; + int ret; size = video->dev->uvc_version >= 0x0110 ? 34 : 26; - memset(data, 0, sizeof data); + data = kzalloc(size, GFP_KERNEL); + if (data == NULL) + return -ENOMEM; *(__le16 *)&data[0] = cpu_to_le16(ctrl->bmHint); data[2] = ctrl->bFormatIndex; @@ -174,10 +182,13 @@ int uvc_set_video_ctrl(struct uvc_video_device *video, data[33] = ctrl->bMaxVersion; } - return __uvc_query_ctrl(video->dev, SET_CUR, 0, + ret = __uvc_query_ctrl(video->dev, SET_CUR, 0, video->streaming->intfnum, - probe ? VS_PROBE_CONTROL : VS_COMMIT_CONTROL, &data, size, + probe ? VS_PROBE_CONTROL : VS_COMMIT_CONTROL, data, size, UVC_CTRL_STREAMING_TIMEOUT); + + kfree(data); + return ret; } int uvc_probe_video(struct uvc_video_device *video, -- cgit v1.2.3-70-g09d2 From a09e64fbc0094e3073dbb09c3b4bfe4ab669244b Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 5 Aug 2008 16:14:15 +0100 Subject: [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King --- Documentation/arm/IXP4xx | 2 +- Documentation/arm/Interrupts | 2 +- Documentation/arm/README | 4 +- Documentation/arm/Samsung-S3C24XX/GPIO.txt | 8 +- Documentation/arm/Samsung-S3C24XX/Overview.txt | 2 +- Documentation/arm/Samsung-S3C24XX/USB-Host.txt | 2 +- Documentation/spi/pxa2xx | 4 +- Documentation/spi/spi-summary | 4 +- arch/arm/Makefile | 21 +- arch/arm/boot/compressed/head.S | 2 +- arch/arm/boot/compressed/misc.c | 2 +- arch/arm/common/locomo.c | 2 +- arch/arm/common/sa1111.c | 2 +- arch/arm/common/sharpsl_pm.c | 10 +- arch/arm/common/time-acorn.c | 2 +- arch/arm/common/uengine.c | 2 +- arch/arm/include/asm/dma.h | 2 +- arch/arm/include/asm/floppy.h | 2 +- arch/arm/include/asm/gpio.h | 2 +- arch/arm/include/asm/hardware/dec21285.h | 2 +- arch/arm/include/asm/hardware/iop3xx-adma.h | 2 +- arch/arm/include/asm/hardware/iop3xx-gpio.h | 2 +- arch/arm/include/asm/hardware/sa1111.h | 2 +- arch/arm/include/asm/io.h | 2 +- arch/arm/include/asm/irq.h | 2 +- arch/arm/include/asm/mc146818rtc.h | 2 +- arch/arm/include/asm/memory.h | 2 +- arch/arm/include/asm/mmzone.h | 2 +- arch/arm/include/asm/mtd-xip.h | 4 +- arch/arm/include/asm/pci.h | 2 +- arch/arm/include/asm/pgtable.h | 2 +- arch/arm/include/asm/smp.h | 2 +- arch/arm/include/asm/timex.h | 2 +- arch/arm/include/asm/vga.h | 2 +- arch/arm/kernel/crunch-bits.S | 2 +- arch/arm/kernel/crunch.c | 2 +- arch/arm/kernel/debug.S | 2 +- arch/arm/kernel/ecard.c | 2 +- arch/arm/kernel/entry-armv.S | 2 +- arch/arm/kernel/entry-common.S | 2 +- arch/arm/kernel/process.c | 2 +- arch/arm/lib/ecard.S | 2 +- arch/arm/lib/io-readsw-armv3.S | 2 +- arch/arm/lib/io-writesw-armv3.S | 2 +- arch/arm/mach-aaec2000/aaed2000.c | 4 +- arch/arm/mach-aaec2000/core.c | 2 +- arch/arm/mach-aaec2000/include/mach/aaec2000.h | 207 ++ arch/arm/mach-aaec2000/include/mach/aaed2000.h | 40 + arch/arm/mach-aaec2000/include/mach/debug-macro.S | 37 + arch/arm/mach-aaec2000/include/mach/dma.h | 9 + arch/arm/mach-aaec2000/include/mach/entry-macro.S | 40 + arch/arm/mach-aaec2000/include/mach/hardware.h | 50 + arch/arm/mach-aaec2000/include/mach/io.h | 20 + arch/arm/mach-aaec2000/include/mach/irqs.h | 46 + arch/arm/mach-aaec2000/include/mach/memory.h | 30 + arch/arm/mach-aaec2000/include/mach/system.h | 24 + arch/arm/mach-aaec2000/include/mach/timex.h | 18 + arch/arm/mach-aaec2000/include/mach/uncompress.h | 46 + arch/arm/mach-aaec2000/include/mach/vmalloc.h | 16 + arch/arm/mach-at91/at91cap9.c | 8 +- arch/arm/mach-at91/at91cap9_devices.c | 10 +- arch/arm/mach-at91/at91rm9200.c | 6 +- arch/arm/mach-at91/at91rm9200_devices.c | 8 +- arch/arm/mach-at91/at91rm9200_time.c | 2 +- arch/arm/mach-at91/at91sam9260.c | 10 +- arch/arm/mach-at91/at91sam9260_devices.c | 12 +- arch/arm/mach-at91/at91sam9261.c | 8 +- arch/arm/mach-at91/at91sam9261_devices.c | 10 +- arch/arm/mach-at91/at91sam9263.c | 8 +- arch/arm/mach-at91/at91sam9263_devices.c | 10 +- arch/arm/mach-at91/at91sam926x_time.c | 2 +- arch/arm/mach-at91/at91sam9rl.c | 10 +- arch/arm/mach-at91/at91sam9rl_devices.c | 10 +- arch/arm/mach-at91/at91x40.c | 6 +- arch/arm/mach-at91/at91x40_time.c | 4 +- arch/arm/mach-at91/board-1arm.c | 6 +- arch/arm/mach-at91/board-cam60.c | 6 +- arch/arm/mach-at91/board-cap9adk.c | 10 +- arch/arm/mach-at91/board-carmeva.c | 6 +- arch/arm/mach-at91/board-csb337.c | 6 +- arch/arm/mach-at91/board-csb637.c | 6 +- arch/arm/mach-at91/board-dk.c | 8 +- arch/arm/mach-at91/board-eb01.c | 4 +- arch/arm/mach-at91/board-eb9200.c | 6 +- arch/arm/mach-at91/board-ecbat91.c | 6 +- arch/arm/mach-at91/board-ek.c | 8 +- arch/arm/mach-at91/board-kafa.c | 6 +- arch/arm/mach-at91/board-kb9202.c | 8 +- arch/arm/mach-at91/board-picotux200.c | 8 +- arch/arm/mach-at91/board-qil-a9260.c | 8 +- arch/arm/mach-at91/board-sam9-l9260.c | 6 +- arch/arm/mach-at91/board-sam9260ek.c | 6 +- arch/arm/mach-at91/board-sam9261ek.c | 8 +- arch/arm/mach-at91/board-sam9263ek.c | 8 +- arch/arm/mach-at91/board-sam9g20ek.c | 6 +- arch/arm/mach-at91/board-sam9rlek.c | 8 +- arch/arm/mach-at91/board-usb-a9260.c | 8 +- arch/arm/mach-at91/board-usb-a9263.c | 8 +- arch/arm/mach-at91/board-yl-9200.c | 8 +- arch/arm/mach-at91/clock.c | 6 +- arch/arm/mach-at91/gpio.c | 6 +- arch/arm/mach-at91/include/mach/at91_adc.h | 61 + arch/arm/mach-at91/include/mach/at91_aic.h | 53 + arch/arm/mach-at91/include/mach/at91_dbgu.h | 66 + arch/arm/mach-at91/include/mach/at91_mci.h | 113 ++ arch/arm/mach-at91/include/mach/at91_pio.h | 49 + arch/arm/mach-at91/include/mach/at91_pit.h | 29 + arch/arm/mach-at91/include/mach/at91_pmc.h | 111 ++ arch/arm/mach-at91/include/mach/at91_rstc.h | 38 + arch/arm/mach-at91/include/mach/at91_rtc.h | 75 + arch/arm/mach-at91/include/mach/at91_rtt.h | 32 + arch/arm/mach-at91/include/mach/at91_shdwc.h | 35 + arch/arm/mach-at91/include/mach/at91_spi.h | 81 + arch/arm/mach-at91/include/mach/at91_ssc.h | 106 + arch/arm/mach-at91/include/mach/at91_st.h | 49 + arch/arm/mach-at91/include/mach/at91_tc.h | 146 ++ arch/arm/mach-at91/include/mach/at91_twi.h | 68 + arch/arm/mach-at91/include/mach/at91_wdt.h | 34 + arch/arm/mach-at91/include/mach/at91cap9.h | 126 ++ arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h | 100 + arch/arm/mach-at91/include/mach/at91cap9_matrix.h | 137 ++ arch/arm/mach-at91/include/mach/at91rm9200.h | 115 ++ arch/arm/mach-at91/include/mach/at91rm9200_emac.h | 138 ++ arch/arm/mach-at91/include/mach/at91rm9200_mc.h | 160 ++ arch/arm/mach-at91/include/mach/at91sam9260.h | 138 ++ .../mach-at91/include/mach/at91sam9260_matrix.h | 78 + arch/arm/mach-at91/include/mach/at91sam9261.h | 105 + .../mach-at91/include/mach/at91sam9261_matrix.h | 62 + arch/arm/mach-at91/include/mach/at91sam9263.h | 127 ++ .../mach-at91/include/mach/at91sam9263_matrix.h | 129 ++ arch/arm/mach-at91/include/mach/at91sam9_sdramc.h | 83 + arch/arm/mach-at91/include/mach/at91sam9_smc.h | 73 + arch/arm/mach-at91/include/mach/at91sam9rl.h | 115 ++ .../arm/mach-at91/include/mach/at91sam9rl_matrix.h | 96 + arch/arm/mach-at91/include/mach/at91x40.h | 55 + arch/arm/mach-at91/include/mach/board.h | 172 ++ arch/arm/mach-at91/include/mach/cpu.h | 103 + arch/arm/mach-at91/include/mach/debug-macro.S | 39 + arch/arm/mach-at91/include/mach/dma.h | 19 + arch/arm/mach-at91/include/mach/entry-macro.S | 32 + arch/arm/mach-at91/include/mach/gpio.h | 252 +++ arch/arm/mach-at91/include/mach/hardware.h | 92 + arch/arm/mach-at91/include/mach/io.h | 48 + arch/arm/mach-at91/include/mach/irqs.h | 48 + arch/arm/mach-at91/include/mach/memory.h | 39 + arch/arm/mach-at91/include/mach/system.h | 53 + arch/arm/mach-at91/include/mach/timex.h | 77 + arch/arm/mach-at91/include/mach/uncompress.h | 76 + arch/arm/mach-at91/include/mach/vmalloc.h | 26 + arch/arm/mach-at91/irq.c | 2 +- arch/arm/mach-at91/leds.c | 4 +- arch/arm/mach-at91/pm.c | 16 +- arch/arm/mach-clps711x/autcpu12.c | 4 +- arch/arm/mach-clps711x/cdb89712.c | 2 +- arch/arm/mach-clps711x/ceiva.c | 2 +- arch/arm/mach-clps711x/edb7211-mm.c | 2 +- arch/arm/mach-clps711x/fortunet.c | 2 +- arch/arm/mach-clps711x/include/mach/autcpu12.h | 78 + arch/arm/mach-clps711x/include/mach/debug-macro.S | 46 + arch/arm/mach-clps711x/include/mach/dma.h | 19 + arch/arm/mach-clps711x/include/mach/entry-macro.S | 58 + arch/arm/mach-clps711x/include/mach/hardware.h | 237 +++ arch/arm/mach-clps711x/include/mach/io.h | 38 + arch/arm/mach-clps711x/include/mach/irqs.h | 53 + arch/arm/mach-clps711x/include/mach/memory.h | 94 + arch/arm/mach-clps711x/include/mach/syspld.h | 121 ++ arch/arm/mach-clps711x/include/mach/system.h | 40 + arch/arm/mach-clps711x/include/mach/time.h | 49 + arch/arm/mach-clps711x/include/mach/timex.h | 23 + arch/arm/mach-clps711x/include/mach/uncompress.h | 59 + arch/arm/mach-clps711x/include/mach/vmalloc.h | 20 + arch/arm/mach-clps711x/irq.c | 2 +- arch/arm/mach-clps711x/mm.c | 2 +- arch/arm/mach-clps711x/p720t-leds.c | 2 +- arch/arm/mach-clps711x/p720t.c | 4 +- arch/arm/mach-clps711x/time.c | 2 +- arch/arm/mach-clps7500/core.c | 2 +- arch/arm/mach-clps7500/include/mach/acornfb.h | 33 + arch/arm/mach-clps7500/include/mach/debug-macro.S | 21 + arch/arm/mach-clps7500/include/mach/dma.h | 21 + arch/arm/mach-clps7500/include/mach/entry-macro.S | 16 + arch/arm/mach-clps7500/include/mach/hardware.h | 67 + arch/arm/mach-clps7500/include/mach/io.h | 255 +++ arch/arm/mach-clps7500/include/mach/irq.h | 32 + arch/arm/mach-clps7500/include/mach/irqs.h | 66 + arch/arm/mach-clps7500/include/mach/memory.h | 35 + arch/arm/mach-clps7500/include/mach/system.h | 23 + arch/arm/mach-clps7500/include/mach/timex.h | 13 + arch/arm/mach-clps7500/include/mach/uncompress.h | 35 + arch/arm/mach-clps7500/include/mach/vmalloc.h | 4 + arch/arm/mach-davinci/board-evm.c | 4 +- arch/arm/mach-davinci/clock.c | 4 +- arch/arm/mach-davinci/gpio.c | 6 +- arch/arm/mach-davinci/include/mach/clock.h | 22 + arch/arm/mach-davinci/include/mach/common.h | 19 + arch/arm/mach-davinci/include/mach/debug-macro.S | 21 + arch/arm/mach-davinci/include/mach/dma.h | 16 + arch/arm/mach-davinci/include/mach/entry-macro.S | 32 + arch/arm/mach-davinci/include/mach/gpio.h | 159 ++ arch/arm/mach-davinci/include/mach/hardware.h | 52 + arch/arm/mach-davinci/include/mach/i2c.h | 21 + arch/arm/mach-davinci/include/mach/io.h | 79 + arch/arm/mach-davinci/include/mach/irqs.h | 105 + arch/arm/mach-davinci/include/mach/memory.h | 64 + arch/arm/mach-davinci/include/mach/mux.h | 55 + arch/arm/mach-davinci/include/mach/psc.h | 76 + arch/arm/mach-davinci/include/mach/serial.h | 20 + arch/arm/mach-davinci/include/mach/system.h | 29 + arch/arm/mach-davinci/include/mach/timex.h | 17 + arch/arm/mach-davinci/include/mach/uncompress.h | 35 + arch/arm/mach-davinci/include/mach/vmalloc.h | 15 + arch/arm/mach-davinci/io.c | 2 +- arch/arm/mach-davinci/irq.c | 2 +- arch/arm/mach-davinci/mux.c | 4 +- arch/arm/mach-davinci/psc.c | 6 +- arch/arm/mach-davinci/serial.c | 6 +- arch/arm/mach-davinci/time.c | 4 +- arch/arm/mach-ebsa110/core.c | 2 +- arch/arm/mach-ebsa110/include/mach/debug-macro.S | 21 + arch/arm/mach-ebsa110/include/mach/dma.h | 11 + arch/arm/mach-ebsa110/include/mach/entry-macro.S | 39 + arch/arm/mach-ebsa110/include/mach/hardware.h | 63 + arch/arm/mach-ebsa110/include/mach/io.h | 92 + arch/arm/mach-ebsa110/include/mach/irqs.h | 20 + arch/arm/mach-ebsa110/include/mach/memory.h | 37 + arch/arm/mach-ebsa110/include/mach/system.h | 39 + arch/arm/mach-ebsa110/include/mach/timex.h | 19 + arch/arm/mach-ebsa110/include/mach/uncompress.h | 45 + arch/arm/mach-ebsa110/include/mach/vmalloc.h | 10 + arch/arm/mach-ebsa110/io.c | 2 +- arch/arm/mach-ebsa110/leds.c | 2 +- arch/arm/mach-ep93xx/adssphere.c | 2 +- arch/arm/mach-ep93xx/clock.c | 2 +- arch/arm/mach-ep93xx/core.c | 4 +- arch/arm/mach-ep93xx/edb9302.c | 2 +- arch/arm/mach-ep93xx/edb9302a.c | 2 +- arch/arm/mach-ep93xx/edb9307.c | 2 +- arch/arm/mach-ep93xx/edb9312.c | 2 +- arch/arm/mach-ep93xx/edb9315.c | 2 +- arch/arm/mach-ep93xx/edb9315a.c | 2 +- arch/arm/mach-ep93xx/gesbc9312.c | 2 +- arch/arm/mach-ep93xx/gpio.c | 2 +- arch/arm/mach-ep93xx/include/mach/debug-macro.S | 22 + arch/arm/mach-ep93xx/include/mach/dma.h | 3 + arch/arm/mach-ep93xx/include/mach/entry-macro.S | 59 + arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 133 ++ arch/arm/mach-ep93xx/include/mach/gesbc9312.h | 3 + arch/arm/mach-ep93xx/include/mach/gpio.h | 128 ++ arch/arm/mach-ep93xx/include/mach/hardware.h | 16 + arch/arm/mach-ep93xx/include/mach/io.h | 8 + arch/arm/mach-ep93xx/include/mach/irqs.h | 78 + arch/arm/mach-ep93xx/include/mach/memory.h | 14 + arch/arm/mach-ep93xx/include/mach/platform.h | 20 + arch/arm/mach-ep93xx/include/mach/system.h | 26 + arch/arm/mach-ep93xx/include/mach/timex.h | 5 + arch/arm/mach-ep93xx/include/mach/ts72xx.h | 101 + arch/arm/mach-ep93xx/include/mach/uncompress.h | 85 + arch/arm/mach-ep93xx/include/mach/vmalloc.h | 5 + arch/arm/mach-ep93xx/micro9.c | 2 +- arch/arm/mach-ep93xx/ts72xx.c | 2 +- arch/arm/mach-footbridge/ebsa285-leds.c | 2 +- .../arm/mach-footbridge/include/mach/debug-macro.S | 57 + arch/arm/mach-footbridge/include/mach/dma.h | 25 + .../arm/mach-footbridge/include/mach/entry-macro.S | 113 ++ arch/arm/mach-footbridge/include/mach/hardware.h | 105 + arch/arm/mach-footbridge/include/mach/io.h | 39 + arch/arm/mach-footbridge/include/mach/irqs.h | 98 + arch/arm/mach-footbridge/include/mach/memory.h | 67 + arch/arm/mach-footbridge/include/mach/system.h | 69 + arch/arm/mach-footbridge/include/mach/timex.h | 18 + arch/arm/mach-footbridge/include/mach/uncompress.h | 38 + arch/arm/mach-footbridge/include/mach/vmalloc.h | 10 + arch/arm/mach-footbridge/isa-irq.c | 2 +- arch/arm/mach-footbridge/netwinder-leds.c | 2 +- arch/arm/mach-footbridge/time.c | 4 +- arch/arm/mach-h720x/common.c | 4 +- arch/arm/mach-h720x/cpu-h7201.c | 4 +- arch/arm/mach-h720x/cpu-h7202.c | 4 +- arch/arm/mach-h720x/h7201-eval.c | 2 +- arch/arm/mach-h720x/h7202-eval.c | 2 +- arch/arm/mach-h720x/include/mach/boards.h | 53 + arch/arm/mach-h720x/include/mach/debug-macro.S | 40 + arch/arm/mach-h720x/include/mach/dma.h | 26 + arch/arm/mach-h720x/include/mach/entry-macro.S | 66 + arch/arm/mach-h720x/include/mach/h7201-regs.h | 67 + arch/arm/mach-h720x/include/mach/h7202-regs.h | 155 ++ arch/arm/mach-h720x/include/mach/hardware.h | 192 ++ arch/arm/mach-h720x/include/mach/io.h | 24 + arch/arm/mach-h720x/include/mach/irqs.h | 116 ++ arch/arm/mach-h720x/include/mach/memory.h | 29 + arch/arm/mach-h720x/include/mach/system.h | 33 + arch/arm/mach-h720x/include/mach/timex.h | 15 + arch/arm/mach-h720x/include/mach/uncompress.h | 37 + arch/arm/mach-h720x/include/mach/vmalloc.h | 10 + arch/arm/mach-imx/clock.c | 2 +- arch/arm/mach-imx/cpufreq.c | 2 +- arch/arm/mach-imx/dma.c | 4 +- arch/arm/mach-imx/generic.c | 10 +- arch/arm/mach-imx/include/mach/debug-macro.S | 34 + arch/arm/mach-imx/include/mach/dma.h | 56 + arch/arm/mach-imx/include/mach/entry-macro.S | 32 + arch/arm/mach-imx/include/mach/gpio.h | 102 + arch/arm/mach-imx/include/mach/hardware.h | 91 + arch/arm/mach-imx/include/mach/imx-dma.h | 94 + arch/arm/mach-imx/include/mach/imx-regs.h | 482 +++++ arch/arm/mach-imx/include/mach/imx-uart.h | 12 + arch/arm/mach-imx/include/mach/imxfb.h | 37 + arch/arm/mach-imx/include/mach/io.h | 30 + arch/arm/mach-imx/include/mach/irqs.h | 116 ++ arch/arm/mach-imx/include/mach/memory.h | 36 + arch/arm/mach-imx/include/mach/mmc.h | 15 + arch/arm/mach-imx/include/mach/mx1ads.h | 36 + arch/arm/mach-imx/include/mach/spi_imx.h | 72 + arch/arm/mach-imx/include/mach/system.h | 40 + arch/arm/mach-imx/include/mach/timex.h | 26 + arch/arm/mach-imx/include/mach/uncompress.h | 71 + arch/arm/mach-imx/include/mach/vmalloc.h | 20 + arch/arm/mach-imx/irq.c | 2 +- arch/arm/mach-imx/leds-mx1ads.c | 2 +- arch/arm/mach-imx/mx1ads.c | 6 +- arch/arm/mach-imx/time.c | 2 +- arch/arm/mach-integrator/core.c | 4 +- arch/arm/mach-integrator/cpu.c | 2 +- arch/arm/mach-integrator/impd1.c | 4 +- arch/arm/mach-integrator/include/mach/bits.h | 61 + arch/arm/mach-integrator/include/mach/cm.h | 36 + .../arm/mach-integrator/include/mach/debug-macro.S | 22 + arch/arm/mach-integrator/include/mach/dma.h | 19 + .../arm/mach-integrator/include/mach/entry-macro.S | 44 + arch/arm/mach-integrator/include/mach/hardware.h | 48 + arch/arm/mach-integrator/include/mach/impd1.h | 18 + arch/arm/mach-integrator/include/mach/io.h | 36 + arch/arm/mach-integrator/include/mach/irqs.h | 82 + arch/arm/mach-integrator/include/mach/lm.h | 23 + arch/arm/mach-integrator/include/mach/memory.h | 39 + arch/arm/mach-integrator/include/mach/platform.h | 469 +++++ arch/arm/mach-integrator/include/mach/system.h | 44 + arch/arm/mach-integrator/include/mach/timex.h | 26 + arch/arm/mach-integrator/include/mach/uncompress.h | 50 + arch/arm/mach-integrator/include/mach/vmalloc.h | 20 + arch/arm/mach-integrator/integrator_ap.c | 4 +- arch/arm/mach-integrator/integrator_cp.c | 6 +- arch/arm/mach-integrator/leds.c | 4 +- arch/arm/mach-integrator/lm.c | 2 +- arch/arm/mach-integrator/pci_v3.c | 2 +- arch/arm/mach-iop13xx/include/mach/adma.h | 537 +++++ arch/arm/mach-iop13xx/include/mach/debug-macro.S | 26 + arch/arm/mach-iop13xx/include/mach/dma.h | 3 + arch/arm/mach-iop13xx/include/mach/entry-macro.S | 45 + arch/arm/mach-iop13xx/include/mach/hardware.h | 28 + arch/arm/mach-iop13xx/include/mach/io.h | 41 + arch/arm/mach-iop13xx/include/mach/iop13xx.h | 526 +++++ arch/arm/mach-iop13xx/include/mach/iq81340.h | 28 + arch/arm/mach-iop13xx/include/mach/irqs.h | 196 ++ arch/arm/mach-iop13xx/include/mach/memory.h | 64 + arch/arm/mach-iop13xx/include/mach/msi.h | 11 + arch/arm/mach-iop13xx/include/mach/pci.h | 57 + arch/arm/mach-iop13xx/include/mach/system.h | 27 + arch/arm/mach-iop13xx/include/mach/time.h | 107 + arch/arm/mach-iop13xx/include/mach/timex.h | 3 + arch/arm/mach-iop13xx/include/mach/uncompress.h | 23 + arch/arm/mach-iop13xx/include/mach/vmalloc.h | 4 + arch/arm/mach-iop13xx/io.c | 2 +- arch/arm/mach-iop13xx/iq81340mc.c | 6 +- arch/arm/mach-iop13xx/iq81340sc.c | 6 +- arch/arm/mach-iop13xx/irq.c | 6 +- arch/arm/mach-iop13xx/pci.c | 4 +- arch/arm/mach-iop13xx/setup.c | 2 +- arch/arm/mach-iop32x/em7210.c | 4 +- arch/arm/mach-iop32x/glantank.c | 4 +- arch/arm/mach-iop32x/include/mach/adma.h | 5 + arch/arm/mach-iop32x/include/mach/debug-macro.S | 20 + arch/arm/mach-iop32x/include/mach/dma.h | 9 + arch/arm/mach-iop32x/include/mach/entry-macro.S | 36 + arch/arm/mach-iop32x/include/mach/glantank.h | 13 + arch/arm/mach-iop32x/include/mach/gpio.h | 6 + arch/arm/mach-iop32x/include/mach/hardware.h | 44 + arch/arm/mach-iop32x/include/mach/io.h | 27 + arch/arm/mach-iop32x/include/mach/iop32x.h | 37 + arch/arm/mach-iop32x/include/mach/iq31244.h | 17 + arch/arm/mach-iop32x/include/mach/iq80321.h | 17 + arch/arm/mach-iop32x/include/mach/irqs.h | 50 + arch/arm/mach-iop32x/include/mach/memory.h | 26 + arch/arm/mach-iop32x/include/mach/n2100.h | 19 + arch/arm/mach-iop32x/include/mach/system.h | 33 + arch/arm/mach-iop32x/include/mach/time.h | 4 + arch/arm/mach-iop32x/include/mach/timex.h | 9 + arch/arm/mach-iop32x/include/mach/uncompress.h | 39 + arch/arm/mach-iop32x/include/mach/vmalloc.h | 5 + arch/arm/mach-iop32x/iq31244.c | 4 +- arch/arm/mach-iop32x/iq80321.c | 4 +- arch/arm/mach-iop32x/irq.c | 2 +- arch/arm/mach-iop32x/n2100.c | 4 +- arch/arm/mach-iop33x/include/mach/adma.h | 5 + arch/arm/mach-iop33x/include/mach/debug-macro.S | 24 + arch/arm/mach-iop33x/include/mach/dma.h | 9 + arch/arm/mach-iop33x/include/mach/entry-macro.S | 37 + arch/arm/mach-iop33x/include/mach/gpio.h | 6 + arch/arm/mach-iop33x/include/mach/hardware.h | 46 + arch/arm/mach-iop33x/include/mach/io.h | 27 + arch/arm/mach-iop33x/include/mach/iop33x.h | 43 + arch/arm/mach-iop33x/include/mach/iq80331.h | 16 + arch/arm/mach-iop33x/include/mach/iq80332.h | 16 + arch/arm/mach-iop33x/include/mach/irqs.h | 60 + arch/arm/mach-iop33x/include/mach/memory.h | 26 + arch/arm/mach-iop33x/include/mach/system.h | 22 + arch/arm/mach-iop33x/include/mach/time.h | 4 + arch/arm/mach-iop33x/include/mach/timex.h | 9 + arch/arm/mach-iop33x/include/mach/uncompress.h | 37 + arch/arm/mach-iop33x/include/mach/vmalloc.h | 5 + arch/arm/mach-iop33x/iq80331.c | 4 +- arch/arm/mach-iop33x/iq80332.c | 4 +- arch/arm/mach-iop33x/irq.c | 2 +- arch/arm/mach-iop33x/uart.c | 2 +- arch/arm/mach-ixp2000/core.c | 4 +- arch/arm/mach-ixp2000/enp2611.c | 2 +- arch/arm/mach-ixp2000/include/mach/debug-macro.S | 27 + arch/arm/mach-ixp2000/include/mach/dma.h | 9 + arch/arm/mach-ixp2000/include/mach/enp2611.h | 46 + arch/arm/mach-ixp2000/include/mach/entry-macro.S | 60 + arch/arm/mach-ixp2000/include/mach/gpio.h | 48 + arch/arm/mach-ixp2000/include/mach/hardware.h | 44 + arch/arm/mach-ixp2000/include/mach/io.h | 134 ++ arch/arm/mach-ixp2000/include/mach/irqs.h | 207 ++ arch/arm/mach-ixp2000/include/mach/ixdp2x00.h | 92 + arch/arm/mach-ixp2000/include/mach/ixdp2x01.h | 57 + arch/arm/mach-ixp2000/include/mach/ixp2000-regs.h | 457 +++++ arch/arm/mach-ixp2000/include/mach/memory.h | 34 + arch/arm/mach-ixp2000/include/mach/platform.h | 152 ++ arch/arm/mach-ixp2000/include/mach/system.h | 49 + arch/arm/mach-ixp2000/include/mach/timex.h | 13 + arch/arm/mach-ixp2000/include/mach/uncompress.h | 47 + arch/arm/mach-ixp2000/include/mach/vmalloc.h | 20 + arch/arm/mach-ixp2000/ixdp2400.c | 2 +- arch/arm/mach-ixp2000/ixdp2800.c | 2 +- arch/arm/mach-ixp2000/ixdp2x00.c | 4 +- arch/arm/mach-ixp2000/ixdp2x01.c | 2 +- arch/arm/mach-ixp2000/pci.c | 2 +- arch/arm/mach-ixp23xx/core.c | 2 +- arch/arm/mach-ixp23xx/espresso.c | 2 +- arch/arm/mach-ixp23xx/include/mach/debug-macro.S | 26 + arch/arm/mach-ixp23xx/include/mach/dma.h | 3 + arch/arm/mach-ixp23xx/include/mach/entry-macro.S | 37 + arch/arm/mach-ixp23xx/include/mach/hardware.h | 37 + arch/arm/mach-ixp23xx/include/mach/io.h | 54 + arch/arm/mach-ixp23xx/include/mach/irqs.h | 223 +++ arch/arm/mach-ixp23xx/include/mach/ixdp2351.h | 89 + arch/arm/mach-ixp23xx/include/mach/ixp23xx.h | 298 +++ arch/arm/mach-ixp23xx/include/mach/memory.h | 48 + arch/arm/mach-ixp23xx/include/mach/platform.h | 57 + arch/arm/mach-ixp23xx/include/mach/system.h | 33 + arch/arm/mach-ixp23xx/include/mach/time.h | 3 + arch/arm/mach-ixp23xx/include/mach/timex.h | 7 + arch/arm/mach-ixp23xx/include/mach/uncompress.h | 40 + arch/arm/mach-ixp23xx/include/mach/vmalloc.h | 10 + arch/arm/mach-ixp23xx/ixdp2351.c | 2 +- arch/arm/mach-ixp23xx/pci.c | 2 +- arch/arm/mach-ixp23xx/roadrunner.c | 2 +- arch/arm/mach-ixp4xx/avila-pci.c | 2 +- arch/arm/mach-ixp4xx/avila-setup.c | 2 +- arch/arm/mach-ixp4xx/common-pci.c | 2 +- arch/arm/mach-ixp4xx/common.c | 4 +- arch/arm/mach-ixp4xx/coyote-pci.c | 2 +- arch/arm/mach-ixp4xx/coyote-setup.c | 2 +- arch/arm/mach-ixp4xx/gateway7001-pci.c | 2 +- arch/arm/mach-ixp4xx/gateway7001-setup.c | 2 +- arch/arm/mach-ixp4xx/gtwx5715-pci.c | 4 +- arch/arm/mach-ixp4xx/gtwx5715-setup.c | 4 +- arch/arm/mach-ixp4xx/include/mach/avila.h | 39 + arch/arm/mach-ixp4xx/include/mach/coyote.h | 33 + arch/arm/mach-ixp4xx/include/mach/cpu.h | 46 + arch/arm/mach-ixp4xx/include/mach/debug-macro.S | 24 + arch/arm/mach-ixp4xx/include/mach/dma.h | 21 + arch/arm/mach-ixp4xx/include/mach/dsmg600.h | 52 + arch/arm/mach-ixp4xx/include/mach/entry-macro.S | 47 + arch/arm/mach-ixp4xx/include/mach/fsg.h | 50 + arch/arm/mach-ixp4xx/include/mach/gpio.h | 73 + arch/arm/mach-ixp4xx/include/mach/gtwx5715.h | 116 ++ arch/arm/mach-ixp4xx/include/mach/hardware.h | 50 + arch/arm/mach-ixp4xx/include/mach/io.h | 569 ++++++ arch/arm/mach-ixp4xx/include/mach/irqs.h | 138 ++ arch/arm/mach-ixp4xx/include/mach/ixdp425.h | 39 + arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h | 638 ++++++ arch/arm/mach-ixp4xx/include/mach/memory.h | 40 + arch/arm/mach-ixp4xx/include/mach/nas100d.h | 52 + arch/arm/mach-ixp4xx/include/mach/npe.h | 39 + arch/arm/mach-ixp4xx/include/mach/nslu2.h | 55 + arch/arm/mach-ixp4xx/include/mach/platform.h | 173 ++ arch/arm/mach-ixp4xx/include/mach/prpmc1100.h | 33 + arch/arm/mach-ixp4xx/include/mach/qmgr.h | 126 ++ arch/arm/mach-ixp4xx/include/mach/system.h | 42 + arch/arm/mach-ixp4xx/include/mach/timex.h | 15 + arch/arm/mach-ixp4xx/include/mach/udc.h | 8 + arch/arm/mach-ixp4xx/include/mach/uncompress.h | 57 + arch/arm/mach-ixp4xx/include/mach/vmalloc.h | 5 + arch/arm/mach-ixp4xx/ixdp425-pci.c | 2 +- arch/arm/mach-ixp4xx/ixdp425-setup.c | 2 +- arch/arm/mach-ixp4xx/ixdpg425-pci.c | 2 +- arch/arm/mach-ixp4xx/ixp4xx_npe.c | 2 +- arch/arm/mach-ixp4xx/ixp4xx_qmgr.c | 2 +- arch/arm/mach-ixp4xx/wg302v2-pci.c | 2 +- arch/arm/mach-ixp4xx/wg302v2-setup.c | 2 +- arch/arm/mach-kirkwood/addr-map.c | 2 +- arch/arm/mach-kirkwood/common.c | 2 +- arch/arm/mach-kirkwood/db88f6281-bp-setup.c | 2 +- arch/arm/mach-kirkwood/include/mach/debug-macro.S | 20 + arch/arm/mach-kirkwood/include/mach/dma.h | 1 + arch/arm/mach-kirkwood/include/mach/entry-macro.S | 40 + arch/arm/mach-kirkwood/include/mach/hardware.h | 21 + arch/arm/mach-kirkwood/include/mach/io.h | 26 + arch/arm/mach-kirkwood/include/mach/irqs.h | 63 + arch/arm/mach-kirkwood/include/mach/kirkwood.h | 100 + arch/arm/mach-kirkwood/include/mach/memory.h | 14 + arch/arm/mach-kirkwood/include/mach/system.h | 37 + arch/arm/mach-kirkwood/include/mach/timex.h | 11 + arch/arm/mach-kirkwood/include/mach/uncompress.h | 47 + arch/arm/mach-kirkwood/include/mach/vmalloc.h | 5 + arch/arm/mach-kirkwood/rd88f6192-nas-setup.c | 2 +- arch/arm/mach-kirkwood/rd88f6281-setup.c | 2 +- arch/arm/mach-ks8695/board-micrel.c | 2 +- arch/arm/mach-ks8695/cpu.c | 6 +- arch/arm/mach-ks8695/devices.c | 6 +- arch/arm/mach-ks8695/gpio.c | 6 +- arch/arm/mach-ks8695/include/mach/debug-macro.S | 38 + arch/arm/mach-ks8695/include/mach/devices.h | 37 + arch/arm/mach-ks8695/include/mach/dma.h | 17 + arch/arm/mach-ks8695/include/mach/entry-macro.S | 53 + arch/arm/mach-ks8695/include/mach/gpio.h | 79 + arch/arm/mach-ks8695/include/mach/hardware.h | 49 + arch/arm/mach-ks8695/include/mach/io.h | 19 + arch/arm/mach-ks8695/include/mach/irqs.h | 54 + arch/arm/mach-ks8695/include/mach/memory.h | 49 + arch/arm/mach-ks8695/include/mach/regs-gpio.h | 55 + arch/arm/mach-ks8695/include/mach/regs-hpna.h | 25 + arch/arm/mach-ks8695/include/mach/regs-irq.h | 41 + arch/arm/mach-ks8695/include/mach/regs-lan.h | 65 + arch/arm/mach-ks8695/include/mach/regs-mem.h | 89 + arch/arm/mach-ks8695/include/mach/regs-misc.h | 97 + arch/arm/mach-ks8695/include/mach/regs-pci.h | 53 + arch/arm/mach-ks8695/include/mach/regs-switch.h | 66 + arch/arm/mach-ks8695/include/mach/regs-sys.h | 34 + arch/arm/mach-ks8695/include/mach/regs-timer.h | 40 + arch/arm/mach-ks8695/include/mach/regs-uart.h | 92 + arch/arm/mach-ks8695/include/mach/regs-wan.h | 65 + arch/arm/mach-ks8695/include/mach/system.h | 48 + arch/arm/mach-ks8695/include/mach/timex.h | 20 + arch/arm/mach-ks8695/include/mach/uncompress.h | 37 + arch/arm/mach-ks8695/include/mach/vmalloc.h | 19 + arch/arm/mach-ks8695/irq.c | 6 +- arch/arm/mach-ks8695/leds.c | 4 +- arch/arm/mach-ks8695/pci.c | 6 +- arch/arm/mach-ks8695/time.c | 4 +- arch/arm/mach-l7200/core.c | 2 +- arch/arm/mach-l7200/include/mach/aux_reg.h | 28 + arch/arm/mach-l7200/include/mach/debug-macro.S | 40 + arch/arm/mach-l7200/include/mach/dma.h | 23 + arch/arm/mach-l7200/include/mach/entry-macro.S | 35 + arch/arm/mach-l7200/include/mach/gp_timers.h | 42 + arch/arm/mach-l7200/include/mach/gpio.h | 105 + arch/arm/mach-l7200/include/mach/hardware.h | 57 + arch/arm/mach-l7200/include/mach/io.h | 27 + arch/arm/mach-l7200/include/mach/irqs.h | 56 + arch/arm/mach-l7200/include/mach/memory.h | 29 + arch/arm/mach-l7200/include/mach/pmpcon.h | 46 + arch/arm/mach-l7200/include/mach/pmu.h | 125 ++ arch/arm/mach-l7200/include/mach/serial.h | 37 + arch/arm/mach-l7200/include/mach/serial_l7200.h | 101 + arch/arm/mach-l7200/include/mach/sib.h | 119 ++ arch/arm/mach-l7200/include/mach/sys-clock.h | 67 + arch/arm/mach-l7200/include/mach/system.h | 29 + arch/arm/mach-l7200/include/mach/time.h | 73 + arch/arm/mach-l7200/include/mach/timex.h | 20 + arch/arm/mach-l7200/include/mach/uncompress.h | 39 + arch/arm/mach-l7200/include/mach/vmalloc.h | 4 + arch/arm/mach-lh7a40x/arch-kev7a400.c | 2 +- arch/arm/mach-lh7a40x/arch-lpd7a40x.c | 2 +- arch/arm/mach-lh7a40x/clcd.c | 2 +- arch/arm/mach-lh7a40x/clocks.c | 4 +- arch/arm/mach-lh7a40x/include/mach/clocks.h | 18 + arch/arm/mach-lh7a40x/include/mach/constants.h | 91 + arch/arm/mach-lh7a40x/include/mach/debug-macro.S | 39 + arch/arm/mach-lh7a40x/include/mach/dma.h | 86 + arch/arm/mach-lh7a40x/include/mach/entry-macro.S | 149 ++ arch/arm/mach-lh7a40x/include/mach/hardware.h | 62 + arch/arm/mach-lh7a40x/include/mach/io.h | 22 + arch/arm/mach-lh7a40x/include/mach/irqs.h | 200 ++ arch/arm/mach-lh7a40x/include/mach/memory.h | 76 + arch/arm/mach-lh7a40x/include/mach/registers.h | 224 +++ arch/arm/mach-lh7a40x/include/mach/ssp.h | 71 + arch/arm/mach-lh7a40x/include/mach/system.h | 19 + arch/arm/mach-lh7a40x/include/mach/timex.h | 17 + arch/arm/mach-lh7a40x/include/mach/uncompress.h | 38 + arch/arm/mach-lh7a40x/include/mach/vmalloc.h | 10 + arch/arm/mach-lh7a40x/irq-lh7a400.c | 4 +- arch/arm/mach-lh7a40x/irq-lh7a404.c | 4 +- arch/arm/mach-lh7a40x/irq-lpd7a40x.c | 4 +- arch/arm/mach-lh7a40x/ssp-cpld.c | 4 +- arch/arm/mach-lh7a40x/time.c | 2 +- arch/arm/mach-loki/addr-map.c | 2 +- arch/arm/mach-loki/common.c | 2 +- arch/arm/mach-loki/include/mach/debug-macro.S | 20 + arch/arm/mach-loki/include/mach/dma.h | 1 + arch/arm/mach-loki/include/mach/entry-macro.S | 30 + arch/arm/mach-loki/include/mach/hardware.h | 15 + arch/arm/mach-loki/include/mach/io.h | 26 + arch/arm/mach-loki/include/mach/irqs.h | 58 + arch/arm/mach-loki/include/mach/loki.h | 97 + arch/arm/mach-loki/include/mach/memory.h | 14 + arch/arm/mach-loki/include/mach/system.h | 37 + arch/arm/mach-loki/include/mach/timex.h | 11 + arch/arm/mach-loki/include/mach/uncompress.h | 47 + arch/arm/mach-loki/include/mach/vmalloc.h | 5 + arch/arm/mach-loki/lb88rc8480-setup.c | 2 +- arch/arm/mach-msm/board-halibut.c | 6 +- arch/arm/mach-msm/common.c | 4 +- arch/arm/mach-msm/dma.c | 2 +- arch/arm/mach-msm/idle.S | 2 +- arch/arm/mach-msm/include/mach/board.h | 37 + arch/arm/mach-msm/include/mach/debug-macro.S | 40 + arch/arm/mach-msm/include/mach/dma.h | 151 ++ arch/arm/mach-msm/include/mach/entry-macro.S | 38 + arch/arm/mach-msm/include/mach/hardware.h | 18 + arch/arm/mach-msm/include/mach/io.h | 33 + arch/arm/mach-msm/include/mach/irqs.h | 90 + arch/arm/mach-msm/include/mach/memory.h | 27 + arch/arm/mach-msm/include/mach/msm_iomap.h | 104 + arch/arm/mach-msm/include/mach/system.h | 23 + arch/arm/mach-msm/include/mach/timex.h | 21 + arch/arm/mach-msm/include/mach/uncompress.h | 36 + arch/arm/mach-msm/include/mach/vmalloc.h | 22 + arch/arm/mach-msm/io.c | 6 +- arch/arm/mach-msm/irq.c | 4 +- arch/arm/mach-msm/timer.c | 2 +- arch/arm/mach-mv78xx0/common.c | 2 +- arch/arm/mach-mv78xx0/db78x00-bp-setup.c | 2 +- arch/arm/mach-mv78xx0/include/mach/debug-macro.S | 20 + arch/arm/mach-mv78xx0/include/mach/dma.h | 1 + arch/arm/mach-mv78xx0/include/mach/entry-macro.S | 39 + arch/arm/mach-mv78xx0/include/mach/hardware.h | 21 + arch/arm/mach-mv78xx0/include/mach/io.h | 26 + arch/arm/mach-mv78xx0/include/mach/irqs.h | 91 + arch/arm/mach-mv78xx0/include/mach/memory.h | 14 + arch/arm/mach-mv78xx0/include/mach/mv78xx0.h | 126 ++ arch/arm/mach-mv78xx0/include/mach/system.h | 37 + arch/arm/mach-mv78xx0/include/mach/timex.h | 9 + arch/arm/mach-mv78xx0/include/mach/uncompress.h | 47 + arch/arm/mach-mv78xx0/include/mach/vmalloc.h | 5 + arch/arm/mach-mv78xx0/irq.c | 2 +- arch/arm/mach-mx2/clock_imx27.c | 4 +- arch/arm/mach-mx2/cpu_imx27.c | 2 +- arch/arm/mach-mx2/crm_regs.h | 2 +- arch/arm/mach-mx2/devices.c | 2 +- arch/arm/mach-mx2/generic.c | 2 +- arch/arm/mach-mx2/mx27ads.c | 12 +- arch/arm/mach-mx2/pcm038.c | 10 +- arch/arm/mach-mx2/pcm970-baseboard.c | 2 +- arch/arm/mach-mx2/serial.c | 4 +- arch/arm/mach-mx2/system.c | 2 +- arch/arm/mach-mx3/clock.c | 2 +- arch/arm/mach-mx3/devices.c | 4 +- arch/arm/mach-mx3/iomux.c | 6 +- arch/arm/mach-mx3/mm.c | 4 +- arch/arm/mach-mx3/mx31ads.c | 6 +- arch/arm/mach-mx3/mx31lite.c | 6 +- arch/arm/mach-mx3/pcm037.c | 10 +- arch/arm/mach-netx/fb.c | 4 +- arch/arm/mach-netx/generic.c | 4 +- arch/arm/mach-netx/include/mach/debug-macro.S | 38 + arch/arm/mach-netx/include/mach/dma.h | 21 + arch/arm/mach-netx/include/mach/entry-macro.S | 41 + arch/arm/mach-netx/include/mach/eth.h | 27 + arch/arm/mach-netx/include/mach/hardware.h | 39 + arch/arm/mach-netx/include/mach/io.h | 28 + arch/arm/mach-netx/include/mach/irqs.h | 70 + arch/arm/mach-netx/include/mach/memory.h | 36 + arch/arm/mach-netx/include/mach/netx-regs.h | 410 ++++ arch/arm/mach-netx/include/mach/param.h | 18 + arch/arm/mach-netx/include/mach/pfifo.h | 54 + arch/arm/mach-netx/include/mach/system.h | 38 + arch/arm/mach-netx/include/mach/timex.h | 20 + arch/arm/mach-netx/include/mach/uncompress.h | 76 + arch/arm/mach-netx/include/mach/vmalloc.h | 19 + arch/arm/mach-netx/include/mach/xc.h | 42 + arch/arm/mach-netx/nxdb500.c | 6 +- arch/arm/mach-netx/nxdkn.c | 6 +- arch/arm/mach-netx/nxeb500hmi.c | 6 +- arch/arm/mach-netx/pfifo.c | 6 +- arch/arm/mach-netx/time.c | 4 +- arch/arm/mach-netx/xc.c | 6 +- arch/arm/mach-ns9xxx/board-a9m9750dev.c | 12 +- arch/arm/mach-ns9xxx/gpio-ns9360.c | 4 +- arch/arm/mach-ns9xxx/gpio.c | 6 +- arch/arm/mach-ns9xxx/include/mach/board.h | 42 + arch/arm/mach-ns9xxx/include/mach/debug-macro.S | 22 + arch/arm/mach-ns9xxx/include/mach/dma.h | 14 + arch/arm/mach-ns9xxx/include/mach/entry-macro.S | 28 + arch/arm/mach-ns9xxx/include/mach/gpio.h | 47 + arch/arm/mach-ns9xxx/include/mach/hardware.h | 79 + arch/arm/mach-ns9xxx/include/mach/io.h | 20 + arch/arm/mach-ns9xxx/include/mach/irqs.h | 86 + arch/arm/mach-ns9xxx/include/mach/memory.h | 27 + arch/arm/mach-ns9xxx/include/mach/module.h | 60 + .../mach-ns9xxx/include/mach/processor-ns9360.h | 32 + arch/arm/mach-ns9xxx/include/mach/processor.h | 42 + arch/arm/mach-ns9xxx/include/mach/regs-bbu.h | 45 + .../include/mach/regs-board-a9m9750dev.h | 24 + arch/arm/mach-ns9xxx/include/mach/regs-mem.h | 135 ++ .../arm/mach-ns9xxx/include/mach/regs-sys-common.h | 31 + .../arm/mach-ns9xxx/include/mach/regs-sys-ns9360.h | 148 ++ arch/arm/mach-ns9xxx/include/mach/system.h | 35 + arch/arm/mach-ns9xxx/include/mach/timex.h | 20 + arch/arm/mach-ns9xxx/include/mach/uncompress.h | 164 ++ arch/arm/mach-ns9xxx/include/mach/vmalloc.h | 16 + arch/arm/mach-ns9xxx/irq.c | 6 +- arch/arm/mach-ns9xxx/mach-cc9p9360dev.c | 2 +- arch/arm/mach-ns9xxx/mach-cc9p9360js.c | 2 +- arch/arm/mach-ns9xxx/plat-serial8250.c | 4 +- arch/arm/mach-ns9xxx/processor-ns9360.c | 4 +- arch/arm/mach-ns9xxx/time-ns9360.c | 8 +- arch/arm/mach-omap1/board-ams-delta.c | 16 +- arch/arm/mach-omap1/board-fsample.c | 20 +- arch/arm/mach-omap1/board-generic.c | 12 +- arch/arm/mach-omap1/board-h2-mmc.c | 4 +- arch/arm/mach-omap1/board-h2.c | 22 +- arch/arm/mach-omap1/board-h3-mmc.c | 4 +- arch/arm/mach-omap1/board-h3.c | 26 +- arch/arm/mach-omap1/board-innovator.c | 20 +- arch/arm/mach-omap1/board-nokia770.c | 22 +- arch/arm/mach-omap1/board-osk.c | 16 +- arch/arm/mach-omap1/board-palmte.c | 24 +- arch/arm/mach-omap1/board-palmtt.c | 26 +- arch/arm/mach-omap1/board-palmz71.c | 24 +- arch/arm/mach-omap1/board-perseus2.c | 18 +- arch/arm/mach-omap1/board-sx1-mmc.c | 6 +- arch/arm/mach-omap1/board-sx1.c | 22 +- arch/arm/mach-omap1/board-voiceblue.c | 12 +- arch/arm/mach-omap1/clock.c | 8 +- arch/arm/mach-omap1/devices.c | 10 +- arch/arm/mach-omap1/fpga.c | 6 +- arch/arm/mach-omap1/io.c | 4 +- arch/arm/mach-omap1/irq.c | 6 +- arch/arm/mach-omap1/leds-h2p2-debug.c | 6 +- arch/arm/mach-omap1/leds-innovator.c | 2 +- arch/arm/mach-omap1/leds-osk.c | 4 +- arch/arm/mach-omap1/leds.c | 4 +- arch/arm/mach-omap1/mailbox.c | 4 +- arch/arm/mach-omap1/mcbsp.c | 10 +- arch/arm/mach-omap1/mux.c | 2 +- arch/arm/mach-omap1/pm.c | 18 +- arch/arm/mach-omap1/serial.c | 10 +- arch/arm/mach-omap1/sleep.S | 4 +- arch/arm/mach-omap1/sram.S | 4 +- arch/arm/mach-omap1/time.c | 2 +- arch/arm/mach-omap1/timer32k.c | 4 +- arch/arm/mach-omap2/board-2430sdp.c | 12 +- arch/arm/mach-omap2/board-apollon.c | 18 +- arch/arm/mach-omap2/board-generic.c | 12 +- arch/arm/mach-omap2/board-h4.c | 26 +- arch/arm/mach-omap2/clock.c | 6 +- arch/arm/mach-omap2/clock.h | 2 +- arch/arm/mach-omap2/clock24xx.c | 4 +- arch/arm/mach-omap2/clock34xx.c | 4 +- arch/arm/mach-omap2/clock34xx.h | 2 +- arch/arm/mach-omap2/control.c | 4 +- arch/arm/mach-omap2/devices.c | 12 +- arch/arm/mach-omap2/gpmc.c | 2 +- arch/arm/mach-omap2/id.c | 4 +- arch/arm/mach-omap2/io.c | 4 +- arch/arm/mach-omap2/irq.c | 2 +- arch/arm/mach-omap2/mailbox.c | 4 +- arch/arm/mach-omap2/mcbsp.c | 8 +- arch/arm/mach-omap2/memory.c | 6 +- arch/arm/mach-omap2/mux.c | 4 +- arch/arm/mach-omap2/pm.c | 8 +- arch/arm/mach-omap2/prcm.c | 4 +- arch/arm/mach-omap2/sdrc.h | 2 +- arch/arm/mach-omap2/serial.c | 4 +- arch/arm/mach-omap2/sleep.S | 4 +- arch/arm/mach-omap2/sram242x.S | 4 +- arch/arm/mach-omap2/sram243x.S | 4 +- arch/arm/mach-omap2/timer-gp.c | 2 +- arch/arm/mach-omap2/usb-tusb6010.c | 6 +- arch/arm/mach-orion5x/addr-map.c | 2 +- arch/arm/mach-orion5x/common.c | 4 +- arch/arm/mach-orion5x/db88f5281-setup.c | 2 +- arch/arm/mach-orion5x/dns323-setup.c | 2 +- arch/arm/mach-orion5x/gpio.c | 2 +- arch/arm/mach-orion5x/include/mach/debug-macro.S | 22 + arch/arm/mach-orion5x/include/mach/dma.h | 1 + arch/arm/mach-orion5x/include/mach/entry-macro.S | 31 + arch/arm/mach-orion5x/include/mach/gpio.h | 28 + arch/arm/mach-orion5x/include/mach/hardware.h | 21 + arch/arm/mach-orion5x/include/mach/io.h | 63 + arch/arm/mach-orion5x/include/mach/irqs.h | 62 + arch/arm/mach-orion5x/include/mach/memory.h | 16 + arch/arm/mach-orion5x/include/mach/orion5x.h | 162 ++ arch/arm/mach-orion5x/include/mach/system.h | 32 + arch/arm/mach-orion5x/include/mach/timex.h | 13 + arch/arm/mach-orion5x/include/mach/uncompress.h | 49 + arch/arm/mach-orion5x/include/mach/vmalloc.h | 5 + arch/arm/mach-orion5x/irq.c | 2 +- arch/arm/mach-orion5x/kurobox_pro-setup.c | 2 +- arch/arm/mach-orion5x/mpp.c | 2 +- arch/arm/mach-orion5x/mss2-setup.c | 2 +- arch/arm/mach-orion5x/mv2120-setup.c | 2 +- arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c | 2 +- arch/arm/mach-orion5x/rd88f5181l-ge-setup.c | 2 +- arch/arm/mach-orion5x/rd88f5182-setup.c | 2 +- arch/arm/mach-orion5x/ts209-setup.c | 2 +- arch/arm/mach-orion5x/ts409-setup.c | 2 +- arch/arm/mach-orion5x/ts78xx-setup.c | 2 +- arch/arm/mach-orion5x/wnr854t-setup.c | 2 +- arch/arm/mach-orion5x/wrt350n-v2-setup.c | 2 +- arch/arm/mach-pnx4008/clock.c | 4 +- arch/arm/mach-pnx4008/core.c | 8 +- arch/arm/mach-pnx4008/dma.c | 4 +- arch/arm/mach-pnx4008/gpio.c | 4 +- arch/arm/mach-pnx4008/i2c.c | 4 +- arch/arm/mach-pnx4008/include/mach/clock.h | 62 + arch/arm/mach-pnx4008/include/mach/debug-macro.S | 23 + arch/arm/mach-pnx4008/include/mach/dma.h | 162 ++ arch/arm/mach-pnx4008/include/mach/entry-macro.S | 127 ++ arch/arm/mach-pnx4008/include/mach/gpio.h | 241 +++ arch/arm/mach-pnx4008/include/mach/hardware.h | 32 + arch/arm/mach-pnx4008/include/mach/i2c.h | 67 + arch/arm/mach-pnx4008/include/mach/io.h | 21 + arch/arm/mach-pnx4008/include/mach/irq.h | 42 + arch/arm/mach-pnx4008/include/mach/irqs.h | 215 ++ arch/arm/mach-pnx4008/include/mach/memory.h | 24 + arch/arm/mach-pnx4008/include/mach/param.h | 21 + arch/arm/mach-pnx4008/include/mach/platform.h | 69 + arch/arm/mach-pnx4008/include/mach/pm.h | 33 + arch/arm/mach-pnx4008/include/mach/system.h | 38 + arch/arm/mach-pnx4008/include/mach/timex.h | 73 + arch/arm/mach-pnx4008/include/mach/uncompress.h | 46 + arch/arm/mach-pnx4008/include/mach/vmalloc.h | 20 + arch/arm/mach-pnx4008/irq.c | 4 +- arch/arm/mach-pnx4008/pm.c | 4 +- arch/arm/mach-pnx4008/serial.c | 8 +- arch/arm/mach-pnx4008/sleep.S | 2 +- arch/arm/mach-pnx4008/time.c | 2 +- arch/arm/mach-pxa/akita-ioexp.c | 2 +- arch/arm/mach-pxa/clock.c | 6 +- arch/arm/mach-pxa/cm-x270-pci.c | 2 +- arch/arm/mach-pxa/cm-x270.c | 16 +- arch/arm/mach-pxa/colibri.c | 8 +- arch/arm/mach-pxa/corgi.c | 18 +- arch/arm/mach-pxa/corgi_lcd.c | 12 +- arch/arm/mach-pxa/corgi_pm.c | 12 +- arch/arm/mach-pxa/corgi_ssp.c | 10 +- arch/arm/mach-pxa/cpu-pxa.c | 6 +- arch/arm/mach-pxa/devices.c | 26 +- arch/arm/mach-pxa/dma.c | 4 +- arch/arm/mach-pxa/e400_lcd.c | 4 +- arch/arm/mach-pxa/em-x270.c | 16 +- arch/arm/mach-pxa/eseries.c | 2 +- arch/arm/mach-pxa/eseries_udc.c | 8 +- arch/arm/mach-pxa/ezx.c | 12 +- arch/arm/mach-pxa/generic.c | 4 +- arch/arm/mach-pxa/gpio.c | 6 +- arch/arm/mach-pxa/gumstix.c | 14 +- arch/arm/mach-pxa/idp.c | 14 +- arch/arm/mach-pxa/include/mach/akita.h | 32 + arch/arm/mach-pxa/include/mach/audio.h | 17 + arch/arm/mach-pxa/include/mach/bitfield.h | 113 ++ arch/arm/mach-pxa/include/mach/camera.h | 48 + arch/arm/mach-pxa/include/mach/colibri.h | 19 + arch/arm/mach-pxa/include/mach/corgi.h | 109 + arch/arm/mach-pxa/include/mach/debug-macro.S | 25 + arch/arm/mach-pxa/include/mach/dma.h | 50 + arch/arm/mach-pxa/include/mach/entry-macro.S | 57 + arch/arm/mach-pxa/include/mach/eseries-gpio.h | 50 + arch/arm/mach-pxa/include/mach/eseries-irq.h | 27 + arch/arm/mach-pxa/include/mach/gpio.h | 65 + arch/arm/mach-pxa/include/mach/gumstix.h | 96 + arch/arm/mach-pxa/include/mach/hardware.h | 240 +++ arch/arm/mach-pxa/include/mach/i2c.h | 77 + arch/arm/mach-pxa/include/mach/idp.h | 199 ++ arch/arm/mach-pxa/include/mach/io.h | 20 + arch/arm/mach-pxa/include/mach/irda.h | 23 + arch/arm/mach-pxa/include/mach/irqs.h | 264 +++ arch/arm/mach-pxa/include/mach/littleton.h | 6 + arch/arm/mach-pxa/include/mach/lpd270.h | 38 + arch/arm/mach-pxa/include/mach/lubbock.h | 40 + arch/arm/mach-pxa/include/mach/magician.h | 117 ++ arch/arm/mach-pxa/include/mach/mainstone.h | 120 ++ arch/arm/mach-pxa/include/mach/memory.h | 52 + arch/arm/mach-pxa/include/mach/mfp-pxa25x.h | 161 ++ arch/arm/mach-pxa/include/mach/mfp-pxa27x.h | 433 ++++ arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h | 133 ++ arch/arm/mach-pxa/include/mach/mfp-pxa300.h | 575 ++++++ arch/arm/mach-pxa/include/mach/mfp-pxa320.h | 447 +++++ arch/arm/mach-pxa/include/mach/mfp-pxa3xx.h | 252 +++ arch/arm/mach-pxa/include/mach/mfp-pxa930.h | 491 +++++ arch/arm/mach-pxa/include/mach/mfp.h | 319 +++ arch/arm/mach-pxa/include/mach/mmc.h | 23 + arch/arm/mach-pxa/include/mach/mtd-xip.h | 37 + arch/arm/mach-pxa/include/mach/ohci.h | 20 + arch/arm/mach-pxa/include/mach/palmtx.h | 106 + arch/arm/mach-pxa/include/mach/pcm027.h | 75 + arch/arm/mach-pxa/include/mach/pcm990_baseboard.h | 275 +++ arch/arm/mach-pxa/include/mach/pm.h | 27 + arch/arm/mach-pxa/include/mach/poodle.h | 75 + arch/arm/mach-pxa/include/mach/pxa-regs.h | 1070 ++++++++++ arch/arm/mach-pxa/include/mach/pxa25x-udc.h | 163 ++ arch/arm/mach-pxa/include/mach/pxa27x-udc.h | 257 +++ arch/arm/mach-pxa/include/mach/pxa27x_keypad.h | 58 + arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h | 368 ++++ arch/arm/mach-pxa/include/mach/pxa2xx-regs.h | 246 +++ arch/arm/mach-pxa/include/mach/pxa2xx_spi.h | 46 + arch/arm/mach-pxa/include/mach/pxa3xx-regs.h | 183 ++ arch/arm/mach-pxa/include/mach/pxa3xx_nand.h | 20 + arch/arm/mach-pxa/include/mach/pxafb.h | 151 ++ arch/arm/mach-pxa/include/mach/regs-lcd.h | 180 ++ arch/arm/mach-pxa/include/mach/regs-ssp.h | 127 ++ arch/arm/mach-pxa/include/mach/sharpsl.h | 34 + arch/arm/mach-pxa/include/mach/spitz.h | 158 ++ arch/arm/mach-pxa/include/mach/ssp.h | 83 + arch/arm/mach-pxa/include/mach/system.h | 24 + arch/arm/mach-pxa/include/mach/timex.h | 26 + arch/arm/mach-pxa/include/mach/tosa.h | 198 ++ arch/arm/mach-pxa/include/mach/tosa_bt.h | 22 + arch/arm/mach-pxa/include/mach/trizeps4.h | 106 + arch/arm/mach-pxa/include/mach/udc.h | 8 + arch/arm/mach-pxa/include/mach/uncompress.h | 45 + arch/arm/mach-pxa/include/mach/vmalloc.h | 11 + arch/arm/mach-pxa/include/mach/zylonite.h | 47 + arch/arm/mach-pxa/irq.c | 4 +- arch/arm/mach-pxa/leds-idp.c | 6 +- arch/arm/mach-pxa/leds-lubbock.c | 6 +- arch/arm/mach-pxa/leds-mainstone.c | 6 +- arch/arm/mach-pxa/leds-trizeps4.c | 8 +- arch/arm/mach-pxa/littleton.c | 18 +- arch/arm/mach-pxa/lpd270.c | 20 +- arch/arm/mach-pxa/lubbock.c | 22 +- arch/arm/mach-pxa/magician.c | 20 +- arch/arm/mach-pxa/mainstone.c | 24 +- arch/arm/mach-pxa/mfp-pxa2xx.c | 8 +- arch/arm/mach-pxa/mfp-pxa3xx.c | 8 +- arch/arm/mach-pxa/palmtx.c | 18 +- arch/arm/mach-pxa/pcm027.c | 12 +- arch/arm/mach-pxa/pcm990-baseboard.c | 18 +- arch/arm/mach-pxa/pm.c | 8 +- arch/arm/mach-pxa/poodle.c | 22 +- arch/arm/mach-pxa/pwm.c | 2 +- arch/arm/mach-pxa/pxa25x.c | 14 +- arch/arm/mach-pxa/pxa27x.c | 18 +- arch/arm/mach-pxa/pxa2xx.c | 6 +- arch/arm/mach-pxa/pxa300.c | 6 +- arch/arm/mach-pxa/pxa320.c | 8 +- arch/arm/mach-pxa/pxa3xx.c | 12 +- arch/arm/mach-pxa/pxa930.c | 4 +- arch/arm/mach-pxa/reset.c | 4 +- arch/arm/mach-pxa/saar.c | 6 +- arch/arm/mach-pxa/sharpsl_pm.c | 10 +- arch/arm/mach-pxa/sleep.S | 6 +- arch/arm/mach-pxa/spitz.c | 26 +- arch/arm/mach-pxa/spitz_pm.c | 12 +- arch/arm/mach-pxa/ssp.c | 8 +- arch/arm/mach-pxa/standby.S | 6 +- arch/arm/mach-pxa/tavorevb.c | 6 +- arch/arm/mach-pxa/time.c | 2 +- arch/arm/mach-pxa/tosa-bt.c | 2 +- arch/arm/mach-pxa/tosa.c | 16 +- arch/arm/mach-pxa/trizeps4.c | 20 +- arch/arm/mach-pxa/zylonite.c | 16 +- arch/arm/mach-pxa/zylonite_pxa300.c | 6 +- arch/arm/mach-pxa/zylonite_pxa320.c | 6 +- arch/arm/mach-realview/core.c | 2 +- arch/arm/mach-realview/include/mach/board-eb.h | 191 ++ arch/arm/mach-realview/include/mach/board-pb1176.h | 152 ++ arch/arm/mach-realview/include/mach/board-pb11mp.h | 186 ++ arch/arm/mach-realview/include/mach/debug-macro.S | 22 + arch/arm/mach-realview/include/mach/dma.h | 20 + arch/arm/mach-realview/include/mach/entry-macro.S | 81 + arch/arm/mach-realview/include/mach/hardware.h | 31 + arch/arm/mach-realview/include/mach/io.h | 33 + arch/arm/mach-realview/include/mach/irqs.h | 38 + arch/arm/mach-realview/include/mach/memory.h | 38 + arch/arm/mach-realview/include/mach/platform.h | 293 +++ arch/arm/mach-realview/include/mach/scu.h | 13 + arch/arm/mach-realview/include/mach/smp.h | 30 + arch/arm/mach-realview/include/mach/system.h | 51 + arch/arm/mach-realview/include/mach/timex.h | 23 + arch/arm/mach-realview/include/mach/uncompress.h | 72 + arch/arm/mach-realview/include/mach/vmalloc.h | 21 + arch/arm/mach-realview/localtimer.c | 2 +- arch/arm/mach-realview/platsmp.c | 8 +- arch/arm/mach-realview/realview_eb.c | 6 +- arch/arm/mach-realview/realview_pb1176.c | 6 +- arch/arm/mach-realview/realview_pb11mp.c | 6 +- arch/arm/mach-rpc/dma.c | 2 +- arch/arm/mach-rpc/include/mach/acornfb.h | 140 ++ arch/arm/mach-rpc/include/mach/debug-macro.S | 25 + arch/arm/mach-rpc/include/mach/dma.h | 33 + arch/arm/mach-rpc/include/mach/entry-macro.S | 16 + arch/arm/mach-rpc/include/mach/hardware.h | 83 + arch/arm/mach-rpc/include/mach/io.h | 258 +++ arch/arm/mach-rpc/include/mach/irqs.h | 46 + arch/arm/mach-rpc/include/mach/memory.h | 39 + arch/arm/mach-rpc/include/mach/system.h | 27 + arch/arm/mach-rpc/include/mach/timex.h | 17 + arch/arm/mach-rpc/include/mach/uncompress.h | 198 ++ arch/arm/mach-rpc/include/mach/vmalloc.h | 10 + arch/arm/mach-rpc/riscpc.c | 2 +- arch/arm/mach-s3c2400/gpio.c | 4 +- arch/arm/mach-s3c2400/include/mach/map.h | 66 + arch/arm/mach-s3c2400/include/mach/memory.h | 23 + arch/arm/mach-s3c2410/bast-ide.c | 6 +- arch/arm/mach-s3c2410/bast-irq.c | 8 +- arch/arm/mach-s3c2410/clock.c | 6 +- arch/arm/mach-s3c2410/dma.c | 10 +- arch/arm/mach-s3c2410/gpio.c | 4 +- arch/arm/mach-s3c2410/h1940-bluetooth.c | 6 +- arch/arm/mach-s3c2410/include/mach/anubis-cpld.h | 25 + arch/arm/mach-s3c2410/include/mach/anubis-irq.h | 21 + arch/arm/mach-s3c2410/include/mach/anubis-map.h | 38 + arch/arm/mach-s3c2410/include/mach/audio.h | 45 + arch/arm/mach-s3c2410/include/mach/bast-cpld.h | 53 + arch/arm/mach-s3c2410/include/mach/bast-irq.h | 29 + arch/arm/mach-s3c2410/include/mach/bast-map.h | 146 ++ arch/arm/mach-s3c2410/include/mach/bast-pmu.h | 40 + arch/arm/mach-s3c2410/include/mach/debug-macro.S | 102 + arch/arm/mach-s3c2410/include/mach/dma.h | 453 +++++ arch/arm/mach-s3c2410/include/mach/entry-macro.S | 78 + arch/arm/mach-s3c2410/include/mach/fb.h | 74 + arch/arm/mach-s3c2410/include/mach/gpio.h | 18 + arch/arm/mach-s3c2410/include/mach/h1940-latch.h | 64 + arch/arm/mach-s3c2410/include/mach/h1940.h | 21 + arch/arm/mach-s3c2410/include/mach/hardware.h | 137 ++ arch/arm/mach-s3c2410/include/mach/idle.h | 24 + arch/arm/mach-s3c2410/include/mach/io.h | 218 ++ arch/arm/mach-s3c2410/include/mach/irqs.h | 166 ++ arch/arm/mach-s3c2410/include/mach/leds-gpio.h | 28 + arch/arm/mach-s3c2410/include/mach/map.h | 178 ++ arch/arm/mach-s3c2410/include/mach/memory.h | 19 + arch/arm/mach-s3c2410/include/mach/osiris-cpld.h | 30 + arch/arm/mach-s3c2410/include/mach/osiris-map.h | 42 + arch/arm/mach-s3c2410/include/mach/otom-map.h | 30 + arch/arm/mach-s3c2410/include/mach/regs-clock.h | 197 ++ arch/arm/mach-s3c2410/include/mach/regs-dsc.h | 184 ++ arch/arm/mach-s3c2410/include/mach/regs-gpio.h | 1163 +++++++++++ arch/arm/mach-s3c2410/include/mach/regs-gpioj.h | 106 + arch/arm/mach-s3c2410/include/mach/regs-irq.h | 43 + arch/arm/mach-s3c2410/include/mach/regs-lcd.h | 162 ++ arch/arm/mach-s3c2410/include/mach/regs-mem.h | 220 +++ arch/arm/mach-s3c2410/include/mach/regs-power.h | 40 + .../mach-s3c2410/include/mach/regs-s3c2412-mem.h | 29 + arch/arm/mach-s3c2410/include/mach/regs-s3c2412.h | 23 + .../mach-s3c2410/include/mach/regs-s3c2443-clock.h | 195 ++ arch/arm/mach-s3c2410/include/mach/regs-sdi.h | 127 ++ arch/arm/mach-s3c2410/include/mach/reset.h | 22 + arch/arm/mach-s3c2410/include/mach/spi-gpio.h | 27 + arch/arm/mach-s3c2410/include/mach/spi.h | 25 + arch/arm/mach-s3c2410/include/mach/system-reset.h | 64 + arch/arm/mach-s3c2410/include/mach/system.h | 58 + arch/arm/mach-s3c2410/include/mach/timex.h | 26 + arch/arm/mach-s3c2410/include/mach/uncompress.h | 52 + arch/arm/mach-s3c2410/include/mach/usb-control.h | 41 + arch/arm/mach-s3c2410/include/mach/vmalloc.h | 20 + arch/arm/mach-s3c2410/include/mach/vr1000-cpld.h | 18 + arch/arm/mach-s3c2410/include/mach/vr1000-irq.h | 26 + arch/arm/mach-s3c2410/include/mach/vr1000-map.h | 110 ++ arch/arm/mach-s3c2410/mach-amlm5900.c | 8 +- arch/arm/mach-s3c2410/mach-bast.c | 16 +- arch/arm/mach-s3c2410/mach-h1940.c | 14 +- arch/arm/mach-s3c2410/mach-n30.c | 10 +- arch/arm/mach-s3c2410/mach-otom.c | 6 +- arch/arm/mach-s3c2410/mach-qt2410.c | 12 +- arch/arm/mach-s3c2410/mach-smdk2410.c | 2 +- arch/arm/mach-s3c2410/mach-tct_hammer.c | 2 +- arch/arm/mach-s3c2410/mach-vr1000.c | 14 +- arch/arm/mach-s3c2410/nor-simtec.c | 6 +- arch/arm/mach-s3c2410/pm-h1940.S | 6 +- arch/arm/mach-s3c2410/pm.c | 6 +- arch/arm/mach-s3c2410/s3c2410.c | 4 +- arch/arm/mach-s3c2410/sleep.S | 10 +- arch/arm/mach-s3c2410/usb-simtec.c | 10 +- arch/arm/mach-s3c2412/clock.c | 6 +- arch/arm/mach-s3c2412/dma.c | 10 +- arch/arm/mach-s3c2412/gpio.c | 4 +- arch/arm/mach-s3c2412/irq.c | 8 +- arch/arm/mach-s3c2412/mach-jive.c | 12 +- arch/arm/mach-s3c2412/mach-smdk2413.c | 10 +- arch/arm/mach-s3c2412/mach-vstms.c | 10 +- arch/arm/mach-s3c2412/pm.c | 10 +- arch/arm/mach-s3c2412/s3c2412.c | 18 +- arch/arm/mach-s3c2412/sleep.S | 6 +- arch/arm/mach-s3c2440/clock.c | 4 +- arch/arm/mach-s3c2440/dma.c | 10 +- arch/arm/mach-s3c2440/dsc.c | 6 +- arch/arm/mach-s3c2440/irq.c | 6 +- arch/arm/mach-s3c2440/mach-anubis.c | 14 +- arch/arm/mach-s3c2440/mach-at2440evb.c | 8 +- arch/arm/mach-s3c2440/mach-nexcoder.c | 4 +- arch/arm/mach-s3c2440/mach-osiris.c | 12 +- arch/arm/mach-s3c2440/mach-rx3715.c | 10 +- arch/arm/mach-s3c2440/mach-smdk2440.c | 10 +- arch/arm/mach-s3c2440/s3c2440.c | 2 +- arch/arm/mach-s3c2442/clock.c | 4 +- arch/arm/mach-s3c2443/clock.c | 4 +- arch/arm/mach-s3c2443/dma.c | 10 +- arch/arm/mach-s3c2443/irq.c | 6 +- arch/arm/mach-s3c2443/mach-smdk2443.c | 10 +- arch/arm/mach-s3c2443/s3c2443.c | 6 +- arch/arm/mach-sa1100/assabet.c | 6 +- arch/arm/mach-sa1100/badge4.c | 6 +- arch/arm/mach-sa1100/cerf.c | 6 +- arch/arm/mach-sa1100/clock.c | 2 +- arch/arm/mach-sa1100/collie.c | 6 +- arch/arm/mach-sa1100/collie_pm.c | 4 +- arch/arm/mach-sa1100/cpu-sa1100.c | 2 +- arch/arm/mach-sa1100/cpu-sa1110.c | 2 +- arch/arm/mach-sa1100/dma.c | 4 +- arch/arm/mach-sa1100/generic.c | 2 +- arch/arm/mach-sa1100/gpio.c | 2 +- arch/arm/mach-sa1100/h3600.c | 10 +- arch/arm/mach-sa1100/hackkit.c | 2 +- arch/arm/mach-sa1100/include/mach/SA-1100.h | 2072 ++++++++++++++++++++ arch/arm/mach-sa1100/include/mach/SA-1101.h | 925 +++++++++ arch/arm/mach-sa1100/include/mach/SA-1111.h | 5 + arch/arm/mach-sa1100/include/mach/assabet.h | 105 + arch/arm/mach-sa1100/include/mach/badge4.h | 75 + arch/arm/mach-sa1100/include/mach/bitfield.h | 113 ++ arch/arm/mach-sa1100/include/mach/cerf.h | 28 + arch/arm/mach-sa1100/include/mach/collie.h | 88 + arch/arm/mach-sa1100/include/mach/debug-macro.S | 58 + arch/arm/mach-sa1100/include/mach/dma.h | 117 ++ arch/arm/mach-sa1100/include/mach/entry-macro.S | 47 + arch/arm/mach-sa1100/include/mach/gpio.h | 68 + arch/arm/mach-sa1100/include/mach/h3600.h | 169 ++ arch/arm/mach-sa1100/include/mach/h3600_gpio.h | 540 +++++ arch/arm/mach-sa1100/include/mach/hardware.h | 57 + arch/arm/mach-sa1100/include/mach/ide.h | 75 + arch/arm/mach-sa1100/include/mach/io.h | 26 + arch/arm/mach-sa1100/include/mach/irqs.h | 197 ++ arch/arm/mach-sa1100/include/mach/jornada720.h | 27 + arch/arm/mach-sa1100/include/mach/lart.h | 13 + arch/arm/mach-sa1100/include/mach/mcp.h | 21 + arch/arm/mach-sa1100/include/mach/memory.h | 68 + arch/arm/mach-sa1100/include/mach/mtd-xip.h | 26 + arch/arm/mach-sa1100/include/mach/neponset.h | 74 + arch/arm/mach-sa1100/include/mach/shannon.h | 43 + arch/arm/mach-sa1100/include/mach/simpad.h | 112 ++ arch/arm/mach-sa1100/include/mach/system.h | 22 + arch/arm/mach-sa1100/include/mach/timex.h | 12 + arch/arm/mach-sa1100/include/mach/uncompress.h | 50 + arch/arm/mach-sa1100/include/mach/vmalloc.h | 4 + arch/arm/mach-sa1100/irq.c | 2 +- arch/arm/mach-sa1100/jornada720.c | 2 +- arch/arm/mach-sa1100/jornada720_ssp.c | 4 +- arch/arm/mach-sa1100/lart.c | 4 +- arch/arm/mach-sa1100/leds-assabet.c | 4 +- arch/arm/mach-sa1100/leds-badge4.c | 2 +- arch/arm/mach-sa1100/leds-cerf.c | 2 +- arch/arm/mach-sa1100/leds-hackkit.c | 2 +- arch/arm/mach-sa1100/leds-lart.c | 2 +- arch/arm/mach-sa1100/leds-simpad.c | 4 +- arch/arm/mach-sa1100/neponset.c | 6 +- arch/arm/mach-sa1100/pleb.c | 4 +- arch/arm/mach-sa1100/pm.c | 2 +- arch/arm/mach-sa1100/shannon.c | 6 +- arch/arm/mach-sa1100/simpad.c | 6 +- arch/arm/mach-sa1100/sleep.S | 2 +- arch/arm/mach-sa1100/ssp.c | 2 +- arch/arm/mach-sa1100/time.c | 2 +- arch/arm/mach-shark/include/mach/debug-macro.S | 31 + arch/arm/mach-shark/include/mach/dma.h | 18 + arch/arm/mach-shark/include/mach/entry-macro.S | 41 + arch/arm/mach-shark/include/mach/hardware.h | 51 + arch/arm/mach-shark/include/mach/io.h | 56 + arch/arm/mach-shark/include/mach/irqs.h | 13 + arch/arm/mach-shark/include/mach/memory.h | 48 + arch/arm/mach-shark/include/mach/system.h | 28 + arch/arm/mach-shark/include/mach/timex.h | 7 + arch/arm/mach-shark/include/mach/uncompress.h | 51 + arch/arm/mach-shark/include/mach/vmalloc.h | 4 + arch/arm/mach-shark/irq.c | 2 +- arch/arm/mach-shark/leds.c | 2 +- arch/arm/mach-versatile/core.c | 2 +- arch/arm/mach-versatile/include/mach/debug-macro.S | 23 + arch/arm/mach-versatile/include/mach/dma.h | 20 + arch/arm/mach-versatile/include/mach/entry-macro.S | 44 + arch/arm/mach-versatile/include/mach/hardware.h | 52 + arch/arm/mach-versatile/include/mach/io.h | 32 + arch/arm/mach-versatile/include/mach/irqs.h | 211 ++ arch/arm/mach-versatile/include/mach/memory.h | 38 + arch/arm/mach-versatile/include/mach/platform.h | 510 +++++ arch/arm/mach-versatile/include/mach/system.h | 49 + arch/arm/mach-versatile/include/mach/timex.h | 23 + arch/arm/mach-versatile/include/mach/uncompress.h | 46 + arch/arm/mach-versatile/include/mach/vmalloc.h | 21 + arch/arm/mach-versatile/pci.c | 2 +- arch/arm/mach-versatile/versatile_ab.c | 2 +- arch/arm/mach-versatile/versatile_pb.c | 2 +- arch/arm/mm/cache-v3.S | 2 +- arch/arm/mm/cache-v4.S | 2 +- arch/arm/mm/cache-v4wt.S | 2 +- arch/arm/mm/proc-sa110.S | 2 +- arch/arm/mm/proc-sa1100.S | 2 +- arch/arm/mm/proc-xsc3.S | 2 +- arch/arm/oprofile/op_model_mpcore.c | 2 +- arch/arm/plat-iop/adma.c | 2 +- arch/arm/plat-iop/i2c.c | 2 +- arch/arm/plat-iop/io.c | 2 +- arch/arm/plat-iop/pci.c | 2 +- arch/arm/plat-iop/time.c | 4 +- arch/arm/plat-mxc/clock.c | 2 +- arch/arm/plat-mxc/gpio.c | 2 +- arch/arm/plat-mxc/include/mach/board-mx27ads.h | 354 ++++ arch/arm/plat-mxc/include/mach/board-mx31ads.h | 117 ++ arch/arm/plat-mxc/include/mach/board-mx31lite.h | 38 + arch/arm/plat-mxc/include/mach/board-pcm037.h | 27 + arch/arm/plat-mxc/include/mach/board-pcm038.h | 41 + arch/arm/plat-mxc/include/mach/clock.h | 67 + arch/arm/plat-mxc/include/mach/common.h | 20 + arch/arm/plat-mxc/include/mach/debug-macro.S | 49 + arch/arm/plat-mxc/include/mach/dma.h | 14 + arch/arm/plat-mxc/include/mach/entry-macro.S | 39 + arch/arm/plat-mxc/include/mach/gpio.h | 42 + arch/arm/plat-mxc/include/mach/hardware.h | 37 + arch/arm/plat-mxc/include/mach/iim.h | 77 + arch/arm/plat-mxc/include/mach/imx-uart.h | 32 + arch/arm/plat-mxc/include/mach/io.h | 22 + arch/arm/plat-mxc/include/mach/iomux-mx1-mx2.h | 372 ++++ arch/arm/plat-mxc/include/mach/iomux-mx3.h | 501 +++++ arch/arm/plat-mxc/include/mach/irqs.h | 16 + arch/arm/plat-mxc/include/mach/memory.h | 29 + arch/arm/plat-mxc/include/mach/mx27.h | 302 +++ arch/arm/plat-mxc/include/mach/mx31.h | 384 ++++ arch/arm/plat-mxc/include/mach/mxc.h | 36 + arch/arm/plat-mxc/include/mach/mxc_timer.h | 158 ++ arch/arm/plat-mxc/include/mach/system.h | 34 + arch/arm/plat-mxc/include/mach/timex.h | 25 + arch/arm/plat-mxc/include/mach/uncompress.h | 78 + arch/arm/plat-mxc/include/mach/vmalloc.h | 26 + arch/arm/plat-mxc/iomux-mx1-mx2.c | 4 +- arch/arm/plat-mxc/irq.c | 2 +- arch/arm/plat-mxc/time.c | 6 +- arch/arm/plat-omap/clock.c | 2 +- arch/arm/plat-omap/common.c | 14 +- arch/arm/plat-omap/cpu-omap.c | 2 +- arch/arm/plat-omap/debug-devices.c | 6 +- arch/arm/plat-omap/debug-leds.c | 6 +- arch/arm/plat-omap/devices.c | 14 +- arch/arm/plat-omap/dma.c | 4 +- arch/arm/plat-omap/dmtimer.c | 6 +- arch/arm/plat-omap/fb.c | 8 +- arch/arm/plat-omap/gpio.c | 6 +- arch/arm/plat-omap/i2c.c | 2 +- arch/arm/plat-omap/include/mach/aic23.h | 116 ++ arch/arm/plat-omap/include/mach/blizzard.h | 12 + arch/arm/plat-omap/include/mach/board-2430sdp.h | 39 + arch/arm/plat-omap/include/mach/board-ams-delta.h | 76 + arch/arm/plat-omap/include/mach/board-apollon.h | 38 + arch/arm/plat-omap/include/mach/board-fsample.h | 51 + arch/arm/plat-omap/include/mach/board-h2.h | 41 + arch/arm/plat-omap/include/mach/board-h3.h | 36 + arch/arm/plat-omap/include/mach/board-h4.h | 35 + arch/arm/plat-omap/include/mach/board-innovator.h | 52 + arch/arm/plat-omap/include/mach/board-nokia.h | 54 + arch/arm/plat-omap/include/mach/board-osk.h | 47 + arch/arm/plat-omap/include/mach/board-palmte.h | 32 + arch/arm/plat-omap/include/mach/board-palmtt.h | 23 + arch/arm/plat-omap/include/mach/board-palmz71.h | 26 + arch/arm/plat-omap/include/mach/board-perseus2.h | 39 + arch/arm/plat-omap/include/mach/board-sx1.h | 52 + arch/arm/plat-omap/include/mach/board-voiceblue.h | 20 + arch/arm/plat-omap/include/mach/board.h | 186 ++ arch/arm/plat-omap/include/mach/clock.h | 162 ++ arch/arm/plat-omap/include/mach/common.h | 69 + arch/arm/plat-omap/include/mach/control.h | 189 ++ arch/arm/plat-omap/include/mach/cpu.h | 402 ++++ arch/arm/plat-omap/include/mach/debug-macro.S | 58 + arch/arm/plat-omap/include/mach/dma.h | 570 ++++++ arch/arm/plat-omap/include/mach/dmtimer.h | 84 + arch/arm/plat-omap/include/mach/dsp_common.h | 40 + arch/arm/plat-omap/include/mach/eac.h | 100 + arch/arm/plat-omap/include/mach/entry-macro.S | 89 + arch/arm/plat-omap/include/mach/fpga.h | 197 ++ arch/arm/plat-omap/include/mach/gpio-switch.h | 54 + arch/arm/plat-omap/include/mach/gpio.h | 122 ++ arch/arm/plat-omap/include/mach/gpioexpander.h | 35 + arch/arm/plat-omap/include/mach/gpmc.h | 96 + arch/arm/plat-omap/include/mach/hardware.h | 355 ++++ arch/arm/plat-omap/include/mach/hwa742.h | 12 + arch/arm/plat-omap/include/mach/io.h | 197 ++ arch/arm/plat-omap/include/mach/irda.h | 37 + arch/arm/plat-omap/include/mach/irqs.h | 332 ++++ arch/arm/plat-omap/include/mach/keypad.h | 39 + arch/arm/plat-omap/include/mach/lcd_mipid.h | 24 + arch/arm/plat-omap/include/mach/led.h | 24 + arch/arm/plat-omap/include/mach/mailbox.h | 73 + arch/arm/plat-omap/include/mach/mcbsp.h | 380 ++++ arch/arm/plat-omap/include/mach/mcspi.h | 15 + arch/arm/plat-omap/include/mach/memory.h | 103 + arch/arm/plat-omap/include/mach/menelaus.h | 49 + arch/arm/plat-omap/include/mach/mmc.h | 74 + arch/arm/plat-omap/include/mach/mtd-xip.h | 61 + arch/arm/plat-omap/include/mach/mux.h | 615 ++++++ arch/arm/plat-omap/include/mach/nand.h | 24 + arch/arm/plat-omap/include/mach/omap-alsa.h | 123 ++ arch/arm/plat-omap/include/mach/omap1510.h | 48 + arch/arm/plat-omap/include/mach/omap16xx.h | 197 ++ arch/arm/plat-omap/include/mach/omap24xx.h | 107 + arch/arm/plat-omap/include/mach/omap34xx.h | 72 + arch/arm/plat-omap/include/mach/omap730.h | 102 + arch/arm/plat-omap/include/mach/omapfb.h | 395 ++++ arch/arm/plat-omap/include/mach/onenand.h | 21 + arch/arm/plat-omap/include/mach/param.h | 8 + arch/arm/plat-omap/include/mach/pm.h | 356 ++++ arch/arm/plat-omap/include/mach/prcm.h | 33 + arch/arm/plat-omap/include/mach/sdrc.h | 75 + arch/arm/plat-omap/include/mach/serial.h | 37 + arch/arm/plat-omap/include/mach/sram.h | 56 + arch/arm/plat-omap/include/mach/system.h | 49 + arch/arm/plat-omap/include/mach/tc.h | 106 + arch/arm/plat-omap/include/mach/timex.h | 41 + arch/arm/plat-omap/include/mach/uncompress.h | 83 + arch/arm/plat-omap/include/mach/usb.h | 141 ++ arch/arm/plat-omap/include/mach/vmalloc.h | 21 + arch/arm/plat-omap/mailbox.c | 2 +- arch/arm/plat-omap/mcbsp.c | 4 +- arch/arm/plat-omap/mux.c | 2 +- arch/arm/plat-omap/ocpi.c | 2 +- arch/arm/plat-omap/sram.c | 6 +- arch/arm/plat-omap/usb.c | 10 +- arch/arm/plat-orion/time.c | 2 +- arch/arm/plat-s3c24xx/clock.c | 6 +- arch/arm/plat-s3c24xx/common-smdk.c | 6 +- arch/arm/plat-s3c24xx/cpu.c | 6 +- arch/arm/plat-s3c24xx/devs.c | 4 +- arch/arm/plat-s3c24xx/dma.c | 4 +- arch/arm/plat-s3c24xx/gpio.c | 4 +- arch/arm/plat-s3c24xx/gpiolib.c | 4 +- arch/arm/plat-s3c24xx/irq.c | 6 +- arch/arm/plat-s3c24xx/pm-simtec.c | 8 +- arch/arm/plat-s3c24xx/pm.c | 10 +- arch/arm/plat-s3c24xx/pwm-clock.c | 6 +- arch/arm/plat-s3c24xx/s3c244x-clock.c | 4 +- arch/arm/plat-s3c24xx/s3c244x-irq.c | 6 +- arch/arm/plat-s3c24xx/s3c244x.c | 10 +- arch/arm/plat-s3c24xx/sleep.S | 10 +- arch/arm/plat-s3c24xx/time.c | 4 +- drivers/char/ds1620.c | 2 +- drivers/char/hw_random/ixp4xx-rng.c | 2 +- drivers/crypto/ixp4xx_crypto.c | 4 +- drivers/dma/iop-adma.c | 2 +- drivers/i2c/busses/i2c-acorn.c | 2 +- drivers/i2c/busses/i2c-at91.c | 6 +- drivers/i2c/busses/i2c-davinci.c | 4 +- drivers/i2c/busses/i2c-ixp2000.c | 4 +- drivers/i2c/busses/i2c-pnx.c | 2 +- drivers/i2c/busses/i2c-pxa.c | 6 +- drivers/i2c/busses/i2c-s3c2410.c | 4 +- drivers/i2c/chips/isp1301_omap.c | 4 +- drivers/i2c/chips/menelaus.c | 4 +- drivers/ide/arm/ide_arm.c | 2 +- drivers/input/keyboard/aaed2000_kbd.c | 4 +- drivers/input/keyboard/corgikbd.c | 8 +- drivers/input/keyboard/jornada720_kbd.c | 4 +- drivers/input/keyboard/omap-keypad.c | 10 +- drivers/input/keyboard/pxa27x_keypad.c | 4 +- drivers/input/keyboard/spitzkbd.c | 8 +- drivers/input/keyboard/tosakbd.c | 4 +- drivers/input/misc/ixp4xx-beeper.c | 2 +- drivers/input/mouse/rpcmouse.c | 2 +- drivers/input/serio/rpckbd.c | 2 +- drivers/input/touchscreen/corgi_ts.c | 8 +- drivers/input/touchscreen/h3600_ts_input.c | 4 +- drivers/input/touchscreen/jornada720_ts.c | 4 +- drivers/input/touchscreen/mainstone-wm97xx.c | 2 +- drivers/leds/leds-ams-delta.c | 2 +- drivers/leds/leds-cm-x270.c | 4 +- drivers/leds/leds-corgi.c | 6 +- drivers/leds/leds-fsg.c | 2 +- drivers/leds/leds-h1940.c | 6 +- drivers/leds/leds-locomo.c | 2 +- drivers/leds/leds-s3c24xx.c | 6 +- drivers/leds/leds-spitz.c | 6 +- drivers/media/video/pxa_camera.c | 4 +- drivers/mfd/mcp-sa11x0.c | 6 +- drivers/mfd/ucb1x00-core.c | 2 +- drivers/mfd/ucb1x00-ts.c | 2 +- drivers/mmc/host/at91_mci.c | 6 +- drivers/mmc/host/imxmmc.c | 4 +- drivers/mmc/host/omap.c | 12 +- drivers/mmc/host/pxamci.c | 4 +- drivers/mmc/host/s3cmci.c | 4 +- drivers/mtd/maps/autcpu12-nvram.c | 4 +- drivers/mtd/maps/cdb89712.c | 2 +- drivers/mtd/maps/ceiva.c | 2 +- drivers/mtd/maps/h720x-flash.c | 2 +- drivers/mtd/maps/integrator-flash.c | 2 +- drivers/mtd/maps/ipaq-flash.c | 4 +- drivers/mtd/maps/ixp2000.c | 2 +- drivers/mtd/maps/omap_nor.c | 4 +- drivers/mtd/maps/pxa2xx-flash.c | 2 +- drivers/mtd/maps/sa1100-flash.c | 2 +- drivers/mtd/nand/ams-delta.c | 6 +- drivers/mtd/nand/atmel_nand.c | 4 +- drivers/mtd/nand/autcpu12.c | 4 +- drivers/mtd/nand/cmx270_nand.c | 4 +- drivers/mtd/nand/edb7312.c | 2 +- drivers/mtd/nand/h1910.c | 6 +- drivers/mtd/nand/orion_nand.c | 2 +- drivers/mtd/nand/pxa3xx_nand.c | 4 +- drivers/mtd/nand/sharpsl.c | 2 +- drivers/mtd/nand/ts7250.c | 2 +- drivers/net/arm/am79c961a.c | 2 +- drivers/net/arm/at91_ether.c | 6 +- drivers/net/arm/ep93xx_eth.c | 4 +- drivers/net/arm/ixp4xx_eth.c | 4 +- drivers/net/cs89x0.c | 2 +- drivers/net/irda/ep7211-sir.c | 2 +- drivers/net/irda/pxaficp_ir.c | 4 +- drivers/net/irda/sa1100_ir.c | 2 +- drivers/net/ixp2000/ixp2400-msf.c | 4 +- drivers/net/macb.c | 4 +- drivers/net/netx-eth.c | 10 +- drivers/net/smc911x.h | 2 +- drivers/net/smc91x.h | 6 +- drivers/pcmcia/at91_cf.c | 6 +- drivers/pcmcia/omap_cf.c | 6 +- drivers/pcmcia/pxa2xx_base.c | 6 +- drivers/pcmcia/pxa2xx_cm_x270.c | 2 +- drivers/pcmcia/pxa2xx_lubbock.c | 6 +- drivers/pcmcia/pxa2xx_mainstone.c | 6 +- drivers/pcmcia/pxa2xx_palmtx.c | 4 +- drivers/pcmcia/pxa2xx_sharpsl.c | 2 +- drivers/pcmcia/sa1100_assabet.c | 4 +- drivers/pcmcia/sa1100_badge4.c | 4 +- drivers/pcmcia/sa1100_cerf.c | 4 +- drivers/pcmcia/sa1100_h3600.c | 4 +- drivers/pcmcia/sa1100_jornada720.c | 2 +- drivers/pcmcia/sa1100_neponset.c | 4 +- drivers/pcmcia/sa1100_shannon.c | 4 +- drivers/pcmcia/sa1100_simpad.c | 4 +- drivers/pcmcia/sa1111_generic.c | 2 +- drivers/pcmcia/sa11xx_base.c | 2 +- drivers/pcmcia/soc_common.c | 4 +- drivers/power/palmtx_battery.c | 2 +- drivers/power/tosa_battery.c | 2 +- drivers/rtc/rtc-at91rm9200.c | 2 +- drivers/rtc/rtc-at91sam9.c | 4 +- drivers/rtc/rtc-ep93xx.c | 2 +- drivers/rtc/rtc-s3c.c | 2 +- drivers/rtc/rtc-sa1100.c | 4 +- drivers/scsi/arm/acornscsi-io.S | 2 +- drivers/serial/21285.c | 2 +- drivers/serial/atmel_serial.c | 6 +- drivers/serial/clps711x.c | 2 +- drivers/serial/imx.c | 4 +- drivers/serial/netx-serial.c | 4 +- drivers/serial/pxa.c | 4 +- drivers/serial/s3c2400.c | 4 +- drivers/serial/s3c2410.c | 4 +- drivers/serial/s3c2412.c | 4 +- drivers/serial/s3c2440.c | 4 +- drivers/serial/sa1100.c | 2 +- drivers/serial/samsung.c | 4 +- drivers/serial/serial_ks8695.c | 4 +- drivers/spi/atmel_spi.c | 6 +- drivers/spi/omap2_mcspi.c | 4 +- drivers/spi/omap_uwire.c | 6 +- drivers/spi/pxa2xx_spi.c | 10 +- drivers/spi/spi_imx.c | 6 +- drivers/spi/spi_s3c24xx.c | 6 +- drivers/spi/spi_s3c24xx_gpio.c | 6 +- drivers/usb/gadget/at91_udc.c | 8 +- drivers/usb/gadget/atmel_usba_udc.c | 4 +- drivers/usb/gadget/lh7a40x_udc.h | 2 +- drivers/usb/gadget/omap_udc.c | 4 +- drivers/usb/gadget/pxa25x_udc.c | 2 +- drivers/usb/gadget/pxa25x_udc.h | 2 +- drivers/usb/gadget/pxa27x_udc.c | 6 +- drivers/usb/gadget/s3c2410_udc.c | 8 +- drivers/usb/host/ohci-at91.c | 6 +- drivers/usb/host/ohci-ep93xx.c | 2 +- drivers/usb/host/ohci-lh7a404.c | 2 +- drivers/usb/host/ohci-omap.c | 12 +- drivers/usb/host/ohci-pnx4008.c | 8 +- drivers/usb/host/ohci-pxa27x.c | 8 +- drivers/usb/host/ohci-s3c2410.c | 4 +- drivers/usb/host/ohci-sa1111.c | 6 +- drivers/video/acornfb.c | 4 +- drivers/video/am200epd.c | 2 +- drivers/video/atmel_lcdfb.c | 6 +- drivers/video/backlight/omap1_bl.c | 6 +- drivers/video/clps711xfb.c | 4 +- drivers/video/cyber2000fb.c | 2 +- drivers/video/epson1355fb.c | 2 +- drivers/video/imxfb.c | 4 +- drivers/video/omap/blizzard.c | 6 +- drivers/video/omap/dispc.c | 6 +- drivers/video/omap/hwa742.c | 6 +- drivers/video/omap/lcd_h3.c | 4 +- drivers/video/omap/lcd_h4.c | 2 +- drivers/video/omap/lcd_inn1510.c | 4 +- drivers/video/omap/lcd_inn1610.c | 4 +- drivers/video/omap/lcd_osk.c | 6 +- drivers/video/omap/lcd_palmte.c | 4 +- drivers/video/omap/lcd_palmtt.c | 4 +- drivers/video/omap/lcd_palmz71.c | 2 +- drivers/video/omap/lcd_sx1.c | 8 +- drivers/video/omap/lcdc.c | 4 +- drivers/video/omap/omapfb_main.c | 4 +- drivers/video/omap/rfbi.c | 2 +- drivers/video/omap/sossi.c | 4 +- drivers/video/pnx4008/dum.h | 2 +- drivers/video/pnx4008/sdum.c | 2 +- drivers/video/pxafb.c | 10 +- drivers/video/s3c2410fb.c | 6 +- drivers/video/sa1100fb.c | 6 +- drivers/watchdog/at91rm9200_wdt.c | 2 +- drivers/watchdog/davinci_wdt.c | 2 +- drivers/watchdog/ep93xx_wdt.c | 2 +- drivers/watchdog/iop_wdt.c | 2 +- drivers/watchdog/ixp2000_wdt.c | 2 +- drivers/watchdog/ixp4xx_wdt.c | 2 +- drivers/watchdog/ks8695_wdt.c | 2 +- drivers/watchdog/omap_wdt.c | 4 +- drivers/watchdog/pnx4008_wdt.c | 2 +- drivers/watchdog/s3c2410_wdt.c | 2 +- drivers/watchdog/sa1100_wdt.c | 4 +- drivers/watchdog/wdt285.c | 2 +- include/asm-arm/arch-aaec2000/aaec2000.h | 207 -- include/asm-arm/arch-aaec2000/aaed2000.h | 40 - include/asm-arm/arch-aaec2000/debug-macro.S | 37 - include/asm-arm/arch-aaec2000/dma.h | 9 - include/asm-arm/arch-aaec2000/entry-macro.S | 40 - include/asm-arm/arch-aaec2000/hardware.h | 50 - include/asm-arm/arch-aaec2000/io.h | 20 - include/asm-arm/arch-aaec2000/irqs.h | 46 - include/asm-arm/arch-aaec2000/memory.h | 30 - include/asm-arm/arch-aaec2000/system.h | 24 - include/asm-arm/arch-aaec2000/timex.h | 18 - include/asm-arm/arch-aaec2000/uncompress.h | 46 - include/asm-arm/arch-aaec2000/vmalloc.h | 16 - include/asm-arm/arch-at91/at91_adc.h | 61 - include/asm-arm/arch-at91/at91_aic.h | 53 - include/asm-arm/arch-at91/at91_dbgu.h | 66 - include/asm-arm/arch-at91/at91_mci.h | 113 -- include/asm-arm/arch-at91/at91_pio.h | 49 - include/asm-arm/arch-at91/at91_pit.h | 29 - include/asm-arm/arch-at91/at91_pmc.h | 111 -- include/asm-arm/arch-at91/at91_rstc.h | 38 - include/asm-arm/arch-at91/at91_rtc.h | 75 - include/asm-arm/arch-at91/at91_rtt.h | 32 - include/asm-arm/arch-at91/at91_shdwc.h | 35 - include/asm-arm/arch-at91/at91_spi.h | 81 - include/asm-arm/arch-at91/at91_ssc.h | 106 - include/asm-arm/arch-at91/at91_st.h | 49 - include/asm-arm/arch-at91/at91_tc.h | 146 -- include/asm-arm/arch-at91/at91_twi.h | 68 - include/asm-arm/arch-at91/at91_wdt.h | 34 - include/asm-arm/arch-at91/at91cap9.h | 126 -- include/asm-arm/arch-at91/at91cap9_ddrsdr.h | 100 - include/asm-arm/arch-at91/at91cap9_matrix.h | 137 -- include/asm-arm/arch-at91/at91rm9200.h | 115 -- include/asm-arm/arch-at91/at91rm9200_emac.h | 138 -- include/asm-arm/arch-at91/at91rm9200_mc.h | 160 -- include/asm-arm/arch-at91/at91sam9260.h | 138 -- include/asm-arm/arch-at91/at91sam9260_matrix.h | 78 - include/asm-arm/arch-at91/at91sam9261.h | 105 - include/asm-arm/arch-at91/at91sam9261_matrix.h | 62 - include/asm-arm/arch-at91/at91sam9263.h | 127 -- include/asm-arm/arch-at91/at91sam9263_matrix.h | 129 -- include/asm-arm/arch-at91/at91sam9_sdramc.h | 83 - include/asm-arm/arch-at91/at91sam9_smc.h | 73 - include/asm-arm/arch-at91/at91sam9rl.h | 115 -- include/asm-arm/arch-at91/at91sam9rl_matrix.h | 96 - include/asm-arm/arch-at91/at91x40.h | 55 - include/asm-arm/arch-at91/board.h | 172 -- include/asm-arm/arch-at91/cpu.h | 103 - include/asm-arm/arch-at91/debug-macro.S | 39 - include/asm-arm/arch-at91/dma.h | 19 - include/asm-arm/arch-at91/entry-macro.S | 32 - include/asm-arm/arch-at91/gpio.h | 252 --- include/asm-arm/arch-at91/hardware.h | 92 - include/asm-arm/arch-at91/io.h | 48 - include/asm-arm/arch-at91/irqs.h | 48 - include/asm-arm/arch-at91/memory.h | 39 - include/asm-arm/arch-at91/system.h | 53 - include/asm-arm/arch-at91/timex.h | 77 - include/asm-arm/arch-at91/uncompress.h | 76 - include/asm-arm/arch-at91/vmalloc.h | 26 - include/asm-arm/arch-cl7500/acornfb.h | 33 - include/asm-arm/arch-cl7500/debug-macro.S | 21 - include/asm-arm/arch-cl7500/dma.h | 21 - include/asm-arm/arch-cl7500/entry-macro.S | 16 - include/asm-arm/arch-cl7500/hardware.h | 67 - include/asm-arm/arch-cl7500/io.h | 255 --- include/asm-arm/arch-cl7500/irq.h | 32 - include/asm-arm/arch-cl7500/irqs.h | 66 - include/asm-arm/arch-cl7500/memory.h | 35 - include/asm-arm/arch-cl7500/system.h | 23 - include/asm-arm/arch-cl7500/timex.h | 13 - include/asm-arm/arch-cl7500/uncompress.h | 35 - include/asm-arm/arch-cl7500/vmalloc.h | 4 - include/asm-arm/arch-clps711x/autcpu12.h | 78 - include/asm-arm/arch-clps711x/debug-macro.S | 46 - include/asm-arm/arch-clps711x/dma.h | 19 - include/asm-arm/arch-clps711x/entry-macro.S | 58 - include/asm-arm/arch-clps711x/hardware.h | 237 --- include/asm-arm/arch-clps711x/io.h | 38 - include/asm-arm/arch-clps711x/irqs.h | 53 - include/asm-arm/arch-clps711x/memory.h | 94 - include/asm-arm/arch-clps711x/syspld.h | 121 -- include/asm-arm/arch-clps711x/system.h | 40 - include/asm-arm/arch-clps711x/time.h | 49 - include/asm-arm/arch-clps711x/timex.h | 23 - include/asm-arm/arch-clps711x/uncompress.h | 59 - include/asm-arm/arch-clps711x/vmalloc.h | 20 - include/asm-arm/arch-davinci/clock.h | 22 - include/asm-arm/arch-davinci/common.h | 19 - include/asm-arm/arch-davinci/debug-macro.S | 21 - include/asm-arm/arch-davinci/dma.h | 16 - include/asm-arm/arch-davinci/entry-macro.S | 32 - include/asm-arm/arch-davinci/gpio.h | 159 -- include/asm-arm/arch-davinci/hardware.h | 52 - include/asm-arm/arch-davinci/i2c.h | 21 - include/asm-arm/arch-davinci/io.h | 79 - include/asm-arm/arch-davinci/irqs.h | 105 - include/asm-arm/arch-davinci/memory.h | 64 - include/asm-arm/arch-davinci/mux.h | 55 - include/asm-arm/arch-davinci/psc.h | 76 - include/asm-arm/arch-davinci/serial.h | 20 - include/asm-arm/arch-davinci/system.h | 29 - include/asm-arm/arch-davinci/timex.h | 17 - include/asm-arm/arch-davinci/uncompress.h | 35 - include/asm-arm/arch-davinci/vmalloc.h | 15 - include/asm-arm/arch-ebsa110/debug-macro.S | 21 - include/asm-arm/arch-ebsa110/dma.h | 11 - include/asm-arm/arch-ebsa110/entry-macro.S | 39 - include/asm-arm/arch-ebsa110/hardware.h | 63 - include/asm-arm/arch-ebsa110/io.h | 92 - include/asm-arm/arch-ebsa110/irqs.h | 20 - include/asm-arm/arch-ebsa110/memory.h | 37 - include/asm-arm/arch-ebsa110/system.h | 39 - include/asm-arm/arch-ebsa110/timex.h | 19 - include/asm-arm/arch-ebsa110/uncompress.h | 45 - include/asm-arm/arch-ebsa110/vmalloc.h | 10 - include/asm-arm/arch-ebsa285/debug-macro.S | 57 - include/asm-arm/arch-ebsa285/dma.h | 25 - include/asm-arm/arch-ebsa285/entry-macro.S | 113 -- include/asm-arm/arch-ebsa285/hardware.h | 105 - include/asm-arm/arch-ebsa285/io.h | 39 - include/asm-arm/arch-ebsa285/irqs.h | 98 - include/asm-arm/arch-ebsa285/memory.h | 67 - include/asm-arm/arch-ebsa285/system.h | 69 - include/asm-arm/arch-ebsa285/timex.h | 18 - include/asm-arm/arch-ebsa285/uncompress.h | 38 - include/asm-arm/arch-ebsa285/vmalloc.h | 10 - include/asm-arm/arch-ep93xx/debug-macro.S | 22 - include/asm-arm/arch-ep93xx/dma.h | 3 - include/asm-arm/arch-ep93xx/entry-macro.S | 59 - include/asm-arm/arch-ep93xx/ep93xx-regs.h | 133 -- include/asm-arm/arch-ep93xx/gesbc9312.h | 3 - include/asm-arm/arch-ep93xx/gpio.h | 128 -- include/asm-arm/arch-ep93xx/hardware.h | 16 - include/asm-arm/arch-ep93xx/io.h | 8 - include/asm-arm/arch-ep93xx/irqs.h | 78 - include/asm-arm/arch-ep93xx/memory.h | 14 - include/asm-arm/arch-ep93xx/platform.h | 20 - include/asm-arm/arch-ep93xx/system.h | 26 - include/asm-arm/arch-ep93xx/timex.h | 5 - include/asm-arm/arch-ep93xx/ts72xx.h | 101 - include/asm-arm/arch-ep93xx/uncompress.h | 85 - include/asm-arm/arch-ep93xx/vmalloc.h | 5 - include/asm-arm/arch-h720x/boards.h | 53 - include/asm-arm/arch-h720x/debug-macro.S | 40 - include/asm-arm/arch-h720x/dma.h | 26 - include/asm-arm/arch-h720x/entry-macro.S | 66 - include/asm-arm/arch-h720x/h7201-regs.h | 67 - include/asm-arm/arch-h720x/h7202-regs.h | 155 -- include/asm-arm/arch-h720x/hardware.h | 192 -- include/asm-arm/arch-h720x/io.h | 24 - include/asm-arm/arch-h720x/irqs.h | 116 -- include/asm-arm/arch-h720x/memory.h | 29 - include/asm-arm/arch-h720x/system.h | 33 - include/asm-arm/arch-h720x/timex.h | 15 - include/asm-arm/arch-h720x/uncompress.h | 37 - include/asm-arm/arch-h720x/vmalloc.h | 10 - include/asm-arm/arch-imx/debug-macro.S | 34 - include/asm-arm/arch-imx/dma.h | 56 - include/asm-arm/arch-imx/entry-macro.S | 32 - include/asm-arm/arch-imx/gpio.h | 102 - include/asm-arm/arch-imx/hardware.h | 91 - include/asm-arm/arch-imx/imx-dma.h | 94 - include/asm-arm/arch-imx/imx-regs.h | 482 ----- include/asm-arm/arch-imx/imx-uart.h | 12 - include/asm-arm/arch-imx/imxfb.h | 37 - include/asm-arm/arch-imx/io.h | 30 - include/asm-arm/arch-imx/irqs.h | 116 -- include/asm-arm/arch-imx/memory.h | 36 - include/asm-arm/arch-imx/mmc.h | 15 - include/asm-arm/arch-imx/mx1ads.h | 36 - include/asm-arm/arch-imx/spi_imx.h | 72 - include/asm-arm/arch-imx/system.h | 40 - include/asm-arm/arch-imx/timex.h | 26 - include/asm-arm/arch-imx/uncompress.h | 71 - include/asm-arm/arch-imx/vmalloc.h | 20 - include/asm-arm/arch-integrator/bits.h | 61 - include/asm-arm/arch-integrator/cm.h | 36 - include/asm-arm/arch-integrator/debug-macro.S | 22 - include/asm-arm/arch-integrator/dma.h | 19 - include/asm-arm/arch-integrator/entry-macro.S | 44 - include/asm-arm/arch-integrator/hardware.h | 48 - include/asm-arm/arch-integrator/impd1.h | 18 - include/asm-arm/arch-integrator/io.h | 36 - include/asm-arm/arch-integrator/irqs.h | 82 - include/asm-arm/arch-integrator/lm.h | 23 - include/asm-arm/arch-integrator/memory.h | 39 - include/asm-arm/arch-integrator/platform.h | 469 ----- include/asm-arm/arch-integrator/system.h | 44 - include/asm-arm/arch-integrator/timex.h | 26 - include/asm-arm/arch-integrator/uncompress.h | 50 - include/asm-arm/arch-integrator/vmalloc.h | 20 - include/asm-arm/arch-iop13xx/adma.h | 537 ----- include/asm-arm/arch-iop13xx/debug-macro.S | 26 - include/asm-arm/arch-iop13xx/dma.h | 3 - include/asm-arm/arch-iop13xx/entry-macro.S | 45 - include/asm-arm/arch-iop13xx/hardware.h | 28 - include/asm-arm/arch-iop13xx/io.h | 41 - include/asm-arm/arch-iop13xx/iop13xx.h | 526 ----- include/asm-arm/arch-iop13xx/iq81340.h | 28 - include/asm-arm/arch-iop13xx/irqs.h | 196 -- include/asm-arm/arch-iop13xx/memory.h | 64 - include/asm-arm/arch-iop13xx/msi.h | 11 - include/asm-arm/arch-iop13xx/pci.h | 57 - include/asm-arm/arch-iop13xx/system.h | 27 - include/asm-arm/arch-iop13xx/time.h | 107 - include/asm-arm/arch-iop13xx/timex.h | 3 - include/asm-arm/arch-iop13xx/uncompress.h | 23 - include/asm-arm/arch-iop13xx/vmalloc.h | 4 - include/asm-arm/arch-iop32x/adma.h | 5 - include/asm-arm/arch-iop32x/debug-macro.S | 20 - include/asm-arm/arch-iop32x/dma.h | 9 - include/asm-arm/arch-iop32x/entry-macro.S | 36 - include/asm-arm/arch-iop32x/glantank.h | 13 - include/asm-arm/arch-iop32x/gpio.h | 6 - include/asm-arm/arch-iop32x/hardware.h | 44 - include/asm-arm/arch-iop32x/io.h | 27 - include/asm-arm/arch-iop32x/iop32x.h | 37 - include/asm-arm/arch-iop32x/iq31244.h | 17 - include/asm-arm/arch-iop32x/iq80321.h | 17 - include/asm-arm/arch-iop32x/irqs.h | 50 - include/asm-arm/arch-iop32x/memory.h | 26 - include/asm-arm/arch-iop32x/n2100.h | 19 - include/asm-arm/arch-iop32x/system.h | 33 - include/asm-arm/arch-iop32x/time.h | 4 - include/asm-arm/arch-iop32x/timex.h | 9 - include/asm-arm/arch-iop32x/uncompress.h | 39 - include/asm-arm/arch-iop32x/vmalloc.h | 5 - include/asm-arm/arch-iop33x/adma.h | 5 - include/asm-arm/arch-iop33x/debug-macro.S | 24 - include/asm-arm/arch-iop33x/dma.h | 9 - include/asm-arm/arch-iop33x/entry-macro.S | 37 - include/asm-arm/arch-iop33x/gpio.h | 6 - include/asm-arm/arch-iop33x/hardware.h | 46 - include/asm-arm/arch-iop33x/io.h | 27 - include/asm-arm/arch-iop33x/iop33x.h | 43 - include/asm-arm/arch-iop33x/iq80331.h | 16 - include/asm-arm/arch-iop33x/iq80332.h | 16 - include/asm-arm/arch-iop33x/irqs.h | 60 - include/asm-arm/arch-iop33x/memory.h | 26 - include/asm-arm/arch-iop33x/system.h | 22 - include/asm-arm/arch-iop33x/time.h | 4 - include/asm-arm/arch-iop33x/timex.h | 9 - include/asm-arm/arch-iop33x/uncompress.h | 37 - include/asm-arm/arch-iop33x/vmalloc.h | 5 - include/asm-arm/arch-ixp2000/debug-macro.S | 27 - include/asm-arm/arch-ixp2000/dma.h | 9 - include/asm-arm/arch-ixp2000/enp2611.h | 46 - include/asm-arm/arch-ixp2000/entry-macro.S | 60 - include/asm-arm/arch-ixp2000/gpio.h | 48 - include/asm-arm/arch-ixp2000/hardware.h | 44 - include/asm-arm/arch-ixp2000/io.h | 134 -- include/asm-arm/arch-ixp2000/irqs.h | 207 -- include/asm-arm/arch-ixp2000/ixdp2x00.h | 92 - include/asm-arm/arch-ixp2000/ixdp2x01.h | 57 - include/asm-arm/arch-ixp2000/ixp2000-regs.h | 457 ----- include/asm-arm/arch-ixp2000/memory.h | 34 - include/asm-arm/arch-ixp2000/platform.h | 152 -- include/asm-arm/arch-ixp2000/system.h | 49 - include/asm-arm/arch-ixp2000/timex.h | 13 - include/asm-arm/arch-ixp2000/uncompress.h | 47 - include/asm-arm/arch-ixp2000/vmalloc.h | 20 - include/asm-arm/arch-ixp23xx/debug-macro.S | 26 - include/asm-arm/arch-ixp23xx/dma.h | 3 - include/asm-arm/arch-ixp23xx/entry-macro.S | 37 - include/asm-arm/arch-ixp23xx/hardware.h | 37 - include/asm-arm/arch-ixp23xx/io.h | 54 - include/asm-arm/arch-ixp23xx/irqs.h | 223 --- include/asm-arm/arch-ixp23xx/ixdp2351.h | 89 - include/asm-arm/arch-ixp23xx/ixp23xx.h | 298 --- include/asm-arm/arch-ixp23xx/memory.h | 48 - include/asm-arm/arch-ixp23xx/platform.h | 57 - include/asm-arm/arch-ixp23xx/system.h | 33 - include/asm-arm/arch-ixp23xx/time.h | 3 - include/asm-arm/arch-ixp23xx/timex.h | 7 - include/asm-arm/arch-ixp23xx/uncompress.h | 40 - include/asm-arm/arch-ixp23xx/vmalloc.h | 10 - include/asm-arm/arch-ixp4xx/avila.h | 39 - include/asm-arm/arch-ixp4xx/coyote.h | 33 - include/asm-arm/arch-ixp4xx/cpu.h | 46 - include/asm-arm/arch-ixp4xx/debug-macro.S | 24 - include/asm-arm/arch-ixp4xx/dma.h | 21 - include/asm-arm/arch-ixp4xx/dsmg600.h | 52 - include/asm-arm/arch-ixp4xx/entry-macro.S | 47 - include/asm-arm/arch-ixp4xx/fsg.h | 50 - include/asm-arm/arch-ixp4xx/gpio.h | 73 - include/asm-arm/arch-ixp4xx/gtwx5715.h | 116 -- include/asm-arm/arch-ixp4xx/hardware.h | 50 - include/asm-arm/arch-ixp4xx/io.h | 569 ------ include/asm-arm/arch-ixp4xx/irqs.h | 138 -- include/asm-arm/arch-ixp4xx/ixdp425.h | 39 - include/asm-arm/arch-ixp4xx/ixp4xx-regs.h | 638 ------ include/asm-arm/arch-ixp4xx/memory.h | 40 - include/asm-arm/arch-ixp4xx/nas100d.h | 52 - include/asm-arm/arch-ixp4xx/npe.h | 39 - include/asm-arm/arch-ixp4xx/nslu2.h | 55 - include/asm-arm/arch-ixp4xx/platform.h | 173 -- include/asm-arm/arch-ixp4xx/prpmc1100.h | 33 - include/asm-arm/arch-ixp4xx/qmgr.h | 126 -- include/asm-arm/arch-ixp4xx/system.h | 42 - include/asm-arm/arch-ixp4xx/timex.h | 15 - include/asm-arm/arch-ixp4xx/udc.h | 8 - include/asm-arm/arch-ixp4xx/uncompress.h | 57 - include/asm-arm/arch-ixp4xx/vmalloc.h | 5 - include/asm-arm/arch-kirkwood/debug-macro.S | 20 - include/asm-arm/arch-kirkwood/dma.h | 1 - include/asm-arm/arch-kirkwood/entry-macro.S | 40 - include/asm-arm/arch-kirkwood/hardware.h | 21 - include/asm-arm/arch-kirkwood/io.h | 26 - include/asm-arm/arch-kirkwood/irqs.h | 63 - include/asm-arm/arch-kirkwood/kirkwood.h | 100 - include/asm-arm/arch-kirkwood/memory.h | 14 - include/asm-arm/arch-kirkwood/system.h | 37 - include/asm-arm/arch-kirkwood/timex.h | 11 - include/asm-arm/arch-kirkwood/uncompress.h | 47 - include/asm-arm/arch-kirkwood/vmalloc.h | 5 - include/asm-arm/arch-ks8695/debug-macro.S | 38 - include/asm-arm/arch-ks8695/devices.h | 37 - include/asm-arm/arch-ks8695/dma.h | 17 - include/asm-arm/arch-ks8695/entry-macro.S | 53 - include/asm-arm/arch-ks8695/gpio.h | 79 - include/asm-arm/arch-ks8695/hardware.h | 49 - include/asm-arm/arch-ks8695/io.h | 19 - include/asm-arm/arch-ks8695/irqs.h | 54 - include/asm-arm/arch-ks8695/memory.h | 49 - include/asm-arm/arch-ks8695/regs-gpio.h | 55 - include/asm-arm/arch-ks8695/regs-hpna.h | 25 - include/asm-arm/arch-ks8695/regs-irq.h | 41 - include/asm-arm/arch-ks8695/regs-lan.h | 65 - include/asm-arm/arch-ks8695/regs-mem.h | 89 - include/asm-arm/arch-ks8695/regs-misc.h | 97 - include/asm-arm/arch-ks8695/regs-pci.h | 53 - include/asm-arm/arch-ks8695/regs-switch.h | 66 - include/asm-arm/arch-ks8695/regs-sys.h | 34 - include/asm-arm/arch-ks8695/regs-timer.h | 40 - include/asm-arm/arch-ks8695/regs-uart.h | 92 - include/asm-arm/arch-ks8695/regs-wan.h | 65 - include/asm-arm/arch-ks8695/system.h | 48 - include/asm-arm/arch-ks8695/timex.h | 20 - include/asm-arm/arch-ks8695/uncompress.h | 37 - include/asm-arm/arch-ks8695/vmalloc.h | 19 - include/asm-arm/arch-l7200/aux_reg.h | 28 - include/asm-arm/arch-l7200/debug-macro.S | 40 - include/asm-arm/arch-l7200/dma.h | 23 - include/asm-arm/arch-l7200/entry-macro.S | 35 - include/asm-arm/arch-l7200/gp_timers.h | 42 - include/asm-arm/arch-l7200/gpio.h | 105 - include/asm-arm/arch-l7200/hardware.h | 57 - include/asm-arm/arch-l7200/io.h | 27 - include/asm-arm/arch-l7200/irqs.h | 56 - include/asm-arm/arch-l7200/memory.h | 29 - include/asm-arm/arch-l7200/pmpcon.h | 46 - include/asm-arm/arch-l7200/pmu.h | 125 -- include/asm-arm/arch-l7200/serial.h | 37 - include/asm-arm/arch-l7200/serial_l7200.h | 101 - include/asm-arm/arch-l7200/sib.h | 119 -- include/asm-arm/arch-l7200/sys-clock.h | 67 - include/asm-arm/arch-l7200/system.h | 29 - include/asm-arm/arch-l7200/time.h | 73 - include/asm-arm/arch-l7200/timex.h | 20 - include/asm-arm/arch-l7200/uncompress.h | 39 - include/asm-arm/arch-l7200/vmalloc.h | 4 - include/asm-arm/arch-lh7a40x/clocks.h | 18 - include/asm-arm/arch-lh7a40x/constants.h | 91 - include/asm-arm/arch-lh7a40x/debug-macro.S | 39 - include/asm-arm/arch-lh7a40x/dma.h | 86 - include/asm-arm/arch-lh7a40x/entry-macro.S | 149 -- include/asm-arm/arch-lh7a40x/hardware.h | 62 - include/asm-arm/arch-lh7a40x/io.h | 22 - include/asm-arm/arch-lh7a40x/irqs.h | 200 -- include/asm-arm/arch-lh7a40x/memory.h | 76 - include/asm-arm/arch-lh7a40x/registers.h | 224 --- include/asm-arm/arch-lh7a40x/ssp.h | 71 - include/asm-arm/arch-lh7a40x/system.h | 19 - include/asm-arm/arch-lh7a40x/timex.h | 17 - include/asm-arm/arch-lh7a40x/uncompress.h | 38 - include/asm-arm/arch-lh7a40x/vmalloc.h | 10 - include/asm-arm/arch-loki/debug-macro.S | 20 - include/asm-arm/arch-loki/dma.h | 1 - include/asm-arm/arch-loki/entry-macro.S | 30 - include/asm-arm/arch-loki/hardware.h | 15 - include/asm-arm/arch-loki/io.h | 26 - include/asm-arm/arch-loki/irqs.h | 58 - include/asm-arm/arch-loki/loki.h | 97 - include/asm-arm/arch-loki/memory.h | 14 - include/asm-arm/arch-loki/system.h | 37 - include/asm-arm/arch-loki/timex.h | 11 - include/asm-arm/arch-loki/uncompress.h | 47 - include/asm-arm/arch-loki/vmalloc.h | 5 - include/asm-arm/arch-msm/board.h | 37 - include/asm-arm/arch-msm/debug-macro.S | 40 - include/asm-arm/arch-msm/dma.h | 151 -- include/asm-arm/arch-msm/entry-macro.S | 38 - include/asm-arm/arch-msm/hardware.h | 18 - include/asm-arm/arch-msm/io.h | 33 - include/asm-arm/arch-msm/irqs.h | 90 - include/asm-arm/arch-msm/memory.h | 27 - include/asm-arm/arch-msm/msm_iomap.h | 104 - include/asm-arm/arch-msm/system.h | 23 - include/asm-arm/arch-msm/timex.h | 21 - include/asm-arm/arch-msm/uncompress.h | 36 - include/asm-arm/arch-msm/vmalloc.h | 22 - include/asm-arm/arch-mv78xx0/debug-macro.S | 20 - include/asm-arm/arch-mv78xx0/dma.h | 1 - include/asm-arm/arch-mv78xx0/entry-macro.S | 39 - include/asm-arm/arch-mv78xx0/hardware.h | 21 - include/asm-arm/arch-mv78xx0/io.h | 26 - include/asm-arm/arch-mv78xx0/irqs.h | 91 - include/asm-arm/arch-mv78xx0/memory.h | 14 - include/asm-arm/arch-mv78xx0/mv78xx0.h | 126 -- include/asm-arm/arch-mv78xx0/system.h | 37 - include/asm-arm/arch-mv78xx0/timex.h | 9 - include/asm-arm/arch-mv78xx0/uncompress.h | 47 - include/asm-arm/arch-mv78xx0/vmalloc.h | 5 - include/asm-arm/arch-mxc/board-mx27ads.h | 354 ---- include/asm-arm/arch-mxc/board-mx31ads.h | 117 -- include/asm-arm/arch-mxc/board-mx31lite.h | 38 - include/asm-arm/arch-mxc/board-pcm037.h | 27 - include/asm-arm/arch-mxc/board-pcm038.h | 41 - include/asm-arm/arch-mxc/clock.h | 67 - include/asm-arm/arch-mxc/common.h | 20 - include/asm-arm/arch-mxc/debug-macro.S | 49 - include/asm-arm/arch-mxc/dma.h | 14 - include/asm-arm/arch-mxc/entry-macro.S | 39 - include/asm-arm/arch-mxc/gpio.h | 42 - include/asm-arm/arch-mxc/hardware.h | 37 - include/asm-arm/arch-mxc/iim.h | 77 - include/asm-arm/arch-mxc/imx-uart.h | 32 - include/asm-arm/arch-mxc/io.h | 22 - include/asm-arm/arch-mxc/iomux-mx1-mx2.h | 372 ---- include/asm-arm/arch-mxc/iomux-mx3.h | 501 ----- include/asm-arm/arch-mxc/irqs.h | 16 - include/asm-arm/arch-mxc/memory.h | 29 - include/asm-arm/arch-mxc/mx27.h | 302 --- include/asm-arm/arch-mxc/mx31.h | 384 ---- include/asm-arm/arch-mxc/mxc.h | 36 - include/asm-arm/arch-mxc/mxc_timer.h | 158 -- include/asm-arm/arch-mxc/system.h | 34 - include/asm-arm/arch-mxc/timex.h | 25 - include/asm-arm/arch-mxc/uncompress.h | 78 - include/asm-arm/arch-mxc/vmalloc.h | 26 - include/asm-arm/arch-netx/debug-macro.S | 38 - include/asm-arm/arch-netx/dma.h | 21 - include/asm-arm/arch-netx/entry-macro.S | 41 - include/asm-arm/arch-netx/eth.h | 27 - include/asm-arm/arch-netx/hardware.h | 39 - include/asm-arm/arch-netx/io.h | 28 - include/asm-arm/arch-netx/irqs.h | 70 - include/asm-arm/arch-netx/memory.h | 36 - include/asm-arm/arch-netx/netx-regs.h | 410 ---- include/asm-arm/arch-netx/param.h | 18 - include/asm-arm/arch-netx/pfifo.h | 54 - include/asm-arm/arch-netx/system.h | 38 - include/asm-arm/arch-netx/timex.h | 20 - include/asm-arm/arch-netx/uncompress.h | 76 - include/asm-arm/arch-netx/vmalloc.h | 19 - include/asm-arm/arch-netx/xc.h | 42 - include/asm-arm/arch-ns9xxx/board.h | 42 - include/asm-arm/arch-ns9xxx/debug-macro.S | 22 - include/asm-arm/arch-ns9xxx/dma.h | 14 - include/asm-arm/arch-ns9xxx/entry-macro.S | 28 - include/asm-arm/arch-ns9xxx/gpio.h | 47 - include/asm-arm/arch-ns9xxx/hardware.h | 79 - include/asm-arm/arch-ns9xxx/io.h | 20 - include/asm-arm/arch-ns9xxx/irqs.h | 86 - include/asm-arm/arch-ns9xxx/memory.h | 27 - include/asm-arm/arch-ns9xxx/module.h | 60 - include/asm-arm/arch-ns9xxx/processor-ns9360.h | 32 - include/asm-arm/arch-ns9xxx/processor.h | 42 - include/asm-arm/arch-ns9xxx/regs-bbu.h | 45 - .../asm-arm/arch-ns9xxx/regs-board-a9m9750dev.h | 24 - include/asm-arm/arch-ns9xxx/regs-mem.h | 135 -- include/asm-arm/arch-ns9xxx/regs-sys-common.h | 31 - include/asm-arm/arch-ns9xxx/regs-sys-ns9360.h | 148 -- include/asm-arm/arch-ns9xxx/system.h | 35 - include/asm-arm/arch-ns9xxx/timex.h | 20 - include/asm-arm/arch-ns9xxx/uncompress.h | 164 -- include/asm-arm/arch-ns9xxx/vmalloc.h | 16 - include/asm-arm/arch-omap/aic23.h | 116 -- include/asm-arm/arch-omap/blizzard.h | 12 - include/asm-arm/arch-omap/board-2430sdp.h | 39 - include/asm-arm/arch-omap/board-ams-delta.h | 76 - include/asm-arm/arch-omap/board-apollon.h | 38 - include/asm-arm/arch-omap/board-fsample.h | 51 - include/asm-arm/arch-omap/board-h2.h | 41 - include/asm-arm/arch-omap/board-h3.h | 36 - include/asm-arm/arch-omap/board-h4.h | 35 - include/asm-arm/arch-omap/board-innovator.h | 52 - include/asm-arm/arch-omap/board-nokia.h | 54 - include/asm-arm/arch-omap/board-osk.h | 47 - include/asm-arm/arch-omap/board-palmte.h | 32 - include/asm-arm/arch-omap/board-palmtt.h | 23 - include/asm-arm/arch-omap/board-palmz71.h | 26 - include/asm-arm/arch-omap/board-perseus2.h | 39 - include/asm-arm/arch-omap/board-sx1.h | 52 - include/asm-arm/arch-omap/board-voiceblue.h | 20 - include/asm-arm/arch-omap/board.h | 186 -- include/asm-arm/arch-omap/clock.h | 162 -- include/asm-arm/arch-omap/common.h | 69 - include/asm-arm/arch-omap/control.h | 189 -- include/asm-arm/arch-omap/cpu.h | 402 ---- include/asm-arm/arch-omap/debug-macro.S | 58 - include/asm-arm/arch-omap/dma.h | 570 ------ include/asm-arm/arch-omap/dmtimer.h | 84 - include/asm-arm/arch-omap/dsp_common.h | 40 - include/asm-arm/arch-omap/eac.h | 100 - include/asm-arm/arch-omap/entry-macro.S | 89 - include/asm-arm/arch-omap/fpga.h | 197 -- include/asm-arm/arch-omap/gpio-switch.h | 54 - include/asm-arm/arch-omap/gpio.h | 122 -- include/asm-arm/arch-omap/gpioexpander.h | 35 - include/asm-arm/arch-omap/gpmc.h | 96 - include/asm-arm/arch-omap/hardware.h | 355 ---- include/asm-arm/arch-omap/hwa742.h | 12 - include/asm-arm/arch-omap/io.h | 197 -- include/asm-arm/arch-omap/irda.h | 37 - include/asm-arm/arch-omap/irqs.h | 332 ---- include/asm-arm/arch-omap/keypad.h | 39 - include/asm-arm/arch-omap/lcd_mipid.h | 24 - include/asm-arm/arch-omap/led.h | 24 - include/asm-arm/arch-omap/mailbox.h | 73 - include/asm-arm/arch-omap/mcbsp.h | 380 ---- include/asm-arm/arch-omap/mcspi.h | 15 - include/asm-arm/arch-omap/memory.h | 103 - include/asm-arm/arch-omap/menelaus.h | 49 - include/asm-arm/arch-omap/mmc.h | 74 - include/asm-arm/arch-omap/mtd-xip.h | 61 - include/asm-arm/arch-omap/mux.h | 615 ------ include/asm-arm/arch-omap/nand.h | 24 - include/asm-arm/arch-omap/omap-alsa.h | 123 -- include/asm-arm/arch-omap/omap1510.h | 48 - include/asm-arm/arch-omap/omap16xx.h | 197 -- include/asm-arm/arch-omap/omap24xx.h | 107 - include/asm-arm/arch-omap/omap34xx.h | 72 - include/asm-arm/arch-omap/omap730.h | 102 - include/asm-arm/arch-omap/omapfb.h | 395 ---- include/asm-arm/arch-omap/onenand.h | 21 - include/asm-arm/arch-omap/param.h | 8 - include/asm-arm/arch-omap/pm.h | 356 ---- include/asm-arm/arch-omap/prcm.h | 33 - include/asm-arm/arch-omap/sdrc.h | 75 - include/asm-arm/arch-omap/serial.h | 37 - include/asm-arm/arch-omap/sram.h | 56 - include/asm-arm/arch-omap/system.h | 49 - include/asm-arm/arch-omap/tc.h | 106 - include/asm-arm/arch-omap/timex.h | 41 - include/asm-arm/arch-omap/uncompress.h | 83 - include/asm-arm/arch-omap/usb.h | 141 -- include/asm-arm/arch-omap/vmalloc.h | 21 - include/asm-arm/arch-orion5x/debug-macro.S | 22 - include/asm-arm/arch-orion5x/dma.h | 1 - include/asm-arm/arch-orion5x/entry-macro.S | 31 - include/asm-arm/arch-orion5x/gpio.h | 28 - include/asm-arm/arch-orion5x/hardware.h | 21 - include/asm-arm/arch-orion5x/io.h | 63 - include/asm-arm/arch-orion5x/irqs.h | 62 - include/asm-arm/arch-orion5x/memory.h | 16 - include/asm-arm/arch-orion5x/orion5x.h | 162 -- include/asm-arm/arch-orion5x/system.h | 32 - include/asm-arm/arch-orion5x/timex.h | 13 - include/asm-arm/arch-orion5x/uncompress.h | 49 - include/asm-arm/arch-orion5x/vmalloc.h | 5 - include/asm-arm/arch-pnx4008/clock.h | 62 - include/asm-arm/arch-pnx4008/debug-macro.S | 23 - include/asm-arm/arch-pnx4008/dma.h | 162 -- include/asm-arm/arch-pnx4008/entry-macro.S | 127 -- include/asm-arm/arch-pnx4008/gpio.h | 241 --- include/asm-arm/arch-pnx4008/hardware.h | 32 - include/asm-arm/arch-pnx4008/i2c.h | 67 - include/asm-arm/arch-pnx4008/io.h | 21 - include/asm-arm/arch-pnx4008/irq.h | 42 - include/asm-arm/arch-pnx4008/irqs.h | 215 -- include/asm-arm/arch-pnx4008/memory.h | 24 - include/asm-arm/arch-pnx4008/param.h | 21 - include/asm-arm/arch-pnx4008/platform.h | 69 - include/asm-arm/arch-pnx4008/pm.h | 33 - include/asm-arm/arch-pnx4008/system.h | 38 - include/asm-arm/arch-pnx4008/timex.h | 73 - include/asm-arm/arch-pnx4008/uncompress.h | 46 - include/asm-arm/arch-pnx4008/vmalloc.h | 20 - include/asm-arm/arch-pxa/akita.h | 32 - include/asm-arm/arch-pxa/audio.h | 17 - include/asm-arm/arch-pxa/bitfield.h | 113 -- include/asm-arm/arch-pxa/camera.h | 48 - include/asm-arm/arch-pxa/colibri.h | 19 - include/asm-arm/arch-pxa/corgi.h | 109 - include/asm-arm/arch-pxa/debug-macro.S | 25 - include/asm-arm/arch-pxa/dma.h | 50 - include/asm-arm/arch-pxa/entry-macro.S | 57 - include/asm-arm/arch-pxa/eseries-gpio.h | 50 - include/asm-arm/arch-pxa/eseries-irq.h | 27 - include/asm-arm/arch-pxa/gpio.h | 65 - include/asm-arm/arch-pxa/gumstix.h | 96 - include/asm-arm/arch-pxa/hardware.h | 240 --- include/asm-arm/arch-pxa/i2c.h | 77 - include/asm-arm/arch-pxa/idp.h | 199 -- include/asm-arm/arch-pxa/io.h | 20 - include/asm-arm/arch-pxa/irda.h | 23 - include/asm-arm/arch-pxa/irqs.h | 264 --- include/asm-arm/arch-pxa/littleton.h | 6 - include/asm-arm/arch-pxa/lpd270.h | 38 - include/asm-arm/arch-pxa/lubbock.h | 40 - include/asm-arm/arch-pxa/magician.h | 117 -- include/asm-arm/arch-pxa/mainstone.h | 120 -- include/asm-arm/arch-pxa/memory.h | 52 - include/asm-arm/arch-pxa/mfp-pxa25x.h | 161 -- include/asm-arm/arch-pxa/mfp-pxa27x.h | 433 ---- include/asm-arm/arch-pxa/mfp-pxa2xx.h | 133 -- include/asm-arm/arch-pxa/mfp-pxa300.h | 575 ------ include/asm-arm/arch-pxa/mfp-pxa320.h | 447 ----- include/asm-arm/arch-pxa/mfp-pxa3xx.h | 252 --- include/asm-arm/arch-pxa/mfp-pxa930.h | 491 ----- include/asm-arm/arch-pxa/mfp.h | 319 --- include/asm-arm/arch-pxa/mmc.h | 23 - include/asm-arm/arch-pxa/mtd-xip.h | 37 - include/asm-arm/arch-pxa/ohci.h | 20 - include/asm-arm/arch-pxa/palmtx.h | 106 - include/asm-arm/arch-pxa/pcm027.h | 75 - include/asm-arm/arch-pxa/pcm990_baseboard.h | 275 --- include/asm-arm/arch-pxa/pm.h | 27 - include/asm-arm/arch-pxa/poodle.h | 75 - include/asm-arm/arch-pxa/pxa-regs.h | 1070 ---------- include/asm-arm/arch-pxa/pxa25x-udc.h | 163 -- include/asm-arm/arch-pxa/pxa27x-udc.h | 257 --- include/asm-arm/arch-pxa/pxa27x_keypad.h | 58 - include/asm-arm/arch-pxa/pxa2xx-gpio.h | 368 ---- include/asm-arm/arch-pxa/pxa2xx-regs.h | 246 --- include/asm-arm/arch-pxa/pxa2xx_spi.h | 46 - include/asm-arm/arch-pxa/pxa3xx-regs.h | 183 -- include/asm-arm/arch-pxa/pxa3xx_nand.h | 20 - include/asm-arm/arch-pxa/pxafb.h | 151 -- include/asm-arm/arch-pxa/regs-lcd.h | 180 -- include/asm-arm/arch-pxa/regs-ssp.h | 127 -- include/asm-arm/arch-pxa/sharpsl.h | 34 - include/asm-arm/arch-pxa/spitz.h | 158 -- include/asm-arm/arch-pxa/ssp.h | 83 - include/asm-arm/arch-pxa/system.h | 24 - include/asm-arm/arch-pxa/timex.h | 26 - include/asm-arm/arch-pxa/tosa.h | 198 -- include/asm-arm/arch-pxa/tosa_bt.h | 22 - include/asm-arm/arch-pxa/trizeps4.h | 106 - include/asm-arm/arch-pxa/udc.h | 8 - include/asm-arm/arch-pxa/uncompress.h | 45 - include/asm-arm/arch-pxa/vmalloc.h | 11 - include/asm-arm/arch-pxa/zylonite.h | 47 - include/asm-arm/arch-realview/board-eb.h | 191 -- include/asm-arm/arch-realview/board-pb1176.h | 152 -- include/asm-arm/arch-realview/board-pb11mp.h | 186 -- include/asm-arm/arch-realview/debug-macro.S | 22 - include/asm-arm/arch-realview/dma.h | 20 - include/asm-arm/arch-realview/entry-macro.S | 81 - include/asm-arm/arch-realview/hardware.h | 31 - include/asm-arm/arch-realview/io.h | 33 - include/asm-arm/arch-realview/irqs.h | 38 - include/asm-arm/arch-realview/memory.h | 38 - include/asm-arm/arch-realview/platform.h | 293 --- include/asm-arm/arch-realview/scu.h | 13 - include/asm-arm/arch-realview/smp.h | 30 - include/asm-arm/arch-realview/system.h | 51 - include/asm-arm/arch-realview/timex.h | 23 - include/asm-arm/arch-realview/uncompress.h | 72 - include/asm-arm/arch-realview/vmalloc.h | 21 - include/asm-arm/arch-rpc/acornfb.h | 140 -- include/asm-arm/arch-rpc/debug-macro.S | 25 - include/asm-arm/arch-rpc/dma.h | 33 - include/asm-arm/arch-rpc/entry-macro.S | 16 - include/asm-arm/arch-rpc/hardware.h | 83 - include/asm-arm/arch-rpc/io.h | 258 --- include/asm-arm/arch-rpc/irqs.h | 46 - include/asm-arm/arch-rpc/memory.h | 39 - include/asm-arm/arch-rpc/system.h | 27 - include/asm-arm/arch-rpc/timex.h | 17 - include/asm-arm/arch-rpc/uncompress.h | 198 -- include/asm-arm/arch-rpc/vmalloc.h | 10 - include/asm-arm/arch-s3c2400/map.h | 66 - include/asm-arm/arch-s3c2400/memory.h | 23 - include/asm-arm/arch-s3c2410/anubis-cpld.h | 25 - include/asm-arm/arch-s3c2410/anubis-irq.h | 21 - include/asm-arm/arch-s3c2410/anubis-map.h | 38 - include/asm-arm/arch-s3c2410/audio.h | 45 - include/asm-arm/arch-s3c2410/bast-cpld.h | 53 - include/asm-arm/arch-s3c2410/bast-irq.h | 29 - include/asm-arm/arch-s3c2410/bast-map.h | 146 -- include/asm-arm/arch-s3c2410/bast-pmu.h | 40 - include/asm-arm/arch-s3c2410/debug-macro.S | 102 - include/asm-arm/arch-s3c2410/dma.h | 453 ----- include/asm-arm/arch-s3c2410/entry-macro.S | 78 - include/asm-arm/arch-s3c2410/fb.h | 74 - include/asm-arm/arch-s3c2410/gpio.h | 18 - include/asm-arm/arch-s3c2410/h1940-latch.h | 64 - include/asm-arm/arch-s3c2410/h1940.h | 21 - include/asm-arm/arch-s3c2410/hardware.h | 137 -- include/asm-arm/arch-s3c2410/idle.h | 24 - include/asm-arm/arch-s3c2410/io.h | 218 -- include/asm-arm/arch-s3c2410/irqs.h | 166 -- include/asm-arm/arch-s3c2410/leds-gpio.h | 28 - include/asm-arm/arch-s3c2410/map.h | 178 -- include/asm-arm/arch-s3c2410/memory.h | 19 - include/asm-arm/arch-s3c2410/osiris-cpld.h | 30 - include/asm-arm/arch-s3c2410/osiris-map.h | 42 - include/asm-arm/arch-s3c2410/otom-map.h | 30 - include/asm-arm/arch-s3c2410/regs-clock.h | 197 -- include/asm-arm/arch-s3c2410/regs-dsc.h | 184 -- include/asm-arm/arch-s3c2410/regs-gpio.h | 1163 ----------- include/asm-arm/arch-s3c2410/regs-gpioj.h | 106 - include/asm-arm/arch-s3c2410/regs-irq.h | 43 - include/asm-arm/arch-s3c2410/regs-lcd.h | 162 -- include/asm-arm/arch-s3c2410/regs-mem.h | 220 --- include/asm-arm/arch-s3c2410/regs-power.h | 40 - include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h | 29 - include/asm-arm/arch-s3c2410/regs-s3c2412.h | 23 - include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h | 195 -- include/asm-arm/arch-s3c2410/regs-sdi.h | 127 -- include/asm-arm/arch-s3c2410/reset.h | 22 - include/asm-arm/arch-s3c2410/spi-gpio.h | 27 - include/asm-arm/arch-s3c2410/spi.h | 25 - include/asm-arm/arch-s3c2410/system-reset.h | 64 - include/asm-arm/arch-s3c2410/system.h | 58 - include/asm-arm/arch-s3c2410/timex.h | 26 - include/asm-arm/arch-s3c2410/uncompress.h | 52 - include/asm-arm/arch-s3c2410/usb-control.h | 41 - include/asm-arm/arch-s3c2410/vmalloc.h | 20 - include/asm-arm/arch-s3c2410/vr1000-cpld.h | 18 - include/asm-arm/arch-s3c2410/vr1000-irq.h | 26 - include/asm-arm/arch-s3c2410/vr1000-map.h | 110 -- include/asm-arm/arch-sa1100/SA-1100.h | 2072 -------------------- include/asm-arm/arch-sa1100/SA-1101.h | 925 --------- include/asm-arm/arch-sa1100/SA-1111.h | 5 - include/asm-arm/arch-sa1100/assabet.h | 105 - include/asm-arm/arch-sa1100/badge4.h | 75 - include/asm-arm/arch-sa1100/bitfield.h | 113 -- include/asm-arm/arch-sa1100/cerf.h | 28 - include/asm-arm/arch-sa1100/collie.h | 88 - include/asm-arm/arch-sa1100/debug-macro.S | 58 - include/asm-arm/arch-sa1100/dma.h | 117 -- include/asm-arm/arch-sa1100/entry-macro.S | 47 - include/asm-arm/arch-sa1100/gpio.h | 68 - include/asm-arm/arch-sa1100/h3600.h | 169 -- include/asm-arm/arch-sa1100/h3600_gpio.h | 540 ----- include/asm-arm/arch-sa1100/hardware.h | 57 - include/asm-arm/arch-sa1100/ide.h | 75 - include/asm-arm/arch-sa1100/io.h | 26 - include/asm-arm/arch-sa1100/irqs.h | 197 -- include/asm-arm/arch-sa1100/jornada720.h | 27 - include/asm-arm/arch-sa1100/lart.h | 13 - include/asm-arm/arch-sa1100/mcp.h | 21 - include/asm-arm/arch-sa1100/memory.h | 68 - include/asm-arm/arch-sa1100/mtd-xip.h | 26 - include/asm-arm/arch-sa1100/neponset.h | 74 - include/asm-arm/arch-sa1100/shannon.h | 43 - include/asm-arm/arch-sa1100/simpad.h | 112 -- include/asm-arm/arch-sa1100/system.h | 22 - include/asm-arm/arch-sa1100/timex.h | 12 - include/asm-arm/arch-sa1100/uncompress.h | 50 - include/asm-arm/arch-sa1100/vmalloc.h | 4 - include/asm-arm/arch-shark/debug-macro.S | 31 - include/asm-arm/arch-shark/dma.h | 18 - include/asm-arm/arch-shark/entry-macro.S | 41 - include/asm-arm/arch-shark/hardware.h | 51 - include/asm-arm/arch-shark/io.h | 56 - include/asm-arm/arch-shark/irqs.h | 13 - include/asm-arm/arch-shark/memory.h | 48 - include/asm-arm/arch-shark/system.h | 28 - include/asm-arm/arch-shark/timex.h | 7 - include/asm-arm/arch-shark/uncompress.h | 51 - include/asm-arm/arch-shark/vmalloc.h | 4 - include/asm-arm/arch-versatile/debug-macro.S | 23 - include/asm-arm/arch-versatile/dma.h | 20 - include/asm-arm/arch-versatile/entry-macro.S | 44 - include/asm-arm/arch-versatile/hardware.h | 52 - include/asm-arm/arch-versatile/io.h | 32 - include/asm-arm/arch-versatile/irqs.h | 211 -- include/asm-arm/arch-versatile/memory.h | 38 - include/asm-arm/arch-versatile/platform.h | 510 ----- include/asm-arm/arch-versatile/system.h | 49 - include/asm-arm/arch-versatile/timex.h | 23 - include/asm-arm/arch-versatile/uncompress.h | 46 - include/asm-arm/arch-versatile/vmalloc.h | 21 - include/asm-arm/plat-s3c/iic.h | 2 +- include/asm-arm/plat-s3c/nand.h | 2 +- include/asm-arm/plat-s3c/regs-ac97.h | 2 +- include/asm-arm/plat-s3c/regs-adc.h | 2 +- include/asm-arm/plat-s3c/regs-iic.h | 2 +- include/asm-arm/plat-s3c/regs-nand.h | 2 +- include/asm-arm/plat-s3c/regs-rtc.h | 2 +- include/asm-arm/plat-s3c/regs-serial.h | 2 +- include/asm-arm/plat-s3c/regs-timer.h | 2 +- include/asm-arm/plat-s3c/regs-watchdog.h | 2 +- include/asm-arm/plat-s3c24xx/regs-iis.h | 2 +- include/asm-arm/plat-s3c24xx/regs-spi.h | 2 +- include/asm-arm/plat-s3c24xx/regs-udc.h | 2 +- include/asm-arm/plat-s3c24xx/udc.h | 2 +- sound/arm/pxa2xx-ac97.c | 8 +- sound/arm/pxa2xx-pcm.c | 4 +- sound/arm/sa11xx-uda1341.c | 4 +- sound/oss/vidc.c | 2 +- sound/oss/vidc_fill.S | 2 +- sound/oss/waveartist.c | 2 +- sound/soc/at32/playpaq_wm8510.c | 4 +- sound/soc/at91/at91-pcm.c | 4 +- sound/soc/at91/at91-pcm.h | 2 +- sound/soc/at91/at91-ssc.c | 6 +- sound/soc/at91/eti_b1_wm8731.c | 4 +- sound/soc/davinci/davinci-evm.c | 2 +- sound/soc/omap/n810.c | 4 +- sound/soc/omap/omap-mcbsp.c | 6 +- sound/soc/omap/omap-pcm.c | 2 +- sound/soc/pxa/corgi.c | 8 +- sound/soc/pxa/e800_wm9712.c | 6 +- sound/soc/pxa/em-x270.c | 6 +- sound/soc/pxa/poodle.c | 8 +- sound/soc/pxa/pxa2xx-ac97.c | 8 +- sound/soc/pxa/pxa2xx-i2s.c | 8 +- sound/soc/pxa/pxa2xx-pcm.c | 6 +- sound/soc/pxa/spitz.c | 8 +- sound/soc/pxa/tosa.c | 8 +- sound/soc/s3c24xx/neo1973_wm8753.c | 10 +- sound/soc/s3c24xx/s3c2412-i2s.c | 8 +- sound/soc/s3c24xx/s3c2443-ac97.c | 10 +- sound/soc/s3c24xx/s3c24xx-i2s.c | 10 +- sound/soc/s3c24xx/s3c24xx-pcm.c | 6 +- 2348 files changed, 64521 insertions(+), 64540 deletions(-) create mode 100644 arch/arm/mach-aaec2000/include/mach/aaec2000.h create mode 100644 arch/arm/mach-aaec2000/include/mach/aaed2000.h create mode 100644 arch/arm/mach-aaec2000/include/mach/debug-macro.S create mode 100644 arch/arm/mach-aaec2000/include/mach/dma.h create mode 100644 arch/arm/mach-aaec2000/include/mach/entry-macro.S create mode 100644 arch/arm/mach-aaec2000/include/mach/hardware.h create mode 100644 arch/arm/mach-aaec2000/include/mach/io.h create mode 100644 arch/arm/mach-aaec2000/include/mach/irqs.h create mode 100644 arch/arm/mach-aaec2000/include/mach/memory.h create mode 100644 arch/arm/mach-aaec2000/include/mach/system.h create mode 100644 arch/arm/mach-aaec2000/include/mach/timex.h create mode 100644 arch/arm/mach-aaec2000/include/mach/uncompress.h create mode 100644 arch/arm/mach-aaec2000/include/mach/vmalloc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_adc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_aic.h create mode 100644 arch/arm/mach-at91/include/mach/at91_dbgu.h create mode 100644 arch/arm/mach-at91/include/mach/at91_mci.h create mode 100644 arch/arm/mach-at91/include/mach/at91_pio.h create mode 100644 arch/arm/mach-at91/include/mach/at91_pit.h create mode 100644 arch/arm/mach-at91/include/mach/at91_pmc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_rstc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_rtc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_rtt.h create mode 100644 arch/arm/mach-at91/include/mach/at91_shdwc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_spi.h create mode 100644 arch/arm/mach-at91/include/mach/at91_ssc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_st.h create mode 100644 arch/arm/mach-at91/include/mach/at91_tc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_twi.h create mode 100644 arch/arm/mach-at91/include/mach/at91_wdt.h create mode 100644 arch/arm/mach-at91/include/mach/at91cap9.h create mode 100644 arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h create mode 100644 arch/arm/mach-at91/include/mach/at91cap9_matrix.h create mode 100644 arch/arm/mach-at91/include/mach/at91rm9200.h create mode 100644 arch/arm/mach-at91/include/mach/at91rm9200_emac.h create mode 100644 arch/arm/mach-at91/include/mach/at91rm9200_mc.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9260.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9260_matrix.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9261.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9261_matrix.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9263.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9263_matrix.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9_sdramc.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9_smc.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9rl.h create mode 100644 arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h create mode 100644 arch/arm/mach-at91/include/mach/at91x40.h create mode 100644 arch/arm/mach-at91/include/mach/board.h create mode 100644 arch/arm/mach-at91/include/mach/cpu.h create mode 100644 arch/arm/mach-at91/include/mach/debug-macro.S create mode 100644 arch/arm/mach-at91/include/mach/dma.h create mode 100644 arch/arm/mach-at91/include/mach/entry-macro.S create mode 100644 arch/arm/mach-at91/include/mach/gpio.h create mode 100644 arch/arm/mach-at91/include/mach/hardware.h create mode 100644 arch/arm/mach-at91/include/mach/io.h create mode 100644 arch/arm/mach-at91/include/mach/irqs.h create mode 100644 arch/arm/mach-at91/include/mach/memory.h create mode 100644 arch/arm/mach-at91/include/mach/system.h create mode 100644 arch/arm/mach-at91/include/mach/timex.h create mode 100644 arch/arm/mach-at91/include/mach/uncompress.h create mode 100644 arch/arm/mach-at91/include/mach/vmalloc.h create mode 100644 arch/arm/mach-clps711x/include/mach/autcpu12.h create mode 100644 arch/arm/mach-clps711x/include/mach/debug-macro.S create mode 100644 arch/arm/mach-clps711x/include/mach/dma.h create mode 100644 arch/arm/mach-clps711x/include/mach/entry-macro.S create mode 100644 arch/arm/mach-clps711x/include/mach/hardware.h create mode 100644 arch/arm/mach-clps711x/include/mach/io.h create mode 100644 arch/arm/mach-clps711x/include/mach/irqs.h create mode 100644 arch/arm/mach-clps711x/include/mach/memory.h create mode 100644 arch/arm/mach-clps711x/include/mach/syspld.h create mode 100644 arch/arm/mach-clps711x/include/mach/system.h create mode 100644 arch/arm/mach-clps711x/include/mach/time.h create mode 100644 arch/arm/mach-clps711x/include/mach/timex.h create mode 100644 arch/arm/mach-clps711x/include/mach/uncompress.h create mode 100644 arch/arm/mach-clps711x/include/mach/vmalloc.h create mode 100644 arch/arm/mach-clps7500/include/mach/acornfb.h create mode 100644 arch/arm/mach-clps7500/include/mach/debug-macro.S create mode 100644 arch/arm/mach-clps7500/include/mach/dma.h create mode 100644 arch/arm/mach-clps7500/include/mach/entry-macro.S create mode 100644 arch/arm/mach-clps7500/include/mach/hardware.h create mode 100644 arch/arm/mach-clps7500/include/mach/io.h create mode 100644 arch/arm/mach-clps7500/include/mach/irq.h create mode 100644 arch/arm/mach-clps7500/include/mach/irqs.h create mode 100644 arch/arm/mach-clps7500/include/mach/memory.h create mode 100644 arch/arm/mach-clps7500/include/mach/system.h create mode 100644 arch/arm/mach-clps7500/include/mach/timex.h create mode 100644 arch/arm/mach-clps7500/include/mach/uncompress.h create mode 100644 arch/arm/mach-clps7500/include/mach/vmalloc.h create mode 100644 arch/arm/mach-davinci/include/mach/clock.h create mode 100644 arch/arm/mach-davinci/include/mach/common.h create mode 100644 arch/arm/mach-davinci/include/mach/debug-macro.S create mode 100644 arch/arm/mach-davinci/include/mach/dma.h create mode 100644 arch/arm/mach-davinci/include/mach/entry-macro.S create mode 100644 arch/arm/mach-davinci/include/mach/gpio.h create mode 100644 arch/arm/mach-davinci/include/mach/hardware.h create mode 100644 arch/arm/mach-davinci/include/mach/i2c.h create mode 100644 arch/arm/mach-davinci/include/mach/io.h create mode 100644 arch/arm/mach-davinci/include/mach/irqs.h create mode 100644 arch/arm/mach-davinci/include/mach/memory.h create mode 100644 arch/arm/mach-davinci/include/mach/mux.h create mode 100644 arch/arm/mach-davinci/include/mach/psc.h create mode 100644 arch/arm/mach-davinci/include/mach/serial.h create mode 100644 arch/arm/mach-davinci/include/mach/system.h create mode 100644 arch/arm/mach-davinci/include/mach/timex.h create mode 100644 arch/arm/mach-davinci/include/mach/uncompress.h create mode 100644 arch/arm/mach-davinci/include/mach/vmalloc.h create mode 100644 arch/arm/mach-ebsa110/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ebsa110/include/mach/dma.h create mode 100644 arch/arm/mach-ebsa110/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ebsa110/include/mach/hardware.h create mode 100644 arch/arm/mach-ebsa110/include/mach/io.h create mode 100644 arch/arm/mach-ebsa110/include/mach/irqs.h create mode 100644 arch/arm/mach-ebsa110/include/mach/memory.h create mode 100644 arch/arm/mach-ebsa110/include/mach/system.h create mode 100644 arch/arm/mach-ebsa110/include/mach/timex.h create mode 100644 arch/arm/mach-ebsa110/include/mach/uncompress.h create mode 100644 arch/arm/mach-ebsa110/include/mach/vmalloc.h create mode 100644 arch/arm/mach-ep93xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ep93xx/include/mach/dma.h create mode 100644 arch/arm/mach-ep93xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h create mode 100644 arch/arm/mach-ep93xx/include/mach/gesbc9312.h create mode 100644 arch/arm/mach-ep93xx/include/mach/gpio.h create mode 100644 arch/arm/mach-ep93xx/include/mach/hardware.h create mode 100644 arch/arm/mach-ep93xx/include/mach/io.h create mode 100644 arch/arm/mach-ep93xx/include/mach/irqs.h create mode 100644 arch/arm/mach-ep93xx/include/mach/memory.h create mode 100644 arch/arm/mach-ep93xx/include/mach/platform.h create mode 100644 arch/arm/mach-ep93xx/include/mach/system.h create mode 100644 arch/arm/mach-ep93xx/include/mach/timex.h create mode 100644 arch/arm/mach-ep93xx/include/mach/ts72xx.h create mode 100644 arch/arm/mach-ep93xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-ep93xx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-footbridge/include/mach/debug-macro.S create mode 100644 arch/arm/mach-footbridge/include/mach/dma.h create mode 100644 arch/arm/mach-footbridge/include/mach/entry-macro.S create mode 100644 arch/arm/mach-footbridge/include/mach/hardware.h create mode 100644 arch/arm/mach-footbridge/include/mach/io.h create mode 100644 arch/arm/mach-footbridge/include/mach/irqs.h create mode 100644 arch/arm/mach-footbridge/include/mach/memory.h create mode 100644 arch/arm/mach-footbridge/include/mach/system.h create mode 100644 arch/arm/mach-footbridge/include/mach/timex.h create mode 100644 arch/arm/mach-footbridge/include/mach/uncompress.h create mode 100644 arch/arm/mach-footbridge/include/mach/vmalloc.h create mode 100644 arch/arm/mach-h720x/include/mach/boards.h create mode 100644 arch/arm/mach-h720x/include/mach/debug-macro.S create mode 100644 arch/arm/mach-h720x/include/mach/dma.h create mode 100644 arch/arm/mach-h720x/include/mach/entry-macro.S create mode 100644 arch/arm/mach-h720x/include/mach/h7201-regs.h create mode 100644 arch/arm/mach-h720x/include/mach/h7202-regs.h create mode 100644 arch/arm/mach-h720x/include/mach/hardware.h create mode 100644 arch/arm/mach-h720x/include/mach/io.h create mode 100644 arch/arm/mach-h720x/include/mach/irqs.h create mode 100644 arch/arm/mach-h720x/include/mach/memory.h create mode 100644 arch/arm/mach-h720x/include/mach/system.h create mode 100644 arch/arm/mach-h720x/include/mach/timex.h create mode 100644 arch/arm/mach-h720x/include/mach/uncompress.h create mode 100644 arch/arm/mach-h720x/include/mach/vmalloc.h create mode 100644 arch/arm/mach-imx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-imx/include/mach/dma.h create mode 100644 arch/arm/mach-imx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-imx/include/mach/gpio.h create mode 100644 arch/arm/mach-imx/include/mach/hardware.h create mode 100644 arch/arm/mach-imx/include/mach/imx-dma.h create mode 100644 arch/arm/mach-imx/include/mach/imx-regs.h create mode 100644 arch/arm/mach-imx/include/mach/imx-uart.h create mode 100644 arch/arm/mach-imx/include/mach/imxfb.h create mode 100644 arch/arm/mach-imx/include/mach/io.h create mode 100644 arch/arm/mach-imx/include/mach/irqs.h create mode 100644 arch/arm/mach-imx/include/mach/memory.h create mode 100644 arch/arm/mach-imx/include/mach/mmc.h create mode 100644 arch/arm/mach-imx/include/mach/mx1ads.h create mode 100644 arch/arm/mach-imx/include/mach/spi_imx.h create mode 100644 arch/arm/mach-imx/include/mach/system.h create mode 100644 arch/arm/mach-imx/include/mach/timex.h create mode 100644 arch/arm/mach-imx/include/mach/uncompress.h create mode 100644 arch/arm/mach-imx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-integrator/include/mach/bits.h create mode 100644 arch/arm/mach-integrator/include/mach/cm.h create mode 100644 arch/arm/mach-integrator/include/mach/debug-macro.S create mode 100644 arch/arm/mach-integrator/include/mach/dma.h create mode 100644 arch/arm/mach-integrator/include/mach/entry-macro.S create mode 100644 arch/arm/mach-integrator/include/mach/hardware.h create mode 100644 arch/arm/mach-integrator/include/mach/impd1.h create mode 100644 arch/arm/mach-integrator/include/mach/io.h create mode 100644 arch/arm/mach-integrator/include/mach/irqs.h create mode 100644 arch/arm/mach-integrator/include/mach/lm.h create mode 100644 arch/arm/mach-integrator/include/mach/memory.h create mode 100644 arch/arm/mach-integrator/include/mach/platform.h create mode 100644 arch/arm/mach-integrator/include/mach/system.h create mode 100644 arch/arm/mach-integrator/include/mach/timex.h create mode 100644 arch/arm/mach-integrator/include/mach/uncompress.h create mode 100644 arch/arm/mach-integrator/include/mach/vmalloc.h create mode 100644 arch/arm/mach-iop13xx/include/mach/adma.h create mode 100644 arch/arm/mach-iop13xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-iop13xx/include/mach/dma.h create mode 100644 arch/arm/mach-iop13xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-iop13xx/include/mach/hardware.h create mode 100644 arch/arm/mach-iop13xx/include/mach/io.h create mode 100644 arch/arm/mach-iop13xx/include/mach/iop13xx.h create mode 100644 arch/arm/mach-iop13xx/include/mach/iq81340.h create mode 100644 arch/arm/mach-iop13xx/include/mach/irqs.h create mode 100644 arch/arm/mach-iop13xx/include/mach/memory.h create mode 100644 arch/arm/mach-iop13xx/include/mach/msi.h create mode 100644 arch/arm/mach-iop13xx/include/mach/pci.h create mode 100644 arch/arm/mach-iop13xx/include/mach/system.h create mode 100644 arch/arm/mach-iop13xx/include/mach/time.h create mode 100644 arch/arm/mach-iop13xx/include/mach/timex.h create mode 100644 arch/arm/mach-iop13xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-iop13xx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-iop32x/include/mach/adma.h create mode 100644 arch/arm/mach-iop32x/include/mach/debug-macro.S create mode 100644 arch/arm/mach-iop32x/include/mach/dma.h create mode 100644 arch/arm/mach-iop32x/include/mach/entry-macro.S create mode 100644 arch/arm/mach-iop32x/include/mach/glantank.h create mode 100644 arch/arm/mach-iop32x/include/mach/gpio.h create mode 100644 arch/arm/mach-iop32x/include/mach/hardware.h create mode 100644 arch/arm/mach-iop32x/include/mach/io.h create mode 100644 arch/arm/mach-iop32x/include/mach/iop32x.h create mode 100644 arch/arm/mach-iop32x/include/mach/iq31244.h create mode 100644 arch/arm/mach-iop32x/include/mach/iq80321.h create mode 100644 arch/arm/mach-iop32x/include/mach/irqs.h create mode 100644 arch/arm/mach-iop32x/include/mach/memory.h create mode 100644 arch/arm/mach-iop32x/include/mach/n2100.h create mode 100644 arch/arm/mach-iop32x/include/mach/system.h create mode 100644 arch/arm/mach-iop32x/include/mach/time.h create mode 100644 arch/arm/mach-iop32x/include/mach/timex.h create mode 100644 arch/arm/mach-iop32x/include/mach/uncompress.h create mode 100644 arch/arm/mach-iop32x/include/mach/vmalloc.h create mode 100644 arch/arm/mach-iop33x/include/mach/adma.h create mode 100644 arch/arm/mach-iop33x/include/mach/debug-macro.S create mode 100644 arch/arm/mach-iop33x/include/mach/dma.h create mode 100644 arch/arm/mach-iop33x/include/mach/entry-macro.S create mode 100644 arch/arm/mach-iop33x/include/mach/gpio.h create mode 100644 arch/arm/mach-iop33x/include/mach/hardware.h create mode 100644 arch/arm/mach-iop33x/include/mach/io.h create mode 100644 arch/arm/mach-iop33x/include/mach/iop33x.h create mode 100644 arch/arm/mach-iop33x/include/mach/iq80331.h create mode 100644 arch/arm/mach-iop33x/include/mach/iq80332.h create mode 100644 arch/arm/mach-iop33x/include/mach/irqs.h create mode 100644 arch/arm/mach-iop33x/include/mach/memory.h create mode 100644 arch/arm/mach-iop33x/include/mach/system.h create mode 100644 arch/arm/mach-iop33x/include/mach/time.h create mode 100644 arch/arm/mach-iop33x/include/mach/timex.h create mode 100644 arch/arm/mach-iop33x/include/mach/uncompress.h create mode 100644 arch/arm/mach-iop33x/include/mach/vmalloc.h create mode 100644 arch/arm/mach-ixp2000/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ixp2000/include/mach/dma.h create mode 100644 arch/arm/mach-ixp2000/include/mach/enp2611.h create mode 100644 arch/arm/mach-ixp2000/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ixp2000/include/mach/gpio.h create mode 100644 arch/arm/mach-ixp2000/include/mach/hardware.h create mode 100644 arch/arm/mach-ixp2000/include/mach/io.h create mode 100644 arch/arm/mach-ixp2000/include/mach/irqs.h create mode 100644 arch/arm/mach-ixp2000/include/mach/ixdp2x00.h create mode 100644 arch/arm/mach-ixp2000/include/mach/ixdp2x01.h create mode 100644 arch/arm/mach-ixp2000/include/mach/ixp2000-regs.h create mode 100644 arch/arm/mach-ixp2000/include/mach/memory.h create mode 100644 arch/arm/mach-ixp2000/include/mach/platform.h create mode 100644 arch/arm/mach-ixp2000/include/mach/system.h create mode 100644 arch/arm/mach-ixp2000/include/mach/timex.h create mode 100644 arch/arm/mach-ixp2000/include/mach/uncompress.h create mode 100644 arch/arm/mach-ixp2000/include/mach/vmalloc.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ixp23xx/include/mach/dma.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ixp23xx/include/mach/hardware.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/io.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/irqs.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/ixdp2351.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/ixp23xx.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/memory.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/platform.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/system.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/time.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/timex.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-ixp23xx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/avila.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/coyote.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/cpu.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ixp4xx/include/mach/dma.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/dsmg600.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ixp4xx/include/mach/fsg.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/gpio.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/gtwx5715.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/hardware.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/io.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/irqs.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/ixdp425.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/memory.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/nas100d.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/npe.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/nslu2.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/platform.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/prpmc1100.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/qmgr.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/system.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/timex.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/udc.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/uncompress.h create mode 100644 arch/arm/mach-ixp4xx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-kirkwood/include/mach/debug-macro.S create mode 100644 arch/arm/mach-kirkwood/include/mach/dma.h create mode 100644 arch/arm/mach-kirkwood/include/mach/entry-macro.S create mode 100644 arch/arm/mach-kirkwood/include/mach/hardware.h create mode 100644 arch/arm/mach-kirkwood/include/mach/io.h create mode 100644 arch/arm/mach-kirkwood/include/mach/irqs.h create mode 100644 arch/arm/mach-kirkwood/include/mach/kirkwood.h create mode 100644 arch/arm/mach-kirkwood/include/mach/memory.h create mode 100644 arch/arm/mach-kirkwood/include/mach/system.h create mode 100644 arch/arm/mach-kirkwood/include/mach/timex.h create mode 100644 arch/arm/mach-kirkwood/include/mach/uncompress.h create mode 100644 arch/arm/mach-kirkwood/include/mach/vmalloc.h create mode 100644 arch/arm/mach-ks8695/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ks8695/include/mach/devices.h create mode 100644 arch/arm/mach-ks8695/include/mach/dma.h create mode 100644 arch/arm/mach-ks8695/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ks8695/include/mach/gpio.h create mode 100644 arch/arm/mach-ks8695/include/mach/hardware.h create mode 100644 arch/arm/mach-ks8695/include/mach/io.h create mode 100644 arch/arm/mach-ks8695/include/mach/irqs.h create mode 100644 arch/arm/mach-ks8695/include/mach/memory.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-gpio.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-hpna.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-irq.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-lan.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-mem.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-misc.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-pci.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-switch.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-sys.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-timer.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-uart.h create mode 100644 arch/arm/mach-ks8695/include/mach/regs-wan.h create mode 100644 arch/arm/mach-ks8695/include/mach/system.h create mode 100644 arch/arm/mach-ks8695/include/mach/timex.h create mode 100644 arch/arm/mach-ks8695/include/mach/uncompress.h create mode 100644 arch/arm/mach-ks8695/include/mach/vmalloc.h create mode 100644 arch/arm/mach-l7200/include/mach/aux_reg.h create mode 100644 arch/arm/mach-l7200/include/mach/debug-macro.S create mode 100644 arch/arm/mach-l7200/include/mach/dma.h create mode 100644 arch/arm/mach-l7200/include/mach/entry-macro.S create mode 100644 arch/arm/mach-l7200/include/mach/gp_timers.h create mode 100644 arch/arm/mach-l7200/include/mach/gpio.h create mode 100644 arch/arm/mach-l7200/include/mach/hardware.h create mode 100644 arch/arm/mach-l7200/include/mach/io.h create mode 100644 arch/arm/mach-l7200/include/mach/irqs.h create mode 100644 arch/arm/mach-l7200/include/mach/memory.h create mode 100644 arch/arm/mach-l7200/include/mach/pmpcon.h create mode 100644 arch/arm/mach-l7200/include/mach/pmu.h create mode 100644 arch/arm/mach-l7200/include/mach/serial.h create mode 100644 arch/arm/mach-l7200/include/mach/serial_l7200.h create mode 100644 arch/arm/mach-l7200/include/mach/sib.h create mode 100644 arch/arm/mach-l7200/include/mach/sys-clock.h create mode 100644 arch/arm/mach-l7200/include/mach/system.h create mode 100644 arch/arm/mach-l7200/include/mach/time.h create mode 100644 arch/arm/mach-l7200/include/mach/timex.h create mode 100644 arch/arm/mach-l7200/include/mach/uncompress.h create mode 100644 arch/arm/mach-l7200/include/mach/vmalloc.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/clocks.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/constants.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/debug-macro.S create mode 100644 arch/arm/mach-lh7a40x/include/mach/dma.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/entry-macro.S create mode 100644 arch/arm/mach-lh7a40x/include/mach/hardware.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/io.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/irqs.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/memory.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/registers.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/ssp.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/system.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/timex.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/uncompress.h create mode 100644 arch/arm/mach-lh7a40x/include/mach/vmalloc.h create mode 100644 arch/arm/mach-loki/include/mach/debug-macro.S create mode 100644 arch/arm/mach-loki/include/mach/dma.h create mode 100644 arch/arm/mach-loki/include/mach/entry-macro.S create mode 100644 arch/arm/mach-loki/include/mach/hardware.h create mode 100644 arch/arm/mach-loki/include/mach/io.h create mode 100644 arch/arm/mach-loki/include/mach/irqs.h create mode 100644 arch/arm/mach-loki/include/mach/loki.h create mode 100644 arch/arm/mach-loki/include/mach/memory.h create mode 100644 arch/arm/mach-loki/include/mach/system.h create mode 100644 arch/arm/mach-loki/include/mach/timex.h create mode 100644 arch/arm/mach-loki/include/mach/uncompress.h create mode 100644 arch/arm/mach-loki/include/mach/vmalloc.h create mode 100644 arch/arm/mach-msm/include/mach/board.h create mode 100644 arch/arm/mach-msm/include/mach/debug-macro.S create mode 100644 arch/arm/mach-msm/include/mach/dma.h create mode 100644 arch/arm/mach-msm/include/mach/entry-macro.S create mode 100644 arch/arm/mach-msm/include/mach/hardware.h create mode 100644 arch/arm/mach-msm/include/mach/io.h create mode 100644 arch/arm/mach-msm/include/mach/irqs.h create mode 100644 arch/arm/mach-msm/include/mach/memory.h create mode 100644 arch/arm/mach-msm/include/mach/msm_iomap.h create mode 100644 arch/arm/mach-msm/include/mach/system.h create mode 100644 arch/arm/mach-msm/include/mach/timex.h create mode 100644 arch/arm/mach-msm/include/mach/uncompress.h create mode 100644 arch/arm/mach-msm/include/mach/vmalloc.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/debug-macro.S create mode 100644 arch/arm/mach-mv78xx0/include/mach/dma.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/entry-macro.S create mode 100644 arch/arm/mach-mv78xx0/include/mach/hardware.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/io.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/irqs.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/memory.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/mv78xx0.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/system.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/timex.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/uncompress.h create mode 100644 arch/arm/mach-mv78xx0/include/mach/vmalloc.h create mode 100644 arch/arm/mach-netx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-netx/include/mach/dma.h create mode 100644 arch/arm/mach-netx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-netx/include/mach/eth.h create mode 100644 arch/arm/mach-netx/include/mach/hardware.h create mode 100644 arch/arm/mach-netx/include/mach/io.h create mode 100644 arch/arm/mach-netx/include/mach/irqs.h create mode 100644 arch/arm/mach-netx/include/mach/memory.h create mode 100644 arch/arm/mach-netx/include/mach/netx-regs.h create mode 100644 arch/arm/mach-netx/include/mach/param.h create mode 100644 arch/arm/mach-netx/include/mach/pfifo.h create mode 100644 arch/arm/mach-netx/include/mach/system.h create mode 100644 arch/arm/mach-netx/include/mach/timex.h create mode 100644 arch/arm/mach-netx/include/mach/uncompress.h create mode 100644 arch/arm/mach-netx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-netx/include/mach/xc.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/board.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/debug-macro.S create mode 100644 arch/arm/mach-ns9xxx/include/mach/dma.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/entry-macro.S create mode 100644 arch/arm/mach-ns9xxx/include/mach/gpio.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/hardware.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/io.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/irqs.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/memory.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/module.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/processor-ns9360.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/processor.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/regs-bbu.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/regs-board-a9m9750dev.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/regs-mem.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/regs-sys-common.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/regs-sys-ns9360.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/system.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/timex.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/uncompress.h create mode 100644 arch/arm/mach-ns9xxx/include/mach/vmalloc.h create mode 100644 arch/arm/mach-orion5x/include/mach/debug-macro.S create mode 100644 arch/arm/mach-orion5x/include/mach/dma.h create mode 100644 arch/arm/mach-orion5x/include/mach/entry-macro.S create mode 100644 arch/arm/mach-orion5x/include/mach/gpio.h create mode 100644 arch/arm/mach-orion5x/include/mach/hardware.h create mode 100644 arch/arm/mach-orion5x/include/mach/io.h create mode 100644 arch/arm/mach-orion5x/include/mach/irqs.h create mode 100644 arch/arm/mach-orion5x/include/mach/memory.h create mode 100644 arch/arm/mach-orion5x/include/mach/orion5x.h create mode 100644 arch/arm/mach-orion5x/include/mach/system.h create mode 100644 arch/arm/mach-orion5x/include/mach/timex.h create mode 100644 arch/arm/mach-orion5x/include/mach/uncompress.h create mode 100644 arch/arm/mach-orion5x/include/mach/vmalloc.h create mode 100644 arch/arm/mach-pnx4008/include/mach/clock.h create mode 100644 arch/arm/mach-pnx4008/include/mach/debug-macro.S create mode 100644 arch/arm/mach-pnx4008/include/mach/dma.h create mode 100644 arch/arm/mach-pnx4008/include/mach/entry-macro.S create mode 100644 arch/arm/mach-pnx4008/include/mach/gpio.h create mode 100644 arch/arm/mach-pnx4008/include/mach/hardware.h create mode 100644 arch/arm/mach-pnx4008/include/mach/i2c.h create mode 100644 arch/arm/mach-pnx4008/include/mach/io.h create mode 100644 arch/arm/mach-pnx4008/include/mach/irq.h create mode 100644 arch/arm/mach-pnx4008/include/mach/irqs.h create mode 100644 arch/arm/mach-pnx4008/include/mach/memory.h create mode 100644 arch/arm/mach-pnx4008/include/mach/param.h create mode 100644 arch/arm/mach-pnx4008/include/mach/platform.h create mode 100644 arch/arm/mach-pnx4008/include/mach/pm.h create mode 100644 arch/arm/mach-pnx4008/include/mach/system.h create mode 100644 arch/arm/mach-pnx4008/include/mach/timex.h create mode 100644 arch/arm/mach-pnx4008/include/mach/uncompress.h create mode 100644 arch/arm/mach-pnx4008/include/mach/vmalloc.h create mode 100644 arch/arm/mach-pxa/include/mach/akita.h create mode 100644 arch/arm/mach-pxa/include/mach/audio.h create mode 100644 arch/arm/mach-pxa/include/mach/bitfield.h create mode 100644 arch/arm/mach-pxa/include/mach/camera.h create mode 100644 arch/arm/mach-pxa/include/mach/colibri.h create mode 100644 arch/arm/mach-pxa/include/mach/corgi.h create mode 100644 arch/arm/mach-pxa/include/mach/debug-macro.S create mode 100644 arch/arm/mach-pxa/include/mach/dma.h create mode 100644 arch/arm/mach-pxa/include/mach/entry-macro.S create mode 100644 arch/arm/mach-pxa/include/mach/eseries-gpio.h create mode 100644 arch/arm/mach-pxa/include/mach/eseries-irq.h create mode 100644 arch/arm/mach-pxa/include/mach/gpio.h create mode 100644 arch/arm/mach-pxa/include/mach/gumstix.h create mode 100644 arch/arm/mach-pxa/include/mach/hardware.h create mode 100644 arch/arm/mach-pxa/include/mach/i2c.h create mode 100644 arch/arm/mach-pxa/include/mach/idp.h create mode 100644 arch/arm/mach-pxa/include/mach/io.h create mode 100644 arch/arm/mach-pxa/include/mach/irda.h create mode 100644 arch/arm/mach-pxa/include/mach/irqs.h create mode 100644 arch/arm/mach-pxa/include/mach/littleton.h create mode 100644 arch/arm/mach-pxa/include/mach/lpd270.h create mode 100644 arch/arm/mach-pxa/include/mach/lubbock.h create mode 100644 arch/arm/mach-pxa/include/mach/magician.h create mode 100644 arch/arm/mach-pxa/include/mach/mainstone.h create mode 100644 arch/arm/mach-pxa/include/mach/memory.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa25x.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa27x.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa300.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa320.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa3xx.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp-pxa930.h create mode 100644 arch/arm/mach-pxa/include/mach/mfp.h create mode 100644 arch/arm/mach-pxa/include/mach/mmc.h create mode 100644 arch/arm/mach-pxa/include/mach/mtd-xip.h create mode 100644 arch/arm/mach-pxa/include/mach/ohci.h create mode 100644 arch/arm/mach-pxa/include/mach/palmtx.h create mode 100644 arch/arm/mach-pxa/include/mach/pcm027.h create mode 100644 arch/arm/mach-pxa/include/mach/pcm990_baseboard.h create mode 100644 arch/arm/mach-pxa/include/mach/pm.h create mode 100644 arch/arm/mach-pxa/include/mach/poodle.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa-regs.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa25x-udc.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa27x-udc.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa27x_keypad.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa2xx-regs.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa2xx_spi.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa3xx-regs.h create mode 100644 arch/arm/mach-pxa/include/mach/pxa3xx_nand.h create mode 100644 arch/arm/mach-pxa/include/mach/pxafb.h create mode 100644 arch/arm/mach-pxa/include/mach/regs-lcd.h create mode 100644 arch/arm/mach-pxa/include/mach/regs-ssp.h create mode 100644 arch/arm/mach-pxa/include/mach/sharpsl.h create mode 100644 arch/arm/mach-pxa/include/mach/spitz.h create mode 100644 arch/arm/mach-pxa/include/mach/ssp.h create mode 100644 arch/arm/mach-pxa/include/mach/system.h create mode 100644 arch/arm/mach-pxa/include/mach/timex.h create mode 100644 arch/arm/mach-pxa/include/mach/tosa.h create mode 100644 arch/arm/mach-pxa/include/mach/tosa_bt.h create mode 100644 arch/arm/mach-pxa/include/mach/trizeps4.h create mode 100644 arch/arm/mach-pxa/include/mach/udc.h create mode 100644 arch/arm/mach-pxa/include/mach/uncompress.h create mode 100644 arch/arm/mach-pxa/include/mach/vmalloc.h create mode 100644 arch/arm/mach-pxa/include/mach/zylonite.h create mode 100644 arch/arm/mach-realview/include/mach/board-eb.h create mode 100644 arch/arm/mach-realview/include/mach/board-pb1176.h create mode 100644 arch/arm/mach-realview/include/mach/board-pb11mp.h create mode 100644 arch/arm/mach-realview/include/mach/debug-macro.S create mode 100644 arch/arm/mach-realview/include/mach/dma.h create mode 100644 arch/arm/mach-realview/include/mach/entry-macro.S create mode 100644 arch/arm/mach-realview/include/mach/hardware.h create mode 100644 arch/arm/mach-realview/include/mach/io.h create mode 100644 arch/arm/mach-realview/include/mach/irqs.h create mode 100644 arch/arm/mach-realview/include/mach/memory.h create mode 100644 arch/arm/mach-realview/include/mach/platform.h create mode 100644 arch/arm/mach-realview/include/mach/scu.h create mode 100644 arch/arm/mach-realview/include/mach/smp.h create mode 100644 arch/arm/mach-realview/include/mach/system.h create mode 100644 arch/arm/mach-realview/include/mach/timex.h create mode 100644 arch/arm/mach-realview/include/mach/uncompress.h create mode 100644 arch/arm/mach-realview/include/mach/vmalloc.h create mode 100644 arch/arm/mach-rpc/include/mach/acornfb.h create mode 100644 arch/arm/mach-rpc/include/mach/debug-macro.S create mode 100644 arch/arm/mach-rpc/include/mach/dma.h create mode 100644 arch/arm/mach-rpc/include/mach/entry-macro.S create mode 100644 arch/arm/mach-rpc/include/mach/hardware.h create mode 100644 arch/arm/mach-rpc/include/mach/io.h create mode 100644 arch/arm/mach-rpc/include/mach/irqs.h create mode 100644 arch/arm/mach-rpc/include/mach/memory.h create mode 100644 arch/arm/mach-rpc/include/mach/system.h create mode 100644 arch/arm/mach-rpc/include/mach/timex.h create mode 100644 arch/arm/mach-rpc/include/mach/uncompress.h create mode 100644 arch/arm/mach-rpc/include/mach/vmalloc.h create mode 100644 arch/arm/mach-s3c2400/include/mach/map.h create mode 100644 arch/arm/mach-s3c2400/include/mach/memory.h create mode 100644 arch/arm/mach-s3c2410/include/mach/anubis-cpld.h create mode 100644 arch/arm/mach-s3c2410/include/mach/anubis-irq.h create mode 100644 arch/arm/mach-s3c2410/include/mach/anubis-map.h create mode 100644 arch/arm/mach-s3c2410/include/mach/audio.h create mode 100644 arch/arm/mach-s3c2410/include/mach/bast-cpld.h create mode 100644 arch/arm/mach-s3c2410/include/mach/bast-irq.h create mode 100644 arch/arm/mach-s3c2410/include/mach/bast-map.h create mode 100644 arch/arm/mach-s3c2410/include/mach/bast-pmu.h create mode 100644 arch/arm/mach-s3c2410/include/mach/debug-macro.S create mode 100644 arch/arm/mach-s3c2410/include/mach/dma.h create mode 100644 arch/arm/mach-s3c2410/include/mach/entry-macro.S create mode 100644 arch/arm/mach-s3c2410/include/mach/fb.h create mode 100644 arch/arm/mach-s3c2410/include/mach/gpio.h create mode 100644 arch/arm/mach-s3c2410/include/mach/h1940-latch.h create mode 100644 arch/arm/mach-s3c2410/include/mach/h1940.h create mode 100644 arch/arm/mach-s3c2410/include/mach/hardware.h create mode 100644 arch/arm/mach-s3c2410/include/mach/idle.h create mode 100644 arch/arm/mach-s3c2410/include/mach/io.h create mode 100644 arch/arm/mach-s3c2410/include/mach/irqs.h create mode 100644 arch/arm/mach-s3c2410/include/mach/leds-gpio.h create mode 100644 arch/arm/mach-s3c2410/include/mach/map.h create mode 100644 arch/arm/mach-s3c2410/include/mach/memory.h create mode 100644 arch/arm/mach-s3c2410/include/mach/osiris-cpld.h create mode 100644 arch/arm/mach-s3c2410/include/mach/osiris-map.h create mode 100644 arch/arm/mach-s3c2410/include/mach/otom-map.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-clock.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-dsc.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-gpio.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-gpioj.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-irq.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-lcd.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-mem.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-power.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-s3c2412-mem.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-s3c2412.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h create mode 100644 arch/arm/mach-s3c2410/include/mach/regs-sdi.h create mode 100644 arch/arm/mach-s3c2410/include/mach/reset.h create mode 100644 arch/arm/mach-s3c2410/include/mach/spi-gpio.h create mode 100644 arch/arm/mach-s3c2410/include/mach/spi.h create mode 100644 arch/arm/mach-s3c2410/include/mach/system-reset.h create mode 100644 arch/arm/mach-s3c2410/include/mach/system.h create mode 100644 arch/arm/mach-s3c2410/include/mach/timex.h create mode 100644 arch/arm/mach-s3c2410/include/mach/uncompress.h create mode 100644 arch/arm/mach-s3c2410/include/mach/usb-control.h create mode 100644 arch/arm/mach-s3c2410/include/mach/vmalloc.h create mode 100644 arch/arm/mach-s3c2410/include/mach/vr1000-cpld.h create mode 100644 arch/arm/mach-s3c2410/include/mach/vr1000-irq.h create mode 100644 arch/arm/mach-s3c2410/include/mach/vr1000-map.h create mode 100644 arch/arm/mach-sa1100/include/mach/SA-1100.h create mode 100644 arch/arm/mach-sa1100/include/mach/SA-1101.h create mode 100644 arch/arm/mach-sa1100/include/mach/SA-1111.h create mode 100644 arch/arm/mach-sa1100/include/mach/assabet.h create mode 100644 arch/arm/mach-sa1100/include/mach/badge4.h create mode 100644 arch/arm/mach-sa1100/include/mach/bitfield.h create mode 100644 arch/arm/mach-sa1100/include/mach/cerf.h create mode 100644 arch/arm/mach-sa1100/include/mach/collie.h create mode 100644 arch/arm/mach-sa1100/include/mach/debug-macro.S create mode 100644 arch/arm/mach-sa1100/include/mach/dma.h create mode 100644 arch/arm/mach-sa1100/include/mach/entry-macro.S create mode 100644 arch/arm/mach-sa1100/include/mach/gpio.h create mode 100644 arch/arm/mach-sa1100/include/mach/h3600.h create mode 100644 arch/arm/mach-sa1100/include/mach/h3600_gpio.h create mode 100644 arch/arm/mach-sa1100/include/mach/hardware.h create mode 100644 arch/arm/mach-sa1100/include/mach/ide.h create mode 100644 arch/arm/mach-sa1100/include/mach/io.h create mode 100644 arch/arm/mach-sa1100/include/mach/irqs.h create mode 100644 arch/arm/mach-sa1100/include/mach/jornada720.h create mode 100644 arch/arm/mach-sa1100/include/mach/lart.h create mode 100644 arch/arm/mach-sa1100/include/mach/mcp.h create mode 100644 arch/arm/mach-sa1100/include/mach/memory.h create mode 100644 arch/arm/mach-sa1100/include/mach/mtd-xip.h create mode 100644 arch/arm/mach-sa1100/include/mach/neponset.h create mode 100644 arch/arm/mach-sa1100/include/mach/shannon.h create mode 100644 arch/arm/mach-sa1100/include/mach/simpad.h create mode 100644 arch/arm/mach-sa1100/include/mach/system.h create mode 100644 arch/arm/mach-sa1100/include/mach/timex.h create mode 100644 arch/arm/mach-sa1100/include/mach/uncompress.h create mode 100644 arch/arm/mach-sa1100/include/mach/vmalloc.h create mode 100644 arch/arm/mach-shark/include/mach/debug-macro.S create mode 100644 arch/arm/mach-shark/include/mach/dma.h create mode 100644 arch/arm/mach-shark/include/mach/entry-macro.S create mode 100644 arch/arm/mach-shark/include/mach/hardware.h create mode 100644 arch/arm/mach-shark/include/mach/io.h create mode 100644 arch/arm/mach-shark/include/mach/irqs.h create mode 100644 arch/arm/mach-shark/include/mach/memory.h create mode 100644 arch/arm/mach-shark/include/mach/system.h create mode 100644 arch/arm/mach-shark/include/mach/timex.h create mode 100644 arch/arm/mach-shark/include/mach/uncompress.h create mode 100644 arch/arm/mach-shark/include/mach/vmalloc.h create mode 100644 arch/arm/mach-versatile/include/mach/debug-macro.S create mode 100644 arch/arm/mach-versatile/include/mach/dma.h create mode 100644 arch/arm/mach-versatile/include/mach/entry-macro.S create mode 100644 arch/arm/mach-versatile/include/mach/hardware.h create mode 100644 arch/arm/mach-versatile/include/mach/io.h create mode 100644 arch/arm/mach-versatile/include/mach/irqs.h create mode 100644 arch/arm/mach-versatile/include/mach/memory.h create mode 100644 arch/arm/mach-versatile/include/mach/platform.h create mode 100644 arch/arm/mach-versatile/include/mach/system.h create mode 100644 arch/arm/mach-versatile/include/mach/timex.h create mode 100644 arch/arm/mach-versatile/include/mach/uncompress.h create mode 100644 arch/arm/mach-versatile/include/mach/vmalloc.h create mode 100644 arch/arm/plat-mxc/include/mach/board-mx27ads.h create mode 100644 arch/arm/plat-mxc/include/mach/board-mx31ads.h create mode 100644 arch/arm/plat-mxc/include/mach/board-mx31lite.h create mode 100644 arch/arm/plat-mxc/include/mach/board-pcm037.h create mode 100644 arch/arm/plat-mxc/include/mach/board-pcm038.h create mode 100644 arch/arm/plat-mxc/include/mach/clock.h create mode 100644 arch/arm/plat-mxc/include/mach/common.h create mode 100644 arch/arm/plat-mxc/include/mach/debug-macro.S create mode 100644 arch/arm/plat-mxc/include/mach/dma.h create mode 100644 arch/arm/plat-mxc/include/mach/entry-macro.S create mode 100644 arch/arm/plat-mxc/include/mach/gpio.h create mode 100644 arch/arm/plat-mxc/include/mach/hardware.h create mode 100644 arch/arm/plat-mxc/include/mach/iim.h create mode 100644 arch/arm/plat-mxc/include/mach/imx-uart.h create mode 100644 arch/arm/plat-mxc/include/mach/io.h create mode 100644 arch/arm/plat-mxc/include/mach/iomux-mx1-mx2.h create mode 100644 arch/arm/plat-mxc/include/mach/iomux-mx3.h create mode 100644 arch/arm/plat-mxc/include/mach/irqs.h create mode 100644 arch/arm/plat-mxc/include/mach/memory.h create mode 100644 arch/arm/plat-mxc/include/mach/mx27.h create mode 100644 arch/arm/plat-mxc/include/mach/mx31.h create mode 100644 arch/arm/plat-mxc/include/mach/mxc.h create mode 100644 arch/arm/plat-mxc/include/mach/mxc_timer.h create mode 100644 arch/arm/plat-mxc/include/mach/system.h create mode 100644 arch/arm/plat-mxc/include/mach/timex.h create mode 100644 arch/arm/plat-mxc/include/mach/uncompress.h create mode 100644 arch/arm/plat-mxc/include/mach/vmalloc.h create mode 100644 arch/arm/plat-omap/include/mach/aic23.h create mode 100644 arch/arm/plat-omap/include/mach/blizzard.h create mode 100644 arch/arm/plat-omap/include/mach/board-2430sdp.h create mode 100644 arch/arm/plat-omap/include/mach/board-ams-delta.h create mode 100644 arch/arm/plat-omap/include/mach/board-apollon.h create mode 100644 arch/arm/plat-omap/include/mach/board-fsample.h create mode 100644 arch/arm/plat-omap/include/mach/board-h2.h create mode 100644 arch/arm/plat-omap/include/mach/board-h3.h create mode 100644 arch/arm/plat-omap/include/mach/board-h4.h create mode 100644 arch/arm/plat-omap/include/mach/board-innovator.h create mode 100644 arch/arm/plat-omap/include/mach/board-nokia.h create mode 100644 arch/arm/plat-omap/include/mach/board-osk.h create mode 100644 arch/arm/plat-omap/include/mach/board-palmte.h create mode 100644 arch/arm/plat-omap/include/mach/board-palmtt.h create mode 100644 arch/arm/plat-omap/include/mach/board-palmz71.h create mode 100644 arch/arm/plat-omap/include/mach/board-perseus2.h create mode 100644 arch/arm/plat-omap/include/mach/board-sx1.h create mode 100644 arch/arm/plat-omap/include/mach/board-voiceblue.h create mode 100644 arch/arm/plat-omap/include/mach/board.h create mode 100644 arch/arm/plat-omap/include/mach/clock.h create mode 100644 arch/arm/plat-omap/include/mach/common.h create mode 100644 arch/arm/plat-omap/include/mach/control.h create mode 100644 arch/arm/plat-omap/include/mach/cpu.h create mode 100644 arch/arm/plat-omap/include/mach/debug-macro.S create mode 100644 arch/arm/plat-omap/include/mach/dma.h create mode 100644 arch/arm/plat-omap/include/mach/dmtimer.h create mode 100644 arch/arm/plat-omap/include/mach/dsp_common.h create mode 100644 arch/arm/plat-omap/include/mach/eac.h create mode 100644 arch/arm/plat-omap/include/mach/entry-macro.S create mode 100644 arch/arm/plat-omap/include/mach/fpga.h create mode 100644 arch/arm/plat-omap/include/mach/gpio-switch.h create mode 100644 arch/arm/plat-omap/include/mach/gpio.h create mode 100644 arch/arm/plat-omap/include/mach/gpioexpander.h create mode 100644 arch/arm/plat-omap/include/mach/gpmc.h create mode 100644 arch/arm/plat-omap/include/mach/hardware.h create mode 100644 arch/arm/plat-omap/include/mach/hwa742.h create mode 100644 arch/arm/plat-omap/include/mach/io.h create mode 100644 arch/arm/plat-omap/include/mach/irda.h create mode 100644 arch/arm/plat-omap/include/mach/irqs.h create mode 100644 arch/arm/plat-omap/include/mach/keypad.h create mode 100644 arch/arm/plat-omap/include/mach/lcd_mipid.h create mode 100644 arch/arm/plat-omap/include/mach/led.h create mode 100644 arch/arm/plat-omap/include/mach/mailbox.h create mode 100644 arch/arm/plat-omap/include/mach/mcbsp.h create mode 100644 arch/arm/plat-omap/include/mach/mcspi.h create mode 100644 arch/arm/plat-omap/include/mach/memory.h create mode 100644 arch/arm/plat-omap/include/mach/menelaus.h create mode 100644 arch/arm/plat-omap/include/mach/mmc.h create mode 100644 arch/arm/plat-omap/include/mach/mtd-xip.h create mode 100644 arch/arm/plat-omap/include/mach/mux.h create mode 100644 arch/arm/plat-omap/include/mach/nand.h create mode 100644 arch/arm/plat-omap/include/mach/omap-alsa.h create mode 100644 arch/arm/plat-omap/include/mach/omap1510.h create mode 100644 arch/arm/plat-omap/include/mach/omap16xx.h create mode 100644 arch/arm/plat-omap/include/mach/omap24xx.h create mode 100644 arch/arm/plat-omap/include/mach/omap34xx.h create mode 100644 arch/arm/plat-omap/include/mach/omap730.h create mode 100644 arch/arm/plat-omap/include/mach/omapfb.h create mode 100644 arch/arm/plat-omap/include/mach/onenand.h create mode 100644 arch/arm/plat-omap/include/mach/param.h create mode 100644 arch/arm/plat-omap/include/mach/pm.h create mode 100644 arch/arm/plat-omap/include/mach/prcm.h create mode 100644 arch/arm/plat-omap/include/mach/sdrc.h create mode 100644 arch/arm/plat-omap/include/mach/serial.h create mode 100644 arch/arm/plat-omap/include/mach/sram.h create mode 100644 arch/arm/plat-omap/include/mach/system.h create mode 100644 arch/arm/plat-omap/include/mach/tc.h create mode 100644 arch/arm/plat-omap/include/mach/timex.h create mode 100644 arch/arm/plat-omap/include/mach/uncompress.h create mode 100644 arch/arm/plat-omap/include/mach/usb.h create mode 100644 arch/arm/plat-omap/include/mach/vmalloc.h delete mode 100644 include/asm-arm/arch-aaec2000/aaec2000.h delete mode 100644 include/asm-arm/arch-aaec2000/aaed2000.h delete mode 100644 include/asm-arm/arch-aaec2000/debug-macro.S delete mode 100644 include/asm-arm/arch-aaec2000/dma.h delete mode 100644 include/asm-arm/arch-aaec2000/entry-macro.S delete mode 100644 include/asm-arm/arch-aaec2000/hardware.h delete mode 100644 include/asm-arm/arch-aaec2000/io.h delete mode 100644 include/asm-arm/arch-aaec2000/irqs.h delete mode 100644 include/asm-arm/arch-aaec2000/memory.h delete mode 100644 include/asm-arm/arch-aaec2000/system.h delete mode 100644 include/asm-arm/arch-aaec2000/timex.h delete mode 100644 include/asm-arm/arch-aaec2000/uncompress.h delete mode 100644 include/asm-arm/arch-aaec2000/vmalloc.h delete mode 100644 include/asm-arm/arch-at91/at91_adc.h delete mode 100644 include/asm-arm/arch-at91/at91_aic.h delete mode 100644 include/asm-arm/arch-at91/at91_dbgu.h delete mode 100644 include/asm-arm/arch-at91/at91_mci.h delete mode 100644 include/asm-arm/arch-at91/at91_pio.h delete mode 100644 include/asm-arm/arch-at91/at91_pit.h delete mode 100644 include/asm-arm/arch-at91/at91_pmc.h delete mode 100644 include/asm-arm/arch-at91/at91_rstc.h delete mode 100644 include/asm-arm/arch-at91/at91_rtc.h delete mode 100644 include/asm-arm/arch-at91/at91_rtt.h delete mode 100644 include/asm-arm/arch-at91/at91_shdwc.h delete mode 100644 include/asm-arm/arch-at91/at91_spi.h delete mode 100644 include/asm-arm/arch-at91/at91_ssc.h delete mode 100644 include/asm-arm/arch-at91/at91_st.h delete mode 100644 include/asm-arm/arch-at91/at91_tc.h delete mode 100644 include/asm-arm/arch-at91/at91_twi.h delete mode 100644 include/asm-arm/arch-at91/at91_wdt.h delete mode 100644 include/asm-arm/arch-at91/at91cap9.h delete mode 100644 include/asm-arm/arch-at91/at91cap9_ddrsdr.h delete mode 100644 include/asm-arm/arch-at91/at91cap9_matrix.h delete mode 100644 include/asm-arm/arch-at91/at91rm9200.h delete mode 100644 include/asm-arm/arch-at91/at91rm9200_emac.h delete mode 100644 include/asm-arm/arch-at91/at91rm9200_mc.h delete mode 100644 include/asm-arm/arch-at91/at91sam9260.h delete mode 100644 include/asm-arm/arch-at91/at91sam9260_matrix.h delete mode 100644 include/asm-arm/arch-at91/at91sam9261.h delete mode 100644 include/asm-arm/arch-at91/at91sam9261_matrix.h delete mode 100644 include/asm-arm/arch-at91/at91sam9263.h delete mode 100644 include/asm-arm/arch-at91/at91sam9263_matrix.h delete mode 100644 include/asm-arm/arch-at91/at91sam9_sdramc.h delete mode 100644 include/asm-arm/arch-at91/at91sam9_smc.h delete mode 100644 include/asm-arm/arch-at91/at91sam9rl.h delete mode 100644 include/asm-arm/arch-at91/at91sam9rl_matrix.h delete mode 100644 include/asm-arm/arch-at91/at91x40.h delete mode 100644 include/asm-arm/arch-at91/board.h delete mode 100644 include/asm-arm/arch-at91/cpu.h delete mode 100644 include/asm-arm/arch-at91/debug-macro.S delete mode 100644 include/asm-arm/arch-at91/dma.h delete mode 100644 include/asm-arm/arch-at91/entry-macro.S delete mode 100644 include/asm-arm/arch-at91/gpio.h delete mode 100644 include/asm-arm/arch-at91/hardware.h delete mode 100644 include/asm-arm/arch-at91/io.h delete mode 100644 include/asm-arm/arch-at91/irqs.h delete mode 100644 include/asm-arm/arch-at91/memory.h delete mode 100644 include/asm-arm/arch-at91/system.h delete mode 100644 include/asm-arm/arch-at91/timex.h delete mode 100644 include/asm-arm/arch-at91/uncompress.h delete mode 100644 include/asm-arm/arch-at91/vmalloc.h delete mode 100644 include/asm-arm/arch-cl7500/acornfb.h delete mode 100644 include/asm-arm/arch-cl7500/debug-macro.S delete mode 100644 include/asm-arm/arch-cl7500/dma.h delete mode 100644 include/asm-arm/arch-cl7500/entry-macro.S delete mode 100644 include/asm-arm/arch-cl7500/hardware.h delete mode 100644 include/asm-arm/arch-cl7500/io.h delete mode 100644 include/asm-arm/arch-cl7500/irq.h delete mode 100644 include/asm-arm/arch-cl7500/irqs.h delete mode 100644 include/asm-arm/arch-cl7500/memory.h delete mode 100644 include/asm-arm/arch-cl7500/system.h delete mode 100644 include/asm-arm/arch-cl7500/timex.h delete mode 100644 include/asm-arm/arch-cl7500/uncompress.h delete mode 100644 include/asm-arm/arch-cl7500/vmalloc.h delete mode 100644 include/asm-arm/arch-clps711x/autcpu12.h delete mode 100644 include/asm-arm/arch-clps711x/debug-macro.S delete mode 100644 include/asm-arm/arch-clps711x/dma.h delete mode 100644 include/asm-arm/arch-clps711x/entry-macro.S delete mode 100644 include/asm-arm/arch-clps711x/hardware.h delete mode 100644 include/asm-arm/arch-clps711x/io.h delete mode 100644 include/asm-arm/arch-clps711x/irqs.h delete mode 100644 include/asm-arm/arch-clps711x/memory.h delete mode 100644 include/asm-arm/arch-clps711x/syspld.h delete mode 100644 include/asm-arm/arch-clps711x/system.h delete mode 100644 include/asm-arm/arch-clps711x/time.h delete mode 100644 include/asm-arm/arch-clps711x/timex.h delete mode 100644 include/asm-arm/arch-clps711x/uncompress.h delete mode 100644 include/asm-arm/arch-clps711x/vmalloc.h delete mode 100644 include/asm-arm/arch-davinci/clock.h delete mode 100644 include/asm-arm/arch-davinci/common.h delete mode 100644 include/asm-arm/arch-davinci/debug-macro.S delete mode 100644 include/asm-arm/arch-davinci/dma.h delete mode 100644 include/asm-arm/arch-davinci/entry-macro.S delete mode 100644 include/asm-arm/arch-davinci/gpio.h delete mode 100644 include/asm-arm/arch-davinci/hardware.h delete mode 100644 include/asm-arm/arch-davinci/i2c.h delete mode 100644 include/asm-arm/arch-davinci/io.h delete mode 100644 include/asm-arm/arch-davinci/irqs.h delete mode 100644 include/asm-arm/arch-davinci/memory.h delete mode 100644 include/asm-arm/arch-davinci/mux.h delete mode 100644 include/asm-arm/arch-davinci/psc.h delete mode 100644 include/asm-arm/arch-davinci/serial.h delete mode 100644 include/asm-arm/arch-davinci/system.h delete mode 100644 include/asm-arm/arch-davinci/timex.h delete mode 100644 include/asm-arm/arch-davinci/uncompress.h delete mode 100644 include/asm-arm/arch-davinci/vmalloc.h delete mode 100644 include/asm-arm/arch-ebsa110/debug-macro.S delete mode 100644 include/asm-arm/arch-ebsa110/dma.h delete mode 100644 include/asm-arm/arch-ebsa110/entry-macro.S delete mode 100644 include/asm-arm/arch-ebsa110/hardware.h delete mode 100644 include/asm-arm/arch-ebsa110/io.h delete mode 100644 include/asm-arm/arch-ebsa110/irqs.h delete mode 100644 include/asm-arm/arch-ebsa110/memory.h delete mode 100644 include/asm-arm/arch-ebsa110/system.h delete mode 100644 include/asm-arm/arch-ebsa110/timex.h delete mode 100644 include/asm-arm/arch-ebsa110/uncompress.h delete mode 100644 include/asm-arm/arch-ebsa110/vmalloc.h delete mode 100644 include/asm-arm/arch-ebsa285/debug-macro.S delete mode 100644 include/asm-arm/arch-ebsa285/dma.h delete mode 100644 include/asm-arm/arch-ebsa285/entry-macro.S delete mode 100644 include/asm-arm/arch-ebsa285/hardware.h delete mode 100644 include/asm-arm/arch-ebsa285/io.h delete mode 100644 include/asm-arm/arch-ebsa285/irqs.h delete mode 100644 include/asm-arm/arch-ebsa285/memory.h delete mode 100644 include/asm-arm/arch-ebsa285/system.h delete mode 100644 include/asm-arm/arch-ebsa285/timex.h delete mode 100644 include/asm-arm/arch-ebsa285/uncompress.h delete mode 100644 include/asm-arm/arch-ebsa285/vmalloc.h delete mode 100644 include/asm-arm/arch-ep93xx/debug-macro.S delete mode 100644 include/asm-arm/arch-ep93xx/dma.h delete mode 100644 include/asm-arm/arch-ep93xx/entry-macro.S delete mode 100644 include/asm-arm/arch-ep93xx/ep93xx-regs.h delete mode 100644 include/asm-arm/arch-ep93xx/gesbc9312.h delete mode 100644 include/asm-arm/arch-ep93xx/gpio.h delete mode 100644 include/asm-arm/arch-ep93xx/hardware.h delete mode 100644 include/asm-arm/arch-ep93xx/io.h delete mode 100644 include/asm-arm/arch-ep93xx/irqs.h delete mode 100644 include/asm-arm/arch-ep93xx/memory.h delete mode 100644 include/asm-arm/arch-ep93xx/platform.h delete mode 100644 include/asm-arm/arch-ep93xx/system.h delete mode 100644 include/asm-arm/arch-ep93xx/timex.h delete mode 100644 include/asm-arm/arch-ep93xx/ts72xx.h delete mode 100644 include/asm-arm/arch-ep93xx/uncompress.h delete mode 100644 include/asm-arm/arch-ep93xx/vmalloc.h delete mode 100644 include/asm-arm/arch-h720x/boards.h delete mode 100644 include/asm-arm/arch-h720x/debug-macro.S delete mode 100644 include/asm-arm/arch-h720x/dma.h delete mode 100644 include/asm-arm/arch-h720x/entry-macro.S delete mode 100644 include/asm-arm/arch-h720x/h7201-regs.h delete mode 100644 include/asm-arm/arch-h720x/h7202-regs.h delete mode 100644 include/asm-arm/arch-h720x/hardware.h delete mode 100644 include/asm-arm/arch-h720x/io.h delete mode 100644 include/asm-arm/arch-h720x/irqs.h delete mode 100644 include/asm-arm/arch-h720x/memory.h delete mode 100644 include/asm-arm/arch-h720x/system.h delete mode 100644 include/asm-arm/arch-h720x/timex.h delete mode 100644 include/asm-arm/arch-h720x/uncompress.h delete mode 100644 include/asm-arm/arch-h720x/vmalloc.h delete mode 100644 include/asm-arm/arch-imx/debug-macro.S delete mode 100644 include/asm-arm/arch-imx/dma.h delete mode 100644 include/asm-arm/arch-imx/entry-macro.S delete mode 100644 include/asm-arm/arch-imx/gpio.h delete mode 100644 include/asm-arm/arch-imx/hardware.h delete mode 100644 include/asm-arm/arch-imx/imx-dma.h delete mode 100644 include/asm-arm/arch-imx/imx-regs.h delete mode 100644 include/asm-arm/arch-imx/imx-uart.h delete mode 100644 include/asm-arm/arch-imx/imxfb.h delete mode 100644 include/asm-arm/arch-imx/io.h delete mode 100644 include/asm-arm/arch-imx/irqs.h delete mode 100644 include/asm-arm/arch-imx/memory.h delete mode 100644 include/asm-arm/arch-imx/mmc.h delete mode 100644 include/asm-arm/arch-imx/mx1ads.h delete mode 100644 include/asm-arm/arch-imx/spi_imx.h delete mode 100644 include/asm-arm/arch-imx/system.h delete mode 100644 include/asm-arm/arch-imx/timex.h delete mode 100644 include/asm-arm/arch-imx/uncompress.h delete mode 100644 include/asm-arm/arch-imx/vmalloc.h delete mode 100644 include/asm-arm/arch-integrator/bits.h delete mode 100644 include/asm-arm/arch-integrator/cm.h delete mode 100644 include/asm-arm/arch-integrator/debug-macro.S delete mode 100644 include/asm-arm/arch-integrator/dma.h delete mode 100644 include/asm-arm/arch-integrator/entry-macro.S delete mode 100644 include/asm-arm/arch-integrator/hardware.h delete mode 100644 include/asm-arm/arch-integrator/impd1.h delete mode 100644 include/asm-arm/arch-integrator/io.h delete mode 100644 include/asm-arm/arch-integrator/irqs.h delete mode 100644 include/asm-arm/arch-integrator/lm.h delete mode 100644 include/asm-arm/arch-integrator/memory.h delete mode 100644 include/asm-arm/arch-integrator/platform.h delete mode 100644 include/asm-arm/arch-integrator/system.h delete mode 100644 include/asm-arm/arch-integrator/timex.h delete mode 100644 include/asm-arm/arch-integrator/uncompress.h delete mode 100644 include/asm-arm/arch-integrator/vmalloc.h delete mode 100644 include/asm-arm/arch-iop13xx/adma.h delete mode 100644 include/asm-arm/arch-iop13xx/debug-macro.S delete mode 100644 include/asm-arm/arch-iop13xx/dma.h delete mode 100644 include/asm-arm/arch-iop13xx/entry-macro.S delete mode 100644 include/asm-arm/arch-iop13xx/hardware.h delete mode 100644 include/asm-arm/arch-iop13xx/io.h delete mode 100644 include/asm-arm/arch-iop13xx/iop13xx.h delete mode 100644 include/asm-arm/arch-iop13xx/iq81340.h delete mode 100644 include/asm-arm/arch-iop13xx/irqs.h delete mode 100644 include/asm-arm/arch-iop13xx/memory.h delete mode 100644 include/asm-arm/arch-iop13xx/msi.h delete mode 100644 include/asm-arm/arch-iop13xx/pci.h delete mode 100644 include/asm-arm/arch-iop13xx/system.h delete mode 100644 include/asm-arm/arch-iop13xx/time.h delete mode 100644 include/asm-arm/arch-iop13xx/timex.h delete mode 100644 include/asm-arm/arch-iop13xx/uncompress.h delete mode 100644 include/asm-arm/arch-iop13xx/vmalloc.h delete mode 100644 include/asm-arm/arch-iop32x/adma.h delete mode 100644 include/asm-arm/arch-iop32x/debug-macro.S delete mode 100644 include/asm-arm/arch-iop32x/dma.h delete mode 100644 include/asm-arm/arch-iop32x/entry-macro.S delete mode 100644 include/asm-arm/arch-iop32x/glantank.h delete mode 100644 include/asm-arm/arch-iop32x/gpio.h delete mode 100644 include/asm-arm/arch-iop32x/hardware.h delete mode 100644 include/asm-arm/arch-iop32x/io.h delete mode 100644 include/asm-arm/arch-iop32x/iop32x.h delete mode 100644 include/asm-arm/arch-iop32x/iq31244.h delete mode 100644 include/asm-arm/arch-iop32x/iq80321.h delete mode 100644 include/asm-arm/arch-iop32x/irqs.h delete mode 100644 include/asm-arm/arch-iop32x/memory.h delete mode 100644 include/asm-arm/arch-iop32x/n2100.h delete mode 100644 include/asm-arm/arch-iop32x/system.h delete mode 100644 include/asm-arm/arch-iop32x/time.h delete mode 100644 include/asm-arm/arch-iop32x/timex.h delete mode 100644 include/asm-arm/arch-iop32x/uncompress.h delete mode 100644 include/asm-arm/arch-iop32x/vmalloc.h delete mode 100644 include/asm-arm/arch-iop33x/adma.h delete mode 100644 include/asm-arm/arch-iop33x/debug-macro.S delete mode 100644 include/asm-arm/arch-iop33x/dma.h delete mode 100644 include/asm-arm/arch-iop33x/entry-macro.S delete mode 100644 include/asm-arm/arch-iop33x/gpio.h delete mode 100644 include/asm-arm/arch-iop33x/hardware.h delete mode 100644 include/asm-arm/arch-iop33x/io.h delete mode 100644 include/asm-arm/arch-iop33x/iop33x.h delete mode 100644 include/asm-arm/arch-iop33x/iq80331.h delete mode 100644 include/asm-arm/arch-iop33x/iq80332.h delete mode 100644 include/asm-arm/arch-iop33x/irqs.h delete mode 100644 include/asm-arm/arch-iop33x/memory.h delete mode 100644 include/asm-arm/arch-iop33x/system.h delete mode 100644 include/asm-arm/arch-iop33x/time.h delete mode 100644 include/asm-arm/arch-iop33x/timex.h delete mode 100644 include/asm-arm/arch-iop33x/uncompress.h delete mode 100644 include/asm-arm/arch-iop33x/vmalloc.h delete mode 100644 include/asm-arm/arch-ixp2000/debug-macro.S delete mode 100644 include/asm-arm/arch-ixp2000/dma.h delete mode 100644 include/asm-arm/arch-ixp2000/enp2611.h delete mode 100644 include/asm-arm/arch-ixp2000/entry-macro.S delete mode 100644 include/asm-arm/arch-ixp2000/gpio.h delete mode 100644 include/asm-arm/arch-ixp2000/hardware.h delete mode 100644 include/asm-arm/arch-ixp2000/io.h delete mode 100644 include/asm-arm/arch-ixp2000/irqs.h delete mode 100644 include/asm-arm/arch-ixp2000/ixdp2x00.h delete mode 100644 include/asm-arm/arch-ixp2000/ixdp2x01.h delete mode 100644 include/asm-arm/arch-ixp2000/ixp2000-regs.h delete mode 100644 include/asm-arm/arch-ixp2000/memory.h delete mode 100644 include/asm-arm/arch-ixp2000/platform.h delete mode 100644 include/asm-arm/arch-ixp2000/system.h delete mode 100644 include/asm-arm/arch-ixp2000/timex.h delete mode 100644 include/asm-arm/arch-ixp2000/uncompress.h delete mode 100644 include/asm-arm/arch-ixp2000/vmalloc.h delete mode 100644 include/asm-arm/arch-ixp23xx/debug-macro.S delete mode 100644 include/asm-arm/arch-ixp23xx/dma.h delete mode 100644 include/asm-arm/arch-ixp23xx/entry-macro.S delete mode 100644 include/asm-arm/arch-ixp23xx/hardware.h delete mode 100644 include/asm-arm/arch-ixp23xx/io.h delete mode 100644 include/asm-arm/arch-ixp23xx/irqs.h delete mode 100644 include/asm-arm/arch-ixp23xx/ixdp2351.h delete mode 100644 include/asm-arm/arch-ixp23xx/ixp23xx.h delete mode 100644 include/asm-arm/arch-ixp23xx/memory.h delete mode 100644 include/asm-arm/arch-ixp23xx/platform.h delete mode 100644 include/asm-arm/arch-ixp23xx/system.h delete mode 100644 include/asm-arm/arch-ixp23xx/time.h delete mode 100644 include/asm-arm/arch-ixp23xx/timex.h delete mode 100644 include/asm-arm/arch-ixp23xx/uncompress.h delete mode 100644 include/asm-arm/arch-ixp23xx/vmalloc.h delete mode 100644 include/asm-arm/arch-ixp4xx/avila.h delete mode 100644 include/asm-arm/arch-ixp4xx/coyote.h delete mode 100644 include/asm-arm/arch-ixp4xx/cpu.h delete mode 100644 include/asm-arm/arch-ixp4xx/debug-macro.S delete mode 100644 include/asm-arm/arch-ixp4xx/dma.h delete mode 100644 include/asm-arm/arch-ixp4xx/dsmg600.h delete mode 100644 include/asm-arm/arch-ixp4xx/entry-macro.S delete mode 100644 include/asm-arm/arch-ixp4xx/fsg.h delete mode 100644 include/asm-arm/arch-ixp4xx/gpio.h delete mode 100644 include/asm-arm/arch-ixp4xx/gtwx5715.h delete mode 100644 include/asm-arm/arch-ixp4xx/hardware.h delete mode 100644 include/asm-arm/arch-ixp4xx/io.h delete mode 100644 include/asm-arm/arch-ixp4xx/irqs.h delete mode 100644 include/asm-arm/arch-ixp4xx/ixdp425.h delete mode 100644 include/asm-arm/arch-ixp4xx/ixp4xx-regs.h delete mode 100644 include/asm-arm/arch-ixp4xx/memory.h delete mode 100644 include/asm-arm/arch-ixp4xx/nas100d.h delete mode 100644 include/asm-arm/arch-ixp4xx/npe.h delete mode 100644 include/asm-arm/arch-ixp4xx/nslu2.h delete mode 100644 include/asm-arm/arch-ixp4xx/platform.h delete mode 100644 include/asm-arm/arch-ixp4xx/prpmc1100.h delete mode 100644 include/asm-arm/arch-ixp4xx/qmgr.h delete mode 100644 include/asm-arm/arch-ixp4xx/system.h delete mode 100644 include/asm-arm/arch-ixp4xx/timex.h delete mode 100644 include/asm-arm/arch-ixp4xx/udc.h delete mode 100644 include/asm-arm/arch-ixp4xx/uncompress.h delete mode 100644 include/asm-arm/arch-ixp4xx/vmalloc.h delete mode 100644 include/asm-arm/arch-kirkwood/debug-macro.S delete mode 100644 include/asm-arm/arch-kirkwood/dma.h delete mode 100644 include/asm-arm/arch-kirkwood/entry-macro.S delete mode 100644 include/asm-arm/arch-kirkwood/hardware.h delete mode 100644 include/asm-arm/arch-kirkwood/io.h delete mode 100644 include/asm-arm/arch-kirkwood/irqs.h delete mode 100644 include/asm-arm/arch-kirkwood/kirkwood.h delete mode 100644 include/asm-arm/arch-kirkwood/memory.h delete mode 100644 include/asm-arm/arch-kirkwood/system.h delete mode 100644 include/asm-arm/arch-kirkwood/timex.h delete mode 100644 include/asm-arm/arch-kirkwood/uncompress.h delete mode 100644 include/asm-arm/arch-kirkwood/vmalloc.h delete mode 100644 include/asm-arm/arch-ks8695/debug-macro.S delete mode 100644 include/asm-arm/arch-ks8695/devices.h delete mode 100644 include/asm-arm/arch-ks8695/dma.h delete mode 100644 include/asm-arm/arch-ks8695/entry-macro.S delete mode 100644 include/asm-arm/arch-ks8695/gpio.h delete mode 100644 include/asm-arm/arch-ks8695/hardware.h delete mode 100644 include/asm-arm/arch-ks8695/io.h delete mode 100644 include/asm-arm/arch-ks8695/irqs.h delete mode 100644 include/asm-arm/arch-ks8695/memory.h delete mode 100644 include/asm-arm/arch-ks8695/regs-gpio.h delete mode 100644 include/asm-arm/arch-ks8695/regs-hpna.h delete mode 100644 include/asm-arm/arch-ks8695/regs-irq.h delete mode 100644 include/asm-arm/arch-ks8695/regs-lan.h delete mode 100644 include/asm-arm/arch-ks8695/regs-mem.h delete mode 100644 include/asm-arm/arch-ks8695/regs-misc.h delete mode 100644 include/asm-arm/arch-ks8695/regs-pci.h delete mode 100644 include/asm-arm/arch-ks8695/regs-switch.h delete mode 100644 include/asm-arm/arch-ks8695/regs-sys.h delete mode 100644 include/asm-arm/arch-ks8695/regs-timer.h delete mode 100644 include/asm-arm/arch-ks8695/regs-uart.h delete mode 100644 include/asm-arm/arch-ks8695/regs-wan.h delete mode 100644 include/asm-arm/arch-ks8695/system.h delete mode 100644 include/asm-arm/arch-ks8695/timex.h delete mode 100644 include/asm-arm/arch-ks8695/uncompress.h delete mode 100644 include/asm-arm/arch-ks8695/vmalloc.h delete mode 100644 include/asm-arm/arch-l7200/aux_reg.h delete mode 100644 include/asm-arm/arch-l7200/debug-macro.S delete mode 100644 include/asm-arm/arch-l7200/dma.h delete mode 100644 include/asm-arm/arch-l7200/entry-macro.S delete mode 100644 include/asm-arm/arch-l7200/gp_timers.h delete mode 100644 include/asm-arm/arch-l7200/gpio.h delete mode 100644 include/asm-arm/arch-l7200/hardware.h delete mode 100644 include/asm-arm/arch-l7200/io.h delete mode 100644 include/asm-arm/arch-l7200/irqs.h delete mode 100644 include/asm-arm/arch-l7200/memory.h delete mode 100644 include/asm-arm/arch-l7200/pmpcon.h delete mode 100644 include/asm-arm/arch-l7200/pmu.h delete mode 100644 include/asm-arm/arch-l7200/serial.h delete mode 100644 include/asm-arm/arch-l7200/serial_l7200.h delete mode 100644 include/asm-arm/arch-l7200/sib.h delete mode 100644 include/asm-arm/arch-l7200/sys-clock.h delete mode 100644 include/asm-arm/arch-l7200/system.h delete mode 100644 include/asm-arm/arch-l7200/time.h delete mode 100644 include/asm-arm/arch-l7200/timex.h delete mode 100644 include/asm-arm/arch-l7200/uncompress.h delete mode 100644 include/asm-arm/arch-l7200/vmalloc.h delete mode 100644 include/asm-arm/arch-lh7a40x/clocks.h delete mode 100644 include/asm-arm/arch-lh7a40x/constants.h delete mode 100644 include/asm-arm/arch-lh7a40x/debug-macro.S delete mode 100644 include/asm-arm/arch-lh7a40x/dma.h delete mode 100644 include/asm-arm/arch-lh7a40x/entry-macro.S delete mode 100644 include/asm-arm/arch-lh7a40x/hardware.h delete mode 100644 include/asm-arm/arch-lh7a40x/io.h delete mode 100644 include/asm-arm/arch-lh7a40x/irqs.h delete mode 100644 include/asm-arm/arch-lh7a40x/memory.h delete mode 100644 include/asm-arm/arch-lh7a40x/registers.h delete mode 100644 include/asm-arm/arch-lh7a40x/ssp.h delete mode 100644 include/asm-arm/arch-lh7a40x/system.h delete mode 100644 include/asm-arm/arch-lh7a40x/timex.h delete mode 100644 include/asm-arm/arch-lh7a40x/uncompress.h delete mode 100644 include/asm-arm/arch-lh7a40x/vmalloc.h delete mode 100644 include/asm-arm/arch-loki/debug-macro.S delete mode 100644 include/asm-arm/arch-loki/dma.h delete mode 100644 include/asm-arm/arch-loki/entry-macro.S delete mode 100644 include/asm-arm/arch-loki/hardware.h delete mode 100644 include/asm-arm/arch-loki/io.h delete mode 100644 include/asm-arm/arch-loki/irqs.h delete mode 100644 include/asm-arm/arch-loki/loki.h delete mode 100644 include/asm-arm/arch-loki/memory.h delete mode 100644 include/asm-arm/arch-loki/system.h delete mode 100644 include/asm-arm/arch-loki/timex.h delete mode 100644 include/asm-arm/arch-loki/uncompress.h delete mode 100644 include/asm-arm/arch-loki/vmalloc.h delete mode 100644 include/asm-arm/arch-msm/board.h delete mode 100644 include/asm-arm/arch-msm/debug-macro.S delete mode 100644 include/asm-arm/arch-msm/dma.h delete mode 100644 include/asm-arm/arch-msm/entry-macro.S delete mode 100644 include/asm-arm/arch-msm/hardware.h delete mode 100644 include/asm-arm/arch-msm/io.h delete mode 100644 include/asm-arm/arch-msm/irqs.h delete mode 100644 include/asm-arm/arch-msm/memory.h delete mode 100644 include/asm-arm/arch-msm/msm_iomap.h delete mode 100644 include/asm-arm/arch-msm/system.h delete mode 100644 include/asm-arm/arch-msm/timex.h delete mode 100644 include/asm-arm/arch-msm/uncompress.h delete mode 100644 include/asm-arm/arch-msm/vmalloc.h delete mode 100644 include/asm-arm/arch-mv78xx0/debug-macro.S delete mode 100644 include/asm-arm/arch-mv78xx0/dma.h delete mode 100644 include/asm-arm/arch-mv78xx0/entry-macro.S delete mode 100644 include/asm-arm/arch-mv78xx0/hardware.h delete mode 100644 include/asm-arm/arch-mv78xx0/io.h delete mode 100644 include/asm-arm/arch-mv78xx0/irqs.h delete mode 100644 include/asm-arm/arch-mv78xx0/memory.h delete mode 100644 include/asm-arm/arch-mv78xx0/mv78xx0.h delete mode 100644 include/asm-arm/arch-mv78xx0/system.h delete mode 100644 include/asm-arm/arch-mv78xx0/timex.h delete mode 100644 include/asm-arm/arch-mv78xx0/uncompress.h delete mode 100644 include/asm-arm/arch-mv78xx0/vmalloc.h delete mode 100644 include/asm-arm/arch-mxc/board-mx27ads.h delete mode 100644 include/asm-arm/arch-mxc/board-mx31ads.h delete mode 100644 include/asm-arm/arch-mxc/board-mx31lite.h delete mode 100644 include/asm-arm/arch-mxc/board-pcm037.h delete mode 100644 include/asm-arm/arch-mxc/board-pcm038.h delete mode 100644 include/asm-arm/arch-mxc/clock.h delete mode 100644 include/asm-arm/arch-mxc/common.h delete mode 100644 include/asm-arm/arch-mxc/debug-macro.S delete mode 100644 include/asm-arm/arch-mxc/dma.h delete mode 100644 include/asm-arm/arch-mxc/entry-macro.S delete mode 100644 include/asm-arm/arch-mxc/gpio.h delete mode 100644 include/asm-arm/arch-mxc/hardware.h delete mode 100644 include/asm-arm/arch-mxc/iim.h delete mode 100644 include/asm-arm/arch-mxc/imx-uart.h delete mode 100644 include/asm-arm/arch-mxc/io.h delete mode 100644 include/asm-arm/arch-mxc/iomux-mx1-mx2.h delete mode 100644 include/asm-arm/arch-mxc/iomux-mx3.h delete mode 100644 include/asm-arm/arch-mxc/irqs.h delete mode 100644 include/asm-arm/arch-mxc/memory.h delete mode 100644 include/asm-arm/arch-mxc/mx27.h delete mode 100644 include/asm-arm/arch-mxc/mx31.h delete mode 100644 include/asm-arm/arch-mxc/mxc.h delete mode 100644 include/asm-arm/arch-mxc/mxc_timer.h delete mode 100644 include/asm-arm/arch-mxc/system.h delete mode 100644 include/asm-arm/arch-mxc/timex.h delete mode 100644 include/asm-arm/arch-mxc/uncompress.h delete mode 100644 include/asm-arm/arch-mxc/vmalloc.h delete mode 100644 include/asm-arm/arch-netx/debug-macro.S delete mode 100644 include/asm-arm/arch-netx/dma.h delete mode 100644 include/asm-arm/arch-netx/entry-macro.S delete mode 100644 include/asm-arm/arch-netx/eth.h delete mode 100644 include/asm-arm/arch-netx/hardware.h delete mode 100644 include/asm-arm/arch-netx/io.h delete mode 100644 include/asm-arm/arch-netx/irqs.h delete mode 100644 include/asm-arm/arch-netx/memory.h delete mode 100644 include/asm-arm/arch-netx/netx-regs.h delete mode 100644 include/asm-arm/arch-netx/param.h delete mode 100644 include/asm-arm/arch-netx/pfifo.h delete mode 100644 include/asm-arm/arch-netx/system.h delete mode 100644 include/asm-arm/arch-netx/timex.h delete mode 100644 include/asm-arm/arch-netx/uncompress.h delete mode 100644 include/asm-arm/arch-netx/vmalloc.h delete mode 100644 include/asm-arm/arch-netx/xc.h delete mode 100644 include/asm-arm/arch-ns9xxx/board.h delete mode 100644 include/asm-arm/arch-ns9xxx/debug-macro.S delete mode 100644 include/asm-arm/arch-ns9xxx/dma.h delete mode 100644 include/asm-arm/arch-ns9xxx/entry-macro.S delete mode 100644 include/asm-arm/arch-ns9xxx/gpio.h delete mode 100644 include/asm-arm/arch-ns9xxx/hardware.h delete mode 100644 include/asm-arm/arch-ns9xxx/io.h delete mode 100644 include/asm-arm/arch-ns9xxx/irqs.h delete mode 100644 include/asm-arm/arch-ns9xxx/memory.h delete mode 100644 include/asm-arm/arch-ns9xxx/module.h delete mode 100644 include/asm-arm/arch-ns9xxx/processor-ns9360.h delete mode 100644 include/asm-arm/arch-ns9xxx/processor.h delete mode 100644 include/asm-arm/arch-ns9xxx/regs-bbu.h delete mode 100644 include/asm-arm/arch-ns9xxx/regs-board-a9m9750dev.h delete mode 100644 include/asm-arm/arch-ns9xxx/regs-mem.h delete mode 100644 include/asm-arm/arch-ns9xxx/regs-sys-common.h delete mode 100644 include/asm-arm/arch-ns9xxx/regs-sys-ns9360.h delete mode 100644 include/asm-arm/arch-ns9xxx/system.h delete mode 100644 include/asm-arm/arch-ns9xxx/timex.h delete mode 100644 include/asm-arm/arch-ns9xxx/uncompress.h delete mode 100644 include/asm-arm/arch-ns9xxx/vmalloc.h delete mode 100644 include/asm-arm/arch-omap/aic23.h delete mode 100644 include/asm-arm/arch-omap/blizzard.h delete mode 100644 include/asm-arm/arch-omap/board-2430sdp.h delete mode 100644 include/asm-arm/arch-omap/board-ams-delta.h delete mode 100644 include/asm-arm/arch-omap/board-apollon.h delete mode 100644 include/asm-arm/arch-omap/board-fsample.h delete mode 100644 include/asm-arm/arch-omap/board-h2.h delete mode 100644 include/asm-arm/arch-omap/board-h3.h delete mode 100644 include/asm-arm/arch-omap/board-h4.h delete mode 100644 include/asm-arm/arch-omap/board-innovator.h delete mode 100644 include/asm-arm/arch-omap/board-nokia.h delete mode 100644 include/asm-arm/arch-omap/board-osk.h delete mode 100644 include/asm-arm/arch-omap/board-palmte.h delete mode 100644 include/asm-arm/arch-omap/board-palmtt.h delete mode 100644 include/asm-arm/arch-omap/board-palmz71.h delete mode 100644 include/asm-arm/arch-omap/board-perseus2.h delete mode 100644 include/asm-arm/arch-omap/board-sx1.h delete mode 100644 include/asm-arm/arch-omap/board-voiceblue.h delete mode 100644 include/asm-arm/arch-omap/board.h delete mode 100644 include/asm-arm/arch-omap/clock.h delete mode 100644 include/asm-arm/arch-omap/common.h delete mode 100644 include/asm-arm/arch-omap/control.h delete mode 100644 include/asm-arm/arch-omap/cpu.h delete mode 100644 include/asm-arm/arch-omap/debug-macro.S delete mode 100644 include/asm-arm/arch-omap/dma.h delete mode 100644 include/asm-arm/arch-omap/dmtimer.h delete mode 100644 include/asm-arm/arch-omap/dsp_common.h delete mode 100644 include/asm-arm/arch-omap/eac.h delete mode 100644 include/asm-arm/arch-omap/entry-macro.S delete mode 100644 include/asm-arm/arch-omap/fpga.h delete mode 100644 include/asm-arm/arch-omap/gpio-switch.h delete mode 100644 include/asm-arm/arch-omap/gpio.h delete mode 100644 include/asm-arm/arch-omap/gpioexpander.h delete mode 100644 include/asm-arm/arch-omap/gpmc.h delete mode 100644 include/asm-arm/arch-omap/hardware.h delete mode 100644 include/asm-arm/arch-omap/hwa742.h delete mode 100644 include/asm-arm/arch-omap/io.h delete mode 100644 include/asm-arm/arch-omap/irda.h delete mode 100644 include/asm-arm/arch-omap/irqs.h delete mode 100644 include/asm-arm/arch-omap/keypad.h delete mode 100644 include/asm-arm/arch-omap/lcd_mipid.h delete mode 100644 include/asm-arm/arch-omap/led.h delete mode 100644 include/asm-arm/arch-omap/mailbox.h delete mode 100644 include/asm-arm/arch-omap/mcbsp.h delete mode 100644 include/asm-arm/arch-omap/mcspi.h delete mode 100644 include/asm-arm/arch-omap/memory.h delete mode 100644 include/asm-arm/arch-omap/menelaus.h delete mode 100644 include/asm-arm/arch-omap/mmc.h delete mode 100644 include/asm-arm/arch-omap/mtd-xip.h delete mode 100644 include/asm-arm/arch-omap/mux.h delete mode 100644 include/asm-arm/arch-omap/nand.h delete mode 100644 include/asm-arm/arch-omap/omap-alsa.h delete mode 100644 include/asm-arm/arch-omap/omap1510.h delete mode 100644 include/asm-arm/arch-omap/omap16xx.h delete mode 100644 include/asm-arm/arch-omap/omap24xx.h delete mode 100644 include/asm-arm/arch-omap/omap34xx.h delete mode 100644 include/asm-arm/arch-omap/omap730.h delete mode 100644 include/asm-arm/arch-omap/omapfb.h delete mode 100644 include/asm-arm/arch-omap/onenand.h delete mode 100644 include/asm-arm/arch-omap/param.h delete mode 100644 include/asm-arm/arch-omap/pm.h delete mode 100644 include/asm-arm/arch-omap/prcm.h delete mode 100644 include/asm-arm/arch-omap/sdrc.h delete mode 100644 include/asm-arm/arch-omap/serial.h delete mode 100644 include/asm-arm/arch-omap/sram.h delete mode 100644 include/asm-arm/arch-omap/system.h delete mode 100644 include/asm-arm/arch-omap/tc.h delete mode 100644 include/asm-arm/arch-omap/timex.h delete mode 100644 include/asm-arm/arch-omap/uncompress.h delete mode 100644 include/asm-arm/arch-omap/usb.h delete mode 100644 include/asm-arm/arch-omap/vmalloc.h delete mode 100644 include/asm-arm/arch-orion5x/debug-macro.S delete mode 100644 include/asm-arm/arch-orion5x/dma.h delete mode 100644 include/asm-arm/arch-orion5x/entry-macro.S delete mode 100644 include/asm-arm/arch-orion5x/gpio.h delete mode 100644 include/asm-arm/arch-orion5x/hardware.h delete mode 100644 include/asm-arm/arch-orion5x/io.h delete mode 100644 include/asm-arm/arch-orion5x/irqs.h delete mode 100644 include/asm-arm/arch-orion5x/memory.h delete mode 100644 include/asm-arm/arch-orion5x/orion5x.h delete mode 100644 include/asm-arm/arch-orion5x/system.h delete mode 100644 include/asm-arm/arch-orion5x/timex.h delete mode 100644 include/asm-arm/arch-orion5x/uncompress.h delete mode 100644 include/asm-arm/arch-orion5x/vmalloc.h delete mode 100644 include/asm-arm/arch-pnx4008/clock.h delete mode 100644 include/asm-arm/arch-pnx4008/debug-macro.S delete mode 100644 include/asm-arm/arch-pnx4008/dma.h delete mode 100644 include/asm-arm/arch-pnx4008/entry-macro.S delete mode 100644 include/asm-arm/arch-pnx4008/gpio.h delete mode 100644 include/asm-arm/arch-pnx4008/hardware.h delete mode 100644 include/asm-arm/arch-pnx4008/i2c.h delete mode 100644 include/asm-arm/arch-pnx4008/io.h delete mode 100644 include/asm-arm/arch-pnx4008/irq.h delete mode 100644 include/asm-arm/arch-pnx4008/irqs.h delete mode 100644 include/asm-arm/arch-pnx4008/memory.h delete mode 100644 include/asm-arm/arch-pnx4008/param.h delete mode 100644 include/asm-arm/arch-pnx4008/platform.h delete mode 100644 include/asm-arm/arch-pnx4008/pm.h delete mode 100644 include/asm-arm/arch-pnx4008/system.h delete mode 100644 include/asm-arm/arch-pnx4008/timex.h delete mode 100644 include/asm-arm/arch-pnx4008/uncompress.h delete mode 100644 include/asm-arm/arch-pnx4008/vmalloc.h delete mode 100644 include/asm-arm/arch-pxa/akita.h delete mode 100644 include/asm-arm/arch-pxa/audio.h delete mode 100644 include/asm-arm/arch-pxa/bitfield.h delete mode 100644 include/asm-arm/arch-pxa/camera.h delete mode 100644 include/asm-arm/arch-pxa/colibri.h delete mode 100644 include/asm-arm/arch-pxa/corgi.h delete mode 100644 include/asm-arm/arch-pxa/debug-macro.S delete mode 100644 include/asm-arm/arch-pxa/dma.h delete mode 100644 include/asm-arm/arch-pxa/entry-macro.S delete mode 100644 include/asm-arm/arch-pxa/eseries-gpio.h delete mode 100644 include/asm-arm/arch-pxa/eseries-irq.h delete mode 100644 include/asm-arm/arch-pxa/gpio.h delete mode 100644 include/asm-arm/arch-pxa/gumstix.h delete mode 100644 include/asm-arm/arch-pxa/hardware.h delete mode 100644 include/asm-arm/arch-pxa/i2c.h delete mode 100644 include/asm-arm/arch-pxa/idp.h delete mode 100644 include/asm-arm/arch-pxa/io.h delete mode 100644 include/asm-arm/arch-pxa/irda.h delete mode 100644 include/asm-arm/arch-pxa/irqs.h delete mode 100644 include/asm-arm/arch-pxa/littleton.h delete mode 100644 include/asm-arm/arch-pxa/lpd270.h delete mode 100644 include/asm-arm/arch-pxa/lubbock.h delete mode 100644 include/asm-arm/arch-pxa/magician.h delete mode 100644 include/asm-arm/arch-pxa/mainstone.h delete mode 100644 include/asm-arm/arch-pxa/memory.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa25x.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa27x.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa2xx.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa300.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa320.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa3xx.h delete mode 100644 include/asm-arm/arch-pxa/mfp-pxa930.h delete mode 100644 include/asm-arm/arch-pxa/mfp.h delete mode 100644 include/asm-arm/arch-pxa/mmc.h delete mode 100644 include/asm-arm/arch-pxa/mtd-xip.h delete mode 100644 include/asm-arm/arch-pxa/ohci.h delete mode 100644 include/asm-arm/arch-pxa/palmtx.h delete mode 100644 include/asm-arm/arch-pxa/pcm027.h delete mode 100644 include/asm-arm/arch-pxa/pcm990_baseboard.h delete mode 100644 include/asm-arm/arch-pxa/pm.h delete mode 100644 include/asm-arm/arch-pxa/poodle.h delete mode 100644 include/asm-arm/arch-pxa/pxa-regs.h delete mode 100644 include/asm-arm/arch-pxa/pxa25x-udc.h delete mode 100644 include/asm-arm/arch-pxa/pxa27x-udc.h delete mode 100644 include/asm-arm/arch-pxa/pxa27x_keypad.h delete mode 100644 include/asm-arm/arch-pxa/pxa2xx-gpio.h delete mode 100644 include/asm-arm/arch-pxa/pxa2xx-regs.h delete mode 100644 include/asm-arm/arch-pxa/pxa2xx_spi.h delete mode 100644 include/asm-arm/arch-pxa/pxa3xx-regs.h delete mode 100644 include/asm-arm/arch-pxa/pxa3xx_nand.h delete mode 100644 include/asm-arm/arch-pxa/pxafb.h delete mode 100644 include/asm-arm/arch-pxa/regs-lcd.h delete mode 100644 include/asm-arm/arch-pxa/regs-ssp.h delete mode 100644 include/asm-arm/arch-pxa/sharpsl.h delete mode 100644 include/asm-arm/arch-pxa/spitz.h delete mode 100644 include/asm-arm/arch-pxa/ssp.h delete mode 100644 include/asm-arm/arch-pxa/system.h delete mode 100644 include/asm-arm/arch-pxa/timex.h delete mode 100644 include/asm-arm/arch-pxa/tosa.h delete mode 100644 include/asm-arm/arch-pxa/tosa_bt.h delete mode 100644 include/asm-arm/arch-pxa/trizeps4.h delete mode 100644 include/asm-arm/arch-pxa/udc.h delete mode 100644 include/asm-arm/arch-pxa/uncompress.h delete mode 100644 include/asm-arm/arch-pxa/vmalloc.h delete mode 100644 include/asm-arm/arch-pxa/zylonite.h delete mode 100644 include/asm-arm/arch-realview/board-eb.h delete mode 100644 include/asm-arm/arch-realview/board-pb1176.h delete mode 100644 include/asm-arm/arch-realview/board-pb11mp.h delete mode 100644 include/asm-arm/arch-realview/debug-macro.S delete mode 100644 include/asm-arm/arch-realview/dma.h delete mode 100644 include/asm-arm/arch-realview/entry-macro.S delete mode 100644 include/asm-arm/arch-realview/hardware.h delete mode 100644 include/asm-arm/arch-realview/io.h delete mode 100644 include/asm-arm/arch-realview/irqs.h delete mode 100644 include/asm-arm/arch-realview/memory.h delete mode 100644 include/asm-arm/arch-realview/platform.h delete mode 100644 include/asm-arm/arch-realview/scu.h delete mode 100644 include/asm-arm/arch-realview/smp.h delete mode 100644 include/asm-arm/arch-realview/system.h delete mode 100644 include/asm-arm/arch-realview/timex.h delete mode 100644 include/asm-arm/arch-realview/uncompress.h delete mode 100644 include/asm-arm/arch-realview/vmalloc.h delete mode 100644 include/asm-arm/arch-rpc/acornfb.h delete mode 100644 include/asm-arm/arch-rpc/debug-macro.S delete mode 100644 include/asm-arm/arch-rpc/dma.h delete mode 100644 include/asm-arm/arch-rpc/entry-macro.S delete mode 100644 include/asm-arm/arch-rpc/hardware.h delete mode 100644 include/asm-arm/arch-rpc/io.h delete mode 100644 include/asm-arm/arch-rpc/irqs.h delete mode 100644 include/asm-arm/arch-rpc/memory.h delete mode 100644 include/asm-arm/arch-rpc/system.h delete mode 100644 include/asm-arm/arch-rpc/timex.h delete mode 100644 include/asm-arm/arch-rpc/uncompress.h delete mode 100644 include/asm-arm/arch-rpc/vmalloc.h delete mode 100644 include/asm-arm/arch-s3c2400/map.h delete mode 100644 include/asm-arm/arch-s3c2400/memory.h delete mode 100644 include/asm-arm/arch-s3c2410/anubis-cpld.h delete mode 100644 include/asm-arm/arch-s3c2410/anubis-irq.h delete mode 100644 include/asm-arm/arch-s3c2410/anubis-map.h delete mode 100644 include/asm-arm/arch-s3c2410/audio.h delete mode 100644 include/asm-arm/arch-s3c2410/bast-cpld.h delete mode 100644 include/asm-arm/arch-s3c2410/bast-irq.h delete mode 100644 include/asm-arm/arch-s3c2410/bast-map.h delete mode 100644 include/asm-arm/arch-s3c2410/bast-pmu.h delete mode 100644 include/asm-arm/arch-s3c2410/debug-macro.S delete mode 100644 include/asm-arm/arch-s3c2410/dma.h delete mode 100644 include/asm-arm/arch-s3c2410/entry-macro.S delete mode 100644 include/asm-arm/arch-s3c2410/fb.h delete mode 100644 include/asm-arm/arch-s3c2410/gpio.h delete mode 100644 include/asm-arm/arch-s3c2410/h1940-latch.h delete mode 100644 include/asm-arm/arch-s3c2410/h1940.h delete mode 100644 include/asm-arm/arch-s3c2410/hardware.h delete mode 100644 include/asm-arm/arch-s3c2410/idle.h delete mode 100644 include/asm-arm/arch-s3c2410/io.h delete mode 100644 include/asm-arm/arch-s3c2410/irqs.h delete mode 100644 include/asm-arm/arch-s3c2410/leds-gpio.h delete mode 100644 include/asm-arm/arch-s3c2410/map.h delete mode 100644 include/asm-arm/arch-s3c2410/memory.h delete mode 100644 include/asm-arm/arch-s3c2410/osiris-cpld.h delete mode 100644 include/asm-arm/arch-s3c2410/osiris-map.h delete mode 100644 include/asm-arm/arch-s3c2410/otom-map.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-clock.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-dsc.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-gpio.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-gpioj.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-irq.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-lcd.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-mem.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-power.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-s3c2412-mem.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-s3c2412.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-s3c2443-clock.h delete mode 100644 include/asm-arm/arch-s3c2410/regs-sdi.h delete mode 100644 include/asm-arm/arch-s3c2410/reset.h delete mode 100644 include/asm-arm/arch-s3c2410/spi-gpio.h delete mode 100644 include/asm-arm/arch-s3c2410/spi.h delete mode 100644 include/asm-arm/arch-s3c2410/system-reset.h delete mode 100644 include/asm-arm/arch-s3c2410/system.h delete mode 100644 include/asm-arm/arch-s3c2410/timex.h delete mode 100644 include/asm-arm/arch-s3c2410/uncompress.h delete mode 100644 include/asm-arm/arch-s3c2410/usb-control.h delete mode 100644 include/asm-arm/arch-s3c2410/vmalloc.h delete mode 100644 include/asm-arm/arch-s3c2410/vr1000-cpld.h delete mode 100644 include/asm-arm/arch-s3c2410/vr1000-irq.h delete mode 100644 include/asm-arm/arch-s3c2410/vr1000-map.h delete mode 100644 include/asm-arm/arch-sa1100/SA-1100.h delete mode 100644 include/asm-arm/arch-sa1100/SA-1101.h delete mode 100644 include/asm-arm/arch-sa1100/SA-1111.h delete mode 100644 include/asm-arm/arch-sa1100/assabet.h delete mode 100644 include/asm-arm/arch-sa1100/badge4.h delete mode 100644 include/asm-arm/arch-sa1100/bitfield.h delete mode 100644 include/asm-arm/arch-sa1100/cerf.h delete mode 100644 include/asm-arm/arch-sa1100/collie.h delete mode 100644 include/asm-arm/arch-sa1100/debug-macro.S delete mode 100644 include/asm-arm/arch-sa1100/dma.h delete mode 100644 include/asm-arm/arch-sa1100/entry-macro.S delete mode 100644 include/asm-arm/arch-sa1100/gpio.h delete mode 100644 include/asm-arm/arch-sa1100/h3600.h delete mode 100644 include/asm-arm/arch-sa1100/h3600_gpio.h delete mode 100644 include/asm-arm/arch-sa1100/hardware.h delete mode 100644 include/asm-arm/arch-sa1100/ide.h delete mode 100644 include/asm-arm/arch-sa1100/io.h delete mode 100644 include/asm-arm/arch-sa1100/irqs.h delete mode 100644 include/asm-arm/arch-sa1100/jornada720.h delete mode 100644 include/asm-arm/arch-sa1100/lart.h delete mode 100644 include/asm-arm/arch-sa1100/mcp.h delete mode 100644 include/asm-arm/arch-sa1100/memory.h delete mode 100644 include/asm-arm/arch-sa1100/mtd-xip.h delete mode 100644 include/asm-arm/arch-sa1100/neponset.h delete mode 100644 include/asm-arm/arch-sa1100/shannon.h delete mode 100644 include/asm-arm/arch-sa1100/simpad.h delete mode 100644 include/asm-arm/arch-sa1100/system.h delete mode 100644 include/asm-arm/arch-sa1100/timex.h delete mode 100644 include/asm-arm/arch-sa1100/uncompress.h delete mode 100644 include/asm-arm/arch-sa1100/vmalloc.h delete mode 100644 include/asm-arm/arch-shark/debug-macro.S delete mode 100644 include/asm-arm/arch-shark/dma.h delete mode 100644 include/asm-arm/arch-shark/entry-macro.S delete mode 100644 include/asm-arm/arch-shark/hardware.h delete mode 100644 include/asm-arm/arch-shark/io.h delete mode 100644 include/asm-arm/arch-shark/irqs.h delete mode 100644 include/asm-arm/arch-shark/memory.h delete mode 100644 include/asm-arm/arch-shark/system.h delete mode 100644 include/asm-arm/arch-shark/timex.h delete mode 100644 include/asm-arm/arch-shark/uncompress.h delete mode 100644 include/asm-arm/arch-shark/vmalloc.h delete mode 100644 include/asm-arm/arch-versatile/debug-macro.S delete mode 100644 include/asm-arm/arch-versatile/dma.h delete mode 100644 include/asm-arm/arch-versatile/entry-macro.S delete mode 100644 include/asm-arm/arch-versatile/hardware.h delete mode 100644 include/asm-arm/arch-versatile/io.h delete mode 100644 include/asm-arm/arch-versatile/irqs.h delete mode 100644 include/asm-arm/arch-versatile/memory.h delete mode 100644 include/asm-arm/arch-versatile/platform.h delete mode 100644 include/asm-arm/arch-versatile/system.h delete mode 100644 include/asm-arm/arch-versatile/timex.h delete mode 100644 include/asm-arm/arch-versatile/uncompress.h delete mode 100644 include/asm-arm/arch-versatile/vmalloc.h (limited to 'drivers/media/video') diff --git a/Documentation/arm/IXP4xx b/Documentation/arm/IXP4xx index 43edb4ecf27..72fbcc4fcab 100644 --- a/Documentation/arm/IXP4xx +++ b/Documentation/arm/IXP4xx @@ -32,7 +32,7 @@ Linux currently supports the following features on the IXP4xx chips: - Flash access (MTD/JFFS) - I2C through GPIO on IXP42x - GPIO for input/output/interrupts - See include/asm-arm/arch-ixp4xx/platform.h for access functions. + See arch/arm/mach-ixp4xx/include/mach/platform.h for access functions. - Timers (watchdog, OS) The following components of the chips are not supported by Linux and diff --git a/Documentation/arm/Interrupts b/Documentation/arm/Interrupts index c202ed35d7d..f09ab1b90ef 100644 --- a/Documentation/arm/Interrupts +++ b/Documentation/arm/Interrupts @@ -158,7 +158,7 @@ So, what's changed? be re-checked for pending events. (see the Neponset IRQ handler for details). -7. fixup_irq() is gone, as is include/asm-arm/arch-*/irq.h +7. fixup_irq() is gone, as is arch/arm/mach-*/include/mach/irq.h Please note that this will not solve all problems - some of them are hardware based. Mixing level-based and edge-based IRQs on the same diff --git a/Documentation/arm/README b/Documentation/arm/README index 9b9c8226fdc..d98783fbe0c 100644 --- a/Documentation/arm/README +++ b/Documentation/arm/README @@ -79,7 +79,7 @@ Machine/Platform support To this end, we now have arch/arm/mach-$(MACHINE) directories which are designed to house the non-driver files for a particular machine (eg, PCI, memory management, architecture definitions etc). For all future - machines, there should be a corresponding include/asm-arm/arch-$(MACHINE) + machines, there should be a corresponding arch/arm/mach-$(MACHINE)/include/mach directory. @@ -176,7 +176,7 @@ Kernel entry (head.S) class typically based around one or more system on a chip devices, and acts as a natural container around the actual implementations. These classes are given directories - arch/arm/mach- and - include/asm-arm/arch- - which contain the source files to + arch/arm/mach- - which contain the source files to/include/mach support the machine class. This directories also contain any machine specific supporting code. diff --git a/Documentation/arm/Samsung-S3C24XX/GPIO.txt b/Documentation/arm/Samsung-S3C24XX/GPIO.txt index 8caea8c237e..b5d20c0b2ab 100644 --- a/Documentation/arm/Samsung-S3C24XX/GPIO.txt +++ b/Documentation/arm/Samsung-S3C24XX/GPIO.txt @@ -16,13 +16,13 @@ Introduction Headers ------- - See include/asm-arm/arch-s3c2410/regs-gpio.h for the list + See arch/arm/mach-s3c2410/include/mach/regs-gpio.h for the list of GPIO pins, and the configuration values for them. This - is included by using #include + is included by using #include The GPIO management functions are defined in the hardware - header include/asm-arm/arch-s3c2410/hardware.h which can be - included by #include + header arch/arm/mach-s3c2410/include/mach/hardware.h which can be + included by #include A useful amount of documentation can be found in the hardware header on how the GPIO functions (and others) work. diff --git a/Documentation/arm/Samsung-S3C24XX/Overview.txt b/Documentation/arm/Samsung-S3C24XX/Overview.txt index d04e1e30c47..014a8ec4877 100644 --- a/Documentation/arm/Samsung-S3C24XX/Overview.txt +++ b/Documentation/arm/Samsung-S3C24XX/Overview.txt @@ -36,7 +36,7 @@ Layout in arch/arm/mach-s3c2410 and S3C2440 in arch/arm/mach-s3c2440 Register, kernel and platform data definitions are held in the - include/asm-arm/arch-s3c2410 directory. + arch/arm/mach-s3c2410 directory./include/mach Machines diff --git a/Documentation/arm/Samsung-S3C24XX/USB-Host.txt b/Documentation/arm/Samsung-S3C24XX/USB-Host.txt index b93b68e2b14..67671eba423 100644 --- a/Documentation/arm/Samsung-S3C24XX/USB-Host.txt +++ b/Documentation/arm/Samsung-S3C24XX/USB-Host.txt @@ -49,7 +49,7 @@ Board Support Platform Data ------------- - See linux/include/asm-arm/arch-s3c2410/usb-control.h for the + See arch/arm/mach-s3c2410/include/mach/usb-control.h for the descriptions of the platform device data. An implementation can be found in linux/arch/arm/mach-s3c2410/usb-simtec.c . diff --git a/Documentation/spi/pxa2xx b/Documentation/spi/pxa2xx index f3853cc37bd..bbe8dee681a 100644 --- a/Documentation/spi/pxa2xx +++ b/Documentation/spi/pxa2xx @@ -19,7 +19,7 @@ Declaring PXA2xx Master Controllers ----------------------------------- Typically a SPI master is defined in the arch/.../mach-*/board-*.c as a "platform device". The master configuration is passed to the driver via a table -found in include/asm-arm/arch-pxa/pxa2xx_spi.h: +found in arch/arm/mach-pxa/include/mach/pxa2xx_spi.h: struct pxa2xx_spi_master { enum pxa_ssp_type ssp_type; @@ -94,7 +94,7 @@ using the "spi_board_info" structure found in "linux/spi/spi.h". See Each slave device attached to the PXA must provide slave specific configuration information via the structure "pxa2xx_spi_chip" found in -"include/asm-arm/arch-pxa/pxa2xx_spi.h". The pxa2xx_spi master controller driver +"arch/arm/mach-pxa/include/mach/pxa2xx_spi.h". The pxa2xx_spi master controller driver will uses the configuration whenever the driver communicates with the slave device. diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 6d5f18143c5..8bae2f018d3 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary @@ -210,7 +210,7 @@ board should normally be set up and registered. So for example arch/.../mach-*/board-*.c files might have code like: - #include /* for mysoc_spi_data */ + #include /* for mysoc_spi_data */ /* if your mach-* infrastructure doesn't support kernels that can * run on multiple boards, pdata wouldn't benefit from "__init". @@ -227,7 +227,7 @@ So for example arch/.../mach-*/board-*.c files might have code like: And SOC-specific utility code might look something like: - #include + #include static struct platform_device spi2 = { ... }; diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 359d224c8c3..703a44fa0f9 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -97,9 +97,7 @@ textofs-y := 0x00008000 machine-$(CONFIG_ARCH_RPC) := rpc machine-$(CONFIG_ARCH_EBSA110) := ebsa110 machine-$(CONFIG_ARCH_CLPS7500) := clps7500 - incdir-$(CONFIG_ARCH_CLPS7500) := cl7500 machine-$(CONFIG_FOOTBRIDGE) := footbridge - incdir-$(CONFIG_FOOTBRIDGE) := ebsa285 machine-$(CONFIG_ARCH_SHARK) := shark machine-$(CONFIG_ARCH_SA1100) := sa1100 ifeq ($(CONFIG_ARCH_SA1100),y) @@ -120,7 +118,6 @@ endif machine-$(CONFIG_ARCH_IXP23XX) := ixp23xx machine-$(CONFIG_ARCH_OMAP1) := omap1 machine-$(CONFIG_ARCH_OMAP2) := omap2 - incdir-$(CONFIG_ARCH_OMAP) := omap plat-$(CONFIG_ARCH_OMAP) := omap machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443 plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx @@ -138,7 +135,6 @@ endif machine-$(CONFIG_ARCH_DAVINCI) := davinci machine-$(CONFIG_ARCH_KIRKWOOD) := kirkwood machine-$(CONFIG_ARCH_KS8695) := ks8695 - incdir-$(CONFIG_ARCH_MXC) := mxc plat-$(CONFIG_ARCH_MXC) := mxc machine-$(CONFIG_ARCH_MX2) := mx2 machine-$(CONFIG_ARCH_MX3) := mx3 @@ -158,11 +154,6 @@ endif # The byte offset of the kernel image in RAM from the start of RAM. TEXT_OFFSET := $(textofs-y) -ifeq ($(incdir-y),) -incdir-y := $(word 1,$(machine-y)) -endif -INCDIR := arch-$(incdir-y) - # The first directory contains additional information for the boot setup code ifneq ($(machine-y),) MACHINE := arch/arm/mach-$(word 1,$(machine-y))/ @@ -213,20 +204,10 @@ boot := arch/arm/boot # them changed. We use .arch to indicate when they were updated # last, otherwise make uses the target directory mtime. -include/asm-arm/.arch: $(wildcard include/config/arch/*.h) include/config/auto.conf - @echo ' SYMLINK include/asm-arm/arch -> include/asm-arm/$(INCDIR)' -ifneq ($(KBUILD_SRC),) - $(Q)mkdir -p include/asm-arm - $(Q)ln -fsn $(srctree)/include/asm-arm/$(INCDIR) include/asm-arm/arch -else - $(Q)ln -fsn $(INCDIR) include/asm-arm/arch -endif - @touch $@ - archprepare: maketools PHONY += maketools FORCE -maketools: include/linux/version.h include/asm-arm/.arch FORCE +maketools: include/linux/version.h FORCE $(Q)$(MAKE) $(build)=arch/arm/tools include/asm-arm/mach-types.h # Convert bzImage to zImage diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index de41daeab5e..d42f89b7760 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -37,7 +37,7 @@ #else -#include +#include .macro writeb, ch, rb senduart \ch, \rb diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c index 7145cc7c04f..65ce8fff29d 100644 --- a/arch/arm/boot/compressed/misc.c +++ b/arch/arm/boot/compressed/misc.c @@ -27,7 +27,7 @@ unsigned int __machine_arch_type; static void putstr(const char *ptr); #include -#include +#include #ifdef CONFIG_DEBUG_ICEDCC diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c index 1f0f0adeafb..283051eaf93 100644 --- a/arch/arm/common/locomo.c +++ b/arch/arm/common/locomo.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index 64c328d1627..ec8a5471bf0 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include diff --git a/arch/arm/common/sharpsl_pm.c b/arch/arm/common/sharpsl_pm.c index a0d15400688..db830916140 100644 --- a/arch/arm/common/sharpsl_pm.c +++ b/arch/arm/common/sharpsl_pm.c @@ -26,12 +26,12 @@ #include #include -#include +#include #include -#include -#include -#include -#include +#include +#include +#include +#include #include /* diff --git a/arch/arm/common/time-acorn.c b/arch/arm/common/time-acorn.c index af37bfd74f9..df0983aafe6 100644 --- a/arch/arm/common/time-acorn.c +++ b/arch/arm/common/time-acorn.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include diff --git a/arch/arm/common/uengine.c b/arch/arm/common/uengine.c index 3e19985ddec..7ecd3c0ab01 100644 --- a/arch/arm/common/uengine.c +++ b/arch/arm/common/uengine.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/arm/include/asm/dma.h b/arch/arm/include/asm/dma.h index 9f2c5305c26..75154b19311 100644 --- a/arch/arm/include/asm/dma.h +++ b/arch/arm/include/asm/dma.h @@ -6,7 +6,7 @@ typedef unsigned int dmach_t; #include #include #include -#include +#include /* * This is the maximum virtual address which can be DMA'd from. diff --git a/arch/arm/include/asm/floppy.h b/arch/arm/include/asm/floppy.h index dce20c25ab1..c9f03eccc9d 100644 --- a/arch/arm/include/asm/floppy.h +++ b/arch/arm/include/asm/floppy.h @@ -12,7 +12,7 @@ #ifndef __ASM_ARM_FLOPPY_H #define __ASM_ARM_FLOPPY_H #if 0 -#include +#include #endif #define fd_outb(val,port) \ diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index fff4f800ee4..166a7a3e284 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h @@ -2,6 +2,6 @@ #define _ARCH_ARM_GPIO_H /* not all ARM platforms necessarily support this API ... */ -#include +#include #endif /* _ARCH_ARM_GPIO_H */ diff --git a/arch/arm/include/asm/hardware/dec21285.h b/arch/arm/include/asm/hardware/dec21285.h index cf2578ffd54..0d7552751aa 100644 --- a/arch/arm/include/asm/hardware/dec21285.h +++ b/arch/arm/include/asm/hardware/dec21285.h @@ -19,7 +19,7 @@ #define DC21285_PCI_MEM 0x80000000 #ifndef __ASSEMBLY__ -#include +#include #define DC21285_IO(x) ((volatile unsigned long *)(ARMCSR_BASE+(x))) #else #define DC21285_IO(x) (x) diff --git a/arch/arm/include/asm/hardware/iop3xx-adma.h b/arch/arm/include/asm/hardware/iop3xx-adma.h index df31b15cf6e..87bff09633a 100644 --- a/arch/arm/include/asm/hardware/iop3xx-adma.h +++ b/arch/arm/include/asm/hardware/iop3xx-adma.h @@ -19,7 +19,7 @@ #define _ADMA_H #include #include -#include +#include #include /* Memory copy units */ diff --git a/arch/arm/include/asm/hardware/iop3xx-gpio.h b/arch/arm/include/asm/hardware/iop3xx-gpio.h index 0ebc91cb42f..b69d972b1f7 100644 --- a/arch/arm/include/asm/hardware/iop3xx-gpio.h +++ b/arch/arm/include/asm/hardware/iop3xx-gpio.h @@ -25,7 +25,7 @@ #ifndef __ASM_ARM_HARDWARE_IOP3XX_GPIO_H #define __ASM_ARM_HARDWARE_IOP3XX_GPIO_H -#include +#include #include #define IOP3XX_N_GPIOS 8 diff --git a/arch/arm/include/asm/hardware/sa1111.h b/arch/arm/include/asm/hardware/sa1111.h index 6cf98d4f7dc..5da2595759e 100644 --- a/arch/arm/include/asm/hardware/sa1111.h +++ b/arch/arm/include/asm/hardware/sa1111.h @@ -12,7 +12,7 @@ #ifndef _ASM_ARCH_SA1111 #define _ASM_ARCH_SA1111 -#include +#include /* * The SA1111 is always located at virtual 0xf4000000, and is always diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index ffe07c0f46d..94a95d7fafd 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -82,7 +82,7 @@ extern void __readwrite_bug(const char *fn); /* * Now, pick up the machine-defined IO definitions */ -#include +#include /* * IO port access primitives diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h index 9cb01907e43..d6786090d02 100644 --- a/arch/arm/include/asm/irq.h +++ b/arch/arm/include/asm/irq.h @@ -1,7 +1,7 @@ #ifndef __ASM_ARM_IRQ_H #define __ASM_ARM_IRQ_H -#include +#include #ifndef irq_canonicalize #define irq_canonicalize(i) (i) diff --git a/arch/arm/include/asm/mc146818rtc.h b/arch/arm/include/asm/mc146818rtc.h index 7b81e0c4254..e1ca48a9e97 100644 --- a/arch/arm/include/asm/mc146818rtc.h +++ b/arch/arm/include/asm/mc146818rtc.h @@ -4,7 +4,7 @@ #ifndef _ASM_MC146818RTC_H #define _ASM_MC146818RTC_H -#include +#include #include #ifndef RTC_PORT diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 92069221dca..1e070a2b561 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h @@ -24,7 +24,7 @@ #endif #include -#include +#include #include #ifdef CONFIG_MMU diff --git a/arch/arm/include/asm/mmzone.h b/arch/arm/include/asm/mmzone.h index f2fbb508490..ae63a4fd28c 100644 --- a/arch/arm/include/asm/mmzone.h +++ b/arch/arm/include/asm/mmzone.h @@ -25,6 +25,6 @@ extern pg_data_t discontig_node_data[]; */ #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map) -#include +#include #endif diff --git a/arch/arm/include/asm/mtd-xip.h b/arch/arm/include/asm/mtd-xip.h index 4bc50f9abe3..4225372a26f 100644 --- a/arch/arm/include/asm/mtd-xip.h +++ b/arch/arm/include/asm/mtd-xip.h @@ -17,8 +17,8 @@ #ifndef __ARM_MTD_XIP_H__ #define __ARM_MTD_XIP_H__ -#include -#include +#include +#include /* fill instruction prefetch */ #define xip_iprefetch() do { asm volatile (".rep 8; nop; .endr"); } while (0) diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h index 968b833f3bb..721c03d53f4 100644 --- a/arch/arm/include/asm/pci.h +++ b/arch/arm/include/asm/pci.h @@ -4,7 +4,7 @@ #ifdef __KERNEL__ #include -#include /* for PCIBIOS_MIN_* */ +#include /* for PCIBIOS_MIN_* */ #define pcibios_scan_all_fns(a, b) 0 diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index 8ab060a53ab..8e21ef15bd7 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h @@ -20,7 +20,7 @@ #else #include -#include +#include #include /* diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h index cc12a525a06..727b5c042e5 100644 --- a/arch/arm/include/asm/smp.h +++ b/arch/arm/include/asm/smp.h @@ -14,7 +14,7 @@ #include #include -#include +#include #ifndef CONFIG_SMP # error " included in non-SMP build" diff --git a/arch/arm/include/asm/timex.h b/arch/arm/include/asm/timex.h index e50e2926cd6..3be8de3adab 100644 --- a/arch/arm/include/asm/timex.h +++ b/arch/arm/include/asm/timex.h @@ -12,7 +12,7 @@ #ifndef _ASMARM_TIMEX_H #define _ASMARM_TIMEX_H -#include +#include typedef unsigned long cycles_t; diff --git a/arch/arm/include/asm/vga.h b/arch/arm/include/asm/vga.h index 4f767ad3a0b..6a3cd2a2f67 100644 --- a/arch/arm/include/asm/vga.h +++ b/arch/arm/include/asm/vga.h @@ -1,7 +1,7 @@ #ifndef ASMARM_VGA_H #define ASMARM_VGA_H -#include +#include #include #define VGA_MAP_MEM(x,s) (PCIMEM_BASE + (x)) diff --git a/arch/arm/kernel/crunch-bits.S b/arch/arm/kernel/crunch-bits.S index a26886758c6..0ec9bb48fab 100644 --- a/arch/arm/kernel/crunch-bits.S +++ b/arch/arm/kernel/crunch-bits.S @@ -16,7 +16,7 @@ #include #include #include -#include +#include /* * We can't use hex constants here due to a bug in gas. diff --git a/arch/arm/kernel/crunch.c b/arch/arm/kernel/crunch.c index 627d79414c9..3b6a1c293ee 100644 --- a/arch/arm/kernel/crunch.c +++ b/arch/arm/kernel/crunch.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S index 5617566477b..9550ff0ddde 100644 --- a/arch/arm/kernel/debug.S +++ b/arch/arm/kernel/debug.S @@ -80,7 +80,7 @@ #endif /* CONFIG_CPU_V6 */ #else -#include +#include #endif /* CONFIG_DEBUG_ICEDCC */ /* diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c index 8192fe8409d..7a50575a8d4 100644 --- a/arch/arm/kernel/ecard.c +++ b/arch/arm/kernel/ecard.c @@ -46,7 +46,7 @@ #include #include -#include +#include #include #include #include diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 7dca225752c..617e509d60d 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include #include "entry-header.S" diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index 84694e88b42..060d7e2e9f6 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S @@ -10,7 +10,7 @@ #include #include -#include +#include #include "entry-header.S" diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 89bfded70a1..3fd88233706 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -51,7 +51,7 @@ extern void setup_mm_for_reboot(char mode); static volatile int hlt_counter; -#include +#include void disable_hlt(void) { diff --git a/arch/arm/lib/ecard.S b/arch/arm/lib/ecard.S index 79cf247ad52..8678eb2b7a6 100644 --- a/arch/arm/lib/ecard.S +++ b/arch/arm/lib/ecard.S @@ -12,7 +12,7 @@ */ #include #include -#include +#include #define CPSR2SPSR(rt) \ mrs rt, cpsr; \ diff --git a/arch/arm/lib/io-readsw-armv3.S b/arch/arm/lib/io-readsw-armv3.S index 4cc4411595f..9aaf7c72065 100644 --- a/arch/arm/lib/io-readsw-armv3.S +++ b/arch/arm/lib/io-readsw-armv3.S @@ -9,7 +9,7 @@ */ #include #include -#include +#include .Linsw_bad_alignment: adr r0, .Linsw_bad_align_msg diff --git a/arch/arm/lib/io-writesw-armv3.S b/arch/arm/lib/io-writesw-armv3.S index 0a34752bc44..cd34503e424 100644 --- a/arch/arm/lib/io-writesw-armv3.S +++ b/arch/arm/lib/io-writesw-armv3.S @@ -9,7 +9,7 @@ */ #include #include -#include +#include .Loutsw_bad_alignment: adr r0, .Loutsw_bad_align_msg diff --git a/arch/arm/mach-aaec2000/aaed2000.c b/arch/arm/mach-aaec2000/aaed2000.c index 08f030d506b..81a3ecc0d10 100644 --- a/arch/arm/mach-aaec2000/aaed2000.c +++ b/arch/arm/mach-aaec2000/aaed2000.c @@ -20,14 +20,14 @@ #include #include #include -#include +#include #include #include #include #include -#include +#include #include "core.h" diff --git a/arch/arm/mach-aaec2000/core.c b/arch/arm/mach-aaec2000/core.c index 2e0cec2dc99..dfb26bc23d1 100644 --- a/arch/arm/mach-aaec2000/core.c +++ b/arch/arm/mach-aaec2000/core.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include diff --git a/arch/arm/mach-aaec2000/include/mach/aaec2000.h b/arch/arm/mach-aaec2000/include/mach/aaec2000.h new file mode 100644 index 00000000000..bc729c42f84 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/aaec2000.h @@ -0,0 +1,207 @@ +/* + * arch/arm/mach-aaec2000/include/mach/aaec2000.h + * + * AAEC-2000 registers definition + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_AAEC2000_H +#define __ASM_ARCH_AAEC2000_H + +#ifndef __ASM_ARCH_HARDWARE_H +#error You must include hardware.h not this file +#endif /* __ASM_ARCH_HARDWARE_H */ + +/* Chip selects */ +#define AAEC_CS0 0x00000000 +#define AAEC_CS1 0x10000000 +#define AAEC_CS2 0x20000000 +#define AAEC_CS3 0x30000000 + +/* Flash */ +#define AAEC_FLASH_BASE AAEC_CS0 +#define AAEC_FLASH_SIZE SZ_64M + +/* Interrupt controller */ +#define IRQ_BASE __REG(0x80000500) +#define IRQ_INTSR __REG(0x80000500) /* Int Status Register */ +#define IRQ_INTRSR __REG(0x80000504) /* Int Raw (unmasked) Status */ +#define IRQ_INTENS __REG(0x80000508) /* Int Enable Set */ +#define IRQ_INTENC __REG(0x8000050c) /* Int Enable Clear */ + +/* UART 1 */ +#define UART1_BASE __REG(0x80000600) +#define UART1_DR __REG(0x80000600) /* Data/FIFO Register */ +#define UART1_LCR __REG(0x80000604) /* Link Control Register */ +#define UART1_BRCR __REG(0x80000608) /* Baud Rate Control Register */ +#define UART1_CR __REG(0x8000060c) /* Control Register */ +#define UART1_SR __REG(0x80000610) /* Status Register */ +#define UART1_INT __REG(0x80000614) /* Interrupt Status Register */ +#define UART1_INTM __REG(0x80000618) /* Interrupt Mask Register */ +#define UART1_INTRES __REG(0x8000061c) /* Int Result (masked status) Register */ + +/* UART 2 */ +#define UART2_BASE __REG(0x80000700) +#define UART2_DR __REG(0x80000700) /* Data/FIFO Register */ +#define UART2_LCR __REG(0x80000704) /* Link Control Register */ +#define UART2_BRCR __REG(0x80000708) /* Baud Rate Control Register */ +#define UART2_CR __REG(0x8000070c) /* Control Register */ +#define UART2_SR __REG(0x80000710) /* Status Register */ +#define UART2_INT __REG(0x80000714) /* Interrupt Status Register */ +#define UART2_INTM __REG(0x80000718) /* Interrupt Mask Register */ +#define UART2_INTRES __REG(0x8000071c) /* Int Result (masked status) Register */ + +/* UART 3 */ +#define UART3_BASE __REG(0x80000800) +#define UART3_DR __REG(0x80000800) /* Data/FIFO Register */ +#define UART3_LCR __REG(0x80000804) /* Link Control Register */ +#define UART3_BRCR __REG(0x80000808) /* Baud Rate Control Register */ +#define UART3_CR __REG(0x8000080c) /* Control Register */ +#define UART3_SR __REG(0x80000810) /* Status Register */ +#define UART3_INT __REG(0x80000814) /* Interrupt Status Register */ +#define UART3_INTM __REG(0x80000818) /* Interrupt Mask Register */ +#define UART3_INTRES __REG(0x8000081c) /* Int Result (masked status) Register */ + +/* These are used in some places */ +#define _UART1_BASE __PREG(UART1_BASE) +#define _UART2_BASE __PREG(UART2_BASE) +#define _UART3_BASE __PREG(UART3_BASE) + +/* UART Registers Offsets */ +#define UART_DR 0x00 +#define UART_LCR 0x04 +#define UART_BRCR 0x08 +#define UART_CR 0x0c +#define UART_SR 0x10 +#define UART_INT 0x14 +#define UART_INTM 0x18 +#define UART_INTRES 0x1c + +/* UART_LCR Bitmask */ +#define UART_LCR_BRK (1 << 0) /* Send Break */ +#define UART_LCR_PEN (1 << 1) /* Parity Enable */ +#define UART_LCR_EP (1 << 2) /* Even/Odd Parity */ +#define UART_LCR_S2 (1 << 3) /* One/Two Stop bits */ +#define UART_LCR_FIFO (1 << 4) /* FIFO Enable */ +#define UART_LCR_WL5 (0 << 5) /* Word Length - 5 bits */ +#define UART_LCR_WL6 (1 << 5) /* Word Length - 6 bits */ +#define UART_LCR_WL7 (1 << 6) /* Word Length - 7 bits */ +#define UART_LCR_WL8 (1 << 7) /* Word Length - 8 bits */ + +/* UART_CR Bitmask */ +#define UART_CR_EN (1 << 0) /* UART Enable */ +#define UART_CR_SIR (1 << 1) /* IrDA SIR Enable */ +#define UART_CR_SIRLP (1 << 2) /* Low Power IrDA Enable */ +#define UART_CR_RXP (1 << 3) /* Receive Pin Polarity */ +#define UART_CR_TXP (1 << 4) /* Transmit Pin Polarity */ +#define UART_CR_MXP (1 << 5) /* Modem Pin Polarity */ +#define UART_CR_LOOP (1 << 6) /* Loopback Mode */ + +/* UART_SR Bitmask */ +#define UART_SR_CTS (1 << 0) /* Clear To Send Status */ +#define UART_SR_DSR (1 << 1) /* Data Set Ready Status */ +#define UART_SR_DCD (1 << 2) /* Data Carrier Detect Status */ +#define UART_SR_TxBSY (1 << 3) /* Transmitter Busy Status */ +#define UART_SR_RxFE (1 << 4) /* Receive FIFO Empty Status */ +#define UART_SR_TxFF (1 << 5) /* Transmit FIFO Full Status */ +#define UART_SR_RxFF (1 << 6) /* Receive FIFO Full Status */ +#define UART_SR_TxFE (1 << 7) /* Transmit FIFO Empty Status */ + +/* UART_INT Bitmask */ +#define UART_INT_RIS (1 << 0) /* Rx Interrupt */ +#define UART_INT_TIS (1 << 1) /* Tx Interrupt */ +#define UART_INT_MIS (1 << 2) /* Modem Interrupt */ +#define UART_INT_RTIS (1 << 3) /* Receive Timeout Interrupt */ + +/* Timer 1 */ +#define TIMER1_BASE __REG(0x80000c00) +#define TIMER1_LOAD __REG(0x80000c00) /* Timer 1 Load Register */ +#define TIMER1_VAL __REG(0x80000c04) /* Timer 1 Value Register */ +#define TIMER1_CTRL __REG(0x80000c08) /* Timer 1 Control Register */ +#define TIMER1_CLEAR __REG(0x80000c0c) /* Timer 1 Clear Register */ + +/* Timer 2 */ +#define TIMER2_BASE __REG(0x80000d00) +#define TIMER2_LOAD __REG(0x80000d00) /* Timer 2 Load Register */ +#define TIMER2_VAL __REG(0x80000d04) /* Timer 2 Value Register */ +#define TIMER2_CTRL __REG(0x80000d08) /* Timer 2 Control Register */ +#define TIMER2_CLEAR __REG(0x80000d0c) /* Timer 2 Clear Register */ + +/* Timer 3 */ +#define TIMER3_BASE __REG(0x80000e00) +#define TIMER3_LOAD __REG(0x80000e00) /* Timer 3 Load Register */ +#define TIMER3_VAL __REG(0x80000e04) /* Timer 3 Value Register */ +#define TIMER3_CTRL __REG(0x80000e08) /* Timer 3 Control Register */ +#define TIMER3_CLEAR __REG(0x80000e0c) /* Timer 3 Clear Register */ + +/* Timer Control register bits */ +#define TIMER_CTRL_ENABLE (1 << 7) /* Enable (Start Timer) */ +#define TIMER_CTRL_PERIODIC (1 << 6) /* Periodic Running Mode */ +#define TIMER_CTRL_FREE_RUNNING (0 << 6) /* Normal Running Mode */ +#define TIMER_CTRL_CLKSEL_508K (1 << 3) /* 508KHz Clock select (Timer 1, 2) */ +#define TIMER_CTRL_CLKSEL_2K (0 << 3) /* 2KHz Clock Select (Timer 1, 2) */ + +/* Power and State Control */ +#define POWER_BASE __REG(0x80000400) +#define POWER_PWRSR __REG(0x80000400) /* Power Status Register */ +#define POWER_PWRCNT __REG(0x80000404) /* Power/Clock control */ +#define POWER_HALT __REG(0x80000408) /* Power Idle Mode */ +#define POWER_STDBY __REG(0x8000040c) /* Power Standby Mode */ +#define POWER_BLEOI __REG(0x80000410) /* Battery Low End of Interrupt */ +#define POWER_MCEOI __REG(0x80000414) /* Media Changed EoI */ +#define POWER_TEOI __REG(0x80000418) /* Tick EoI */ +#define POWER_STFCLR __REG(0x8000041c) /* NbFlg, RSTFlg, PFFlg, CLDFlg Clear */ +#define POWER_CLKSET __REG(0x80000420) /* Clock Speed Control */ + +/* GPIO Registers */ +#define AAEC_GPIO_PHYS 0x80000e00 + +#define AAEC_GPIO_PADR __REG(AAEC_GPIO_PHYS + 0x00) +#define AAEC_GPIO_PBDR __REG(AAEC_GPIO_PHYS + 0x04) +#define AAEC_GPIO_PCDR __REG(AAEC_GPIO_PHYS + 0x08) +#define AAEC_GPIO_PDDR __REG(AAEC_GPIO_PHYS + 0x0c) +#define AAEC_GPIO_PADDR __REG(AAEC_GPIO_PHYS + 0x10) +#define AAEC_GPIO_PBDDR __REG(AAEC_GPIO_PHYS + 0x14) +#define AAEC_GPIO_PCDDR __REG(AAEC_GPIO_PHYS + 0x18) +#define AAEC_GPIO_PDDDR __REG(AAEC_GPIO_PHYS + 0x1c) +#define AAEC_GPIO_PEDR __REG(AAEC_GPIO_PHYS + 0x20) +#define AAEC_GPIO_PEDDR __REG(AAEC_GPIO_PHYS + 0x24) +#define AAEC_GPIO_KSCAN __REG(AAEC_GPIO_PHYS + 0x28) +#define AAEC_GPIO_PINMUX __REG(AAEC_GPIO_PHYS + 0x2c) +#define AAEC_GPIO_PFDR __REG(AAEC_GPIO_PHYS + 0x30) +#define AAEC_GPIO_PFDDR __REG(AAEC_GPIO_PHYS + 0x34) +#define AAEC_GPIO_PGDR __REG(AAEC_GPIO_PHYS + 0x38) +#define AAEC_GPIO_PGDDR __REG(AAEC_GPIO_PHYS + 0x3c) +#define AAEC_GPIO_PHDR __REG(AAEC_GPIO_PHYS + 0x40) +#define AAEC_GPIO_PHDDR __REG(AAEC_GPIO_PHYS + 0x44) +#define AAEC_GPIO_RAZ __REG(AAEC_GPIO_PHYS + 0x48) +#define AAEC_GPIO_INTTYPE1 __REG(AAEC_GPIO_PHYS + 0x4c) +#define AAEC_GPIO_INTTYPE2 __REG(AAEC_GPIO_PHYS + 0x50) +#define AAEC_GPIO_FEOI __REG(AAEC_GPIO_PHYS + 0x54) +#define AAEC_GPIO_INTEN __REG(AAEC_GPIO_PHYS + 0x58) +#define AAEC_GPIO_INTSTATUS __REG(AAEC_GPIO_PHYS + 0x5c) +#define AAEC_GPIO_RAWINTSTATUS __REG(AAEC_GPIO_PHYS + 0x60) +#define AAEC_GPIO_DB __REG(AAEC_GPIO_PHYS + 0x64) +#define AAEC_GPIO_PAPINDR __REG(AAEC_GPIO_PHYS + 0x68) +#define AAEC_GPIO_PBPINDR __REG(AAEC_GPIO_PHYS + 0x6c) +#define AAEC_GPIO_PCPINDR __REG(AAEC_GPIO_PHYS + 0x70) +#define AAEC_GPIO_PDPINDR __REG(AAEC_GPIO_PHYS + 0x74) +#define AAEC_GPIO_PEPINDR __REG(AAEC_GPIO_PHYS + 0x78) +#define AAEC_GPIO_PFPINDR __REG(AAEC_GPIO_PHYS + 0x7c) +#define AAEC_GPIO_PGPINDR __REG(AAEC_GPIO_PHYS + 0x80) +#define AAEC_GPIO_PHPINDR __REG(AAEC_GPIO_PHYS + 0x84) + +#define AAEC_GPIO_PINMUX_PE0CON (1 << 0) +#define AAEC_GPIO_PINMUX_PD0CON (1 << 1) +#define AAEC_GPIO_PINMUX_CODECON (1 << 2) +#define AAEC_GPIO_PINMUX_UART3CON (1 << 3) + +/* LCD Controller */ +#define AAEC_CLCD_PHYS 0x80003000 + +#endif /* __ARM_ARCH_AAEC2000_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/aaed2000.h b/arch/arm/mach-aaec2000/include/mach/aaed2000.h new file mode 100644 index 00000000000..f821295ca71 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/aaed2000.h @@ -0,0 +1,40 @@ +/* + * arch/arm/mach-aaec2000/include/mach/aaed2000.h + * + * AAED-2000 specific bits definition + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_AAED2000_H +#define __ASM_ARCH_AAED2000_H + +/* External GPIOs. */ + +#define EXT_GPIO_PBASE AAEC_CS3 +#define EXT_GPIO_VBASE 0xf8100000 +#define EXT_GPIO_LENGTH 0x00001000 + +#define __ext_gpio_p2v(x) ((x) - EXT_GPIO_PBASE + EXT_GPIO_VBASE) +#define __ext_gpio_v2p(x) ((x) + EXT_GPIO_PBASE - EXT_GPIO_VBASE) + +#define __EXT_GPIO_REG(x) (*((volatile u32 *)__ext_gpio_p2v(x))) +#define __EXT_GPIO_PREG(x) (__ext_gpio_v2p((u32)&(x))) + +#define AAED_EXT_GPIO __EXT_GPIO_REG(EXT_GPIO_PBASE) + +#define AAED_EGPIO_KBD_SCAN 0x00003fff /* Keyboard scan data */ +#define AAED_EGPIO_PWR_INT 0x00008fff /* Smart battery charger interrupt */ +#define AAED_EGPIO_SWITCHED 0x000f0000 /* DIP Switches */ +#define AAED_EGPIO_USB_VBUS 0x00400000 /* USB Vbus sense */ +#define AAED_EGPIO_LCD_PWR_EN 0x02000000 /* LCD and backlight PWR enable */ +#define AAED_EGPIO_nLED0 0x20000000 /* LED 0 */ +#define AAED_EGPIO_nLED1 0x20000000 /* LED 1 */ +#define AAED_EGPIO_nLED2 0x20000000 /* LED 2 */ + + +#endif /* __ARM_ARCH_AAED2000_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/debug-macro.S b/arch/arm/mach-aaec2000/include/mach/debug-macro.S new file mode 100644 index 00000000000..0b6351d7c38 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/debug-macro.S @@ -0,0 +1,37 @@ +/* arch/arm/mach-aaec2000/include/mach/debug-macro.S + * + * Debugging macro include header + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "hardware.h" + .macro addruart,rx + mrc p15, 0, \rx, c1, c0 + tst \rx, #1 @ MMU enabled? + moveq \rx, #0x80000000 @ physical + movne \rx, #io_p2v(0x80000000) @ virtual + orr \rx, \rx, #0x00000800 + .endm + + .macro senduart,rd,rx + str \rd, [\rx, #0] + .endm + + .macro busyuart,rd,rx +1002: ldr \rd, [\rx, #0x10] + tst \rd, #(1 << 7) + beq 1002b + .endm + + .macro waituart,rd,rx +#if 0 +1001: ldr \rd, [\rx, #0x10] + tst \rd, #(1 << 5) + beq 1001b +#endif + .endm diff --git a/arch/arm/mach-aaec2000/include/mach/dma.h b/arch/arm/mach-aaec2000/include/mach/dma.h new file mode 100644 index 00000000000..2da846c72fe --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/dma.h @@ -0,0 +1,9 @@ +/* + * arch/arm/mach-aaec2000/include/mach/dma.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ diff --git a/arch/arm/mach-aaec2000/include/mach/entry-macro.S b/arch/arm/mach-aaec2000/include/mach/entry-macro.S new file mode 100644 index 00000000000..c8fb3446900 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/entry-macro.S @@ -0,0 +1,40 @@ +/* + * arch/arm/mach-aaec2000/include/mach/entry-macro.S + * + * Low-level IRQ helper for aaec-2000 based platforms + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +#include + + .macro disable_fiq + .endm + + .macro get_irqnr_preamble, base, tmp + .endm + + .macro arch_ret_to_user, tmp1, tmp2 + .endm + + .macro get_irqnr_and_base, irqnr, irqstat, base, tmp + mov r4, #0xf8000000 + add r4, r4, #0x00000500 + mov \base, r4 + ldr \irqstat, [\base, #0] + cmp \irqstat, #0 + bne 1001f + ldr \irqnr, =NR_IRQS+1 + b 1003f +1001: mov \irqnr, #0 +1002: ands \tmp, \irqstat, #1 + mov \irqstat, \irqstat, LSR #1 + add \irqnr, \irqnr, #1 + beq 1002b + sub \irqnr, \irqnr, #1 +1003: + .endm diff --git a/arch/arm/mach-aaec2000/include/mach/hardware.h b/arch/arm/mach-aaec2000/include/mach/hardware.h new file mode 100644 index 00000000000..965a6f6672d --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/hardware.h @@ -0,0 +1,50 @@ +/* + * arch/arm/mach-aaec2000/include/mach/hardware.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_HARDWARE_H +#define __ASM_ARCH_HARDWARE_H + +#include +#include + +/* The kernel is loaded at physical address 0xf8000000. + * We map the IO space a bit after + */ +#define PIO_APB_BASE 0x80000000 +#define VIO_APB_BASE 0xf8000000 +#define IO_APB_LENGTH 0x2000 +#define PIO_AHB_BASE 0x80002000 +#define VIO_AHB_BASE 0xf8002000 +#define IO_AHB_LENGTH 0x2000 + +#define VIO_BASE VIO_APB_BASE +#define PIO_BASE PIO_APB_BASE + +#define io_p2v(x) ( (x) - PIO_BASE + VIO_BASE ) +#define io_v2p(x) ( (x) + PIO_BASE - VIO_BASE ) + +#ifndef __ASSEMBLY__ + +#include + +/* FIXME: Is it needed to optimize this a la pxa ?? */ +#define __REG(x) (*((volatile u32 *)io_p2v(x))) +#define __PREG(x) (io_v2p((u32)&(x))) + +#else /* __ASSEMBLY__ */ + +#define __REG(x) io_p2v(x) +#define __PREG(x) io_v2p(x) + +#endif + +#include "aaec2000.h" + +#endif /* __ASM_ARCH_HARDWARE_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/io.h b/arch/arm/mach-aaec2000/include/mach/io.h new file mode 100644 index 00000000000..c87c24de111 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/io.h @@ -0,0 +1,20 @@ +/* + * arch/arm/mach-aaec2000/include/mach/io.h + * + * Copied from asm/arch/sa1100/io.h + */ +#ifndef __ASM_ARM_ARCH_IO_H +#define __ASM_ARM_ARCH_IO_H + +#include + +#define IO_SPACE_LIMIT 0xffffffff + +/* + * We don't actually have real ISA nor PCI buses, but there is so many + * drivers out there that might just work if we fake them... + */ +#define __io(a) ((void __iomem *)(a)) +#define __mem_pci(a) (a) + +#endif diff --git a/arch/arm/mach-aaec2000/include/mach/irqs.h b/arch/arm/mach-aaec2000/include/mach/irqs.h new file mode 100644 index 00000000000..bf45c6d2f29 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/irqs.h @@ -0,0 +1,46 @@ +/* + * arch/arm/mach-aaec2000/include/mach/irqs.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_IRQS_H +#define __ASM_ARCH_IRQS_H + + +#define INT_GPIOF0_FIQ 0 /* External GPIO Port F O Fast Interrupt Input */ +#define INT_BL_FIQ 1 /* Battery Low Fast Interrupt */ +#define INT_WE_FIQ 2 /* Watchdog Expired Fast Interrupt */ +#define INT_MV_FIQ 3 /* Media Changed Interrupt */ +#define INT_SC 4 /* Sound Codec Interrupt */ +#define INT_GPIO1 5 /* GPIO Port F Configurable Int 1 */ +#define INT_GPIO2 6 /* GPIO Port F Configurable Int 2 */ +#define INT_GPIO3 7 /* GPIO Port F Configurable Int 3 */ +#define INT_TMR1_OFL 8 /* Timer 1 Overflow Interrupt */ +#define INT_TMR2_OFL 9 /* Timer 2 Overflow Interrupt */ +#define INT_RTC_CM 10 /* RTC Compare Match Interrupt */ +#define INT_TICK 11 /* 64Hz Tick Interrupt */ +#define INT_UART1 12 /* UART1 Interrupt */ +#define INT_UART2 13 /* UART2 & Modem State Changed Interrupt */ +#define INT_LCD 14 /* LCD Interrupt */ +#define INT_SSI 15 /* SSI End of Transfer Interrupt */ +#define INT_UART3 16 /* UART3 Interrupt */ +#define INT_SCI 17 /* SCI Interrupt */ +#define INT_AAC 18 /* Advanced Audio Codec Interrupt */ +#define INT_MMC 19 /* MMC Interrupt */ +#define INT_USB 20 /* USB Interrupt */ +#define INT_DMA 21 /* DMA Interrupt */ +#define INT_TMR3_UOFL 22 /* Timer 3 Underflow Interrupt */ +#define INT_GPIO4 23 /* GPIO Port F Configurable Int 4 */ +#define INT_GPIO5 24 /* GPIO Port F Configurable Int 4 */ +#define INT_GPIO6 25 /* GPIO Port F Configurable Int 4 */ +#define INT_GPIO7 26 /* GPIO Port F Configurable Int 4 */ +#define INT_BMI 27 /* BMI Interrupt */ + +#define NR_IRQS (INT_BMI + 1) + +#endif /* __ASM_ARCH_IRQS_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/memory.h b/arch/arm/mach-aaec2000/include/mach/memory.h new file mode 100644 index 00000000000..56ae900a482 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/memory.h @@ -0,0 +1,30 @@ +/* + * arch/arm/mach-aaec2000/include/mach/memory.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_MEMORY_H +#define __ASM_ARCH_MEMORY_H + + +#define PHYS_OFFSET UL(0xf0000000) + +#define __virt_to_bus(x) __virt_to_phys(x) +#define __bus_to_virt(x) __phys_to_virt(x) + +/* + * The nodes are the followings: + * + * node 0: 0xf000.0000 - 0xf3ff.ffff + * node 1: 0xf400.0000 - 0xf7ff.ffff + * node 2: 0xf800.0000 - 0xfbff.ffff + * node 3: 0xfc00.0000 - 0xffff.ffff + */ +#define NODE_MEM_SIZE_BITS 26 + +#endif /* __ASM_ARCH_MEMORY_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/system.h b/arch/arm/mach-aaec2000/include/mach/system.h new file mode 100644 index 00000000000..8f4115d734c --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/system.h @@ -0,0 +1,24 @@ +/* + * arch/arm/mach-aaed2000/include/mach/system.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_SYSTEM_H +#define __ASM_ARCH_SYSTEM_H + +static inline void arch_idle(void) +{ + cpu_do_idle(); +} + +static inline void arch_reset(char mode) +{ + cpu_reset(0); +} + +#endif /* __ASM_ARCH_SYSTEM_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/timex.h b/arch/arm/mach-aaec2000/include/mach/timex.h new file mode 100644 index 00000000000..6c8edf4a882 --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/timex.h @@ -0,0 +1,18 @@ +/* + * arch/arm/mach-aaec2000/include/mach/timex.h + * + * AAEC-2000 Architecture timex specification + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_TIMEX_H +#define __ASM_ARCH_TIMEX_H + +#define CLOCK_TICK_RATE 508000 + +#endif /* __ASM_ARCH_TIMEX_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/uncompress.h b/arch/arm/mach-aaec2000/include/mach/uncompress.h new file mode 100644 index 00000000000..381ecad1a1b --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/uncompress.h @@ -0,0 +1,46 @@ +/* + * arch/arm/mach-aaec2000/include/mach/uncompress.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_UNCOMPRESS_H +#define __ASM_ARCH_UNCOMPRESS_H + +#include "hardware.h" + +#define UART(x) (*(volatile unsigned long *)(serial_port + (x))) + +static void putc(int c) +{ + unsigned long serial_port; + do { + serial_port = _UART3_BASE; + if (UART(UART_CR) & UART_CR_EN) break; + serial_port = _UART1_BASE; + if (UART(UART_CR) & UART_CR_EN) break; + serial_port = _UART2_BASE; + if (UART(UART_CR) & UART_CR_EN) break; + return; + } while (0); + + /* wait for space in the UART's transmitter */ + while ((UART(UART_SR) & UART_SR_TxFF)) + barrier(); + + /* send the character out. */ + UART(UART_DR) = c; +} + +static inline void flush(void) +{ +} + +#define arch_decomp_setup() +#define arch_decomp_wdog() + +#endif /* __ASM_ARCH_UNCOMPRESS_H */ diff --git a/arch/arm/mach-aaec2000/include/mach/vmalloc.h b/arch/arm/mach-aaec2000/include/mach/vmalloc.h new file mode 100644 index 00000000000..551f68f666b --- /dev/null +++ b/arch/arm/mach-aaec2000/include/mach/vmalloc.h @@ -0,0 +1,16 @@ +/* + * arch/arm/mach-aaec2000/include/mach/vmalloc.h + * + * Copyright (c) 2005 Nicolas Bellido Y Ortega + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARCH_VMALLOC_H +#define __ASM_ARCH_VMALLOC_H + +#define VMALLOC_END (PAGE_OFFSET + 0x10000000) + +#endif /* __ASM_ARCH_VMALLOC_H */ diff --git a/arch/arm/mach-at91/at91cap9.c b/arch/arm/mach-at91/at91cap9.c index 933fa8f55cb..638948c1677 100644 --- a/arch/arm/mach-at91/at91cap9.c +++ b/arch/arm/mach-at91/at91cap9.c @@ -17,10 +17,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include "generic.h" #include "clock.h" diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index 25765f1afca..abb4aac8fa9 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c @@ -20,11 +20,11 @@ #include