pandora-kernel.git
16 years agoMerge rebuilt linux-omap back into master
Tony Lindgren [Fri, 9 Oct 2009 23:09:57 +0000 (16:09 -0700)]
Merge rebuilt linux-omap back into master

Merge branch 'master' into tmp-rebuild-1255129783

16 years agoMerge for-next into tmp-rebuild-1255129783
Tony Lindgren [Fri, 9 Oct 2009 23:09:52 +0000 (16:09 -0700)]
Merge for-next into tmp-rebuild-1255129783

Merge branch 'for-next' into tmp-rebuild-1255129783

16 years agoMerge omap-testing into tmp-rebuild-1255129783
Tony Lindgren [Fri, 9 Oct 2009 23:09:50 +0000 (16:09 -0700)]
Merge omap-testing into tmp-rebuild-1255129783

Merge branch 'omap-testing' into tmp-rebuild-1255129783

16 years agoMerge omap-fixes into tmp-rebuild-1255129783
Tony Lindgren [Fri, 9 Oct 2009 23:09:49 +0000 (16:09 -0700)]
Merge omap-fixes into tmp-rebuild-1255129783

Merge branch 'omap-fixes' into tmp-rebuild-1255129783

16 years agoMerge ehci into tmp-rebuild-1255129783
Tony Lindgren [Fri, 9 Oct 2009 23:09:48 +0000 (16:09 -0700)]
Merge ehci into tmp-rebuild-1255129783

Merge branch 'ehci' into tmp-rebuild-1255129783

16 years agoMerge cbus into tmp-rebuild-1255129783
Tony Lindgren [Fri, 9 Oct 2009 23:09:47 +0000 (16:09 -0700)]
Merge cbus into tmp-rebuild-1255129783

Merge branch 'cbus' into tmp-rebuild-1255129783

16 years agoMerge branch 'omap7xx-fortony-rc3' of git://robotfuzz.com/linwizard-kernel into tmp...
Tony Lindgren [Fri, 9 Oct 2009 23:09:46 +0000 (16:09 -0700)]
Merge branch 'omap7xx-fortony-rc3' of git://robotfuzz.com/linwizard-kernel into tmp-rebuild-1255129783

16 years agoomap_hsmmc: Add missing probe handler hook to platform driver data
Roger Quadros [Fri, 9 Oct 2009 23:09:17 +0000 (16:09 -0700)]
omap_hsmmc: Add missing probe handler hook to platform driver data

The missing probe handler hook will never probe the driver. Add it back.
Fixes broken MMC on OMAP.

We use platform_driver_probe() API since omap_hsmmc is not a hot-pluggable
device.

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoinput: fix rx51 board keymap
Amit Kucheria [Fri, 9 Oct 2009 23:09:17 +0000 (16:09 -0700)]
input: fix rx51 board keymap

The original driver was written with the KEY() macro defined as (col, row)
instead of (row, col) as defined by the matrix keypad infrastructure. So the
keymap was defined accordingly.

Since the driver that was merged upstream uses the matrix keypad
infrastructure, modify the keymap accordingly.

While we are at it, fix the comments in twl4030.h and define PERSISTENT_KEY as
(r,c) instead of (c, r)

Tested on a RX51 (N900) device.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Lauri Leukkunen <lauri.leukkunen@nokia.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agotwl4030: Fix boot with twl4030 usb transceiver enabled
Roger Quadros [Fri, 9 Oct 2009 23:09:17 +0000 (16:09 -0700)]
twl4030: Fix boot with twl4030 usb transceiver enabled

The usb regulator supplies (usb1v5, usb1v8 & usb3v1) must be available
before adding the twl4030_usb child, else twl4030_usb_ldo_init() will
always fail thus causing boot lock-up.

This patch fixes boot on OMAP systems using the twl4030 usb transceiver.
CONFIG_TWL4030_USB=y

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Runtime detection of OMAP35x devices
Sanjeev Premi [Fri, 9 Oct 2009 23:01:52 +0000 (16:01 -0700)]
omap: Runtime detection of OMAP35x devices

Add runtime check for these OMAP35x variations
based on the detected Si features:
  OMAP3503, OMAP3515, OMAP3525 and OMA3530.

Also, delayed the call to pr_info() into actual
variant is detected in omap3_cpuinfo()

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Include bitops from cpu.h
Tony Lindgren [Fri, 9 Oct 2009 23:01:52 +0000 (16:01 -0700)]
omap: Include bitops from cpu.h

Otherwise we need to include bitops.h everywhere where we
test the omap_rev.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Runtime detection of Si features
Sanjeev Premi [Fri, 9 Oct 2009 23:01:51 +0000 (16:01 -0700)]
omap: Runtime detection of Si features

The OMAP35x family has multiple variants differing
in the HW features. This patch detects these features
at runtime and prints information during the boot.

Since most of the code seemed repetitive, macros
have been used for readability.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Eliminate OMAP_MAX_NR_PORTS
Alexander Shishkin [Fri, 9 Oct 2009 23:01:29 +0000 (16:01 -0700)]
omap: Eliminate OMAP_MAX_NR_PORTS

Eliminate OMAP_MAX_NR_PORTS

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use getnstimeofday for omap_device
Tony Lindgren [Fri, 9 Oct 2009 23:00:59 +0000 (16:00 -0700)]
omap: Use getnstimeofday for omap_device

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use ioremap for omap_hwmod instead of OMAP2_IO_ADDRESS
Tony Lindgren [Fri, 9 Oct 2009 23:00:59 +0000 (16:00 -0700)]
omap: Use ioremap for omap_hwmod instead of OMAP2_IO_ADDRESS

Otherwise we cannot get rid of OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use OMAP2_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS
Tony Lindgren [Fri, 9 Oct 2009 23:00:58 +0000 (16:00 -0700)]
omap: Use OMAP2_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Add OMAP4 L3 and L4 peripherals.
Santosh Shilimkar [Fri, 9 Oct 2009 23:00:57 +0000 (16:00 -0700)]
omap: Add OMAP4 L3 and L4 peripherals.

This patch adds few necessary peripherals for OMAP4.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Fix DEBUG_LL UART io address
Santosh Shilimkar [Fri, 9 Oct 2009 23:00:56 +0000 (16:00 -0700)]
omap: Fix DEBUG_LL UART io address

This patch fixes the low level debug UART io address as per this series.
The change is essential to have CONFIG_DEBUG_LL working.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Move SRAM map to claim more io space
Santosh Shilimkar [Fri, 9 Oct 2009 23:00:55 +0000 (16:00 -0700)]
omap: Move SRAM map to claim more io space

This patch moves SRAM map to free up more kernel address io space.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Remap L3, L4 to get more kernel io address space
Santosh Shilimkar [Fri, 9 Oct 2009 23:00:53 +0000 (16:00 -0700)]
omap: Remap L3, L4 to get more kernel io address space

This patch remap L3 and L4 io space to get more kernel address space.
With this patch, 512 MB of IO space is reclaimed.
Some more combinations are possible but to make it uniform across
OMAP24XX, OMAP34XX and OMAP4430, these io combinations are chosen

Once this is reviewed and tested sufficiently, a documentation entry can
be created to ease up reading and debugging.
Like "Documentation/arm/omap/io_map.txt"

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Split OMAP2_IO_ADDRESS to L3 and L4
Santosh Shilimkar [Fri, 9 Oct 2009 23:00:52 +0000 (16:00 -0700)]
omap: Split OMAP2_IO_ADDRESS to L3 and L4

This patch splits OMAP2_IO_ADDRESS to OMAP2_L3_IO_ADDRESS and
OMAP2_L4_IO_ADDRESS to reclaim more IO space.

The omap_read*() and omap_write*() functions will work only over
L4 address space. Current omap kernel stack uses these functions
only to access registers over L4 io address space

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoMerge branch 'omap7xx-fortony-rc3' of git://robotfuzz.com/linwizard-kernel into omap7xx
Tony Lindgren [Fri, 9 Oct 2009 22:59:10 +0000 (15:59 -0700)]
Merge branch 'omap7xx-fortony-rc3' of git://robotfuzz.com/linwizard-kernel into omap7xx

16 years agoZOOM2: Initialization of SDRC params on Zoom2
Teerth Reddy [Fri, 9 Oct 2009 22:44:04 +0000 (15:44 -0700)]
ZOOM2: Initialization of SDRC params on Zoom2

This patch initializes the correct SDRC settings required
for DVFS on Zoom2.

Signed-off-by: Teerth Reddy <teerth@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[v2] OMAP: RX-51: Drop I2C-1 speed to 2200
Aaro Koskinen [Fri, 9 Oct 2009 22:43:27 +0000 (15:43 -0700)]
[v2] OMAP: RX-51: Drop I2C-1 speed to 2200

The I2C-1 bus frequency on RX-51 should be 2.2 MHz. The speed is limited
by TWL5030/GAIA; a higher speed could lead to errors on the interface. The
maximum speed depends on the system clock for GAIA: 2.2 MHz (if 19.2 MHz),
2.4 MHz (26 MHz) or 2.9 MHz (38.4 MHz).

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoMerge rebuilt linux-omap back into master
Tony Lindgren [Fri, 9 Oct 2009 01:06:59 +0000 (18:06 -0700)]
Merge rebuilt linux-omap back into master

Merge branch 'master' into tmp-rebuild-1255050356

16 years agoMerge omap4-upstream into tmp-rebuild-1255050356
Tony Lindgren [Fri, 9 Oct 2009 01:06:55 +0000 (18:06 -0700)]
Merge omap4-upstream into tmp-rebuild-1255050356

Merge branch 'omap4-upstream' into tmp-rebuild-1255050356

16 years agoMerge omap-fixes-testing into tmp-rebuild-1255050356
Tony Lindgren [Fri, 9 Oct 2009 01:06:54 +0000 (18:06 -0700)]
Merge omap-fixes-testing into tmp-rebuild-1255050356

Merge branch 'omap-fixes-testing' into tmp-rebuild-1255050356

16 years agoMerge omap-fixes into tmp-rebuild-1255050356
Tony Lindgren [Fri, 9 Oct 2009 01:06:54 +0000 (18:06 -0700)]
Merge omap-fixes into tmp-rebuild-1255050356

Merge branch 'omap-fixes' into tmp-rebuild-1255050356

16 years agoMerge ehci into tmp-rebuild-1255050356
Tony Lindgren [Fri, 9 Oct 2009 01:06:53 +0000 (18:06 -0700)]
Merge ehci into tmp-rebuild-1255050356

Merge branch 'ehci' into tmp-rebuild-1255050356

16 years agoMerge cbus into tmp-rebuild-1255050356
Tony Lindgren [Fri, 9 Oct 2009 01:06:52 +0000 (18:06 -0700)]
Merge cbus into tmp-rebuild-1255050356

Merge branch 'cbus' into tmp-rebuild-1255050356

16 years agoMerge branch 'omap7xx-fortony-rc3' of git://robotfuzz.com/linwizard-kernel into tmp...
Tony Lindgren [Fri, 9 Oct 2009 01:06:50 +0000 (18:06 -0700)]
Merge branch 'omap7xx-fortony-rc3' of git://robotfuzz.com/linwizard-kernel into tmp-rebuild-1255050356

16 years agoomap: Include bitops from cpu.h
Tony Lindgren [Fri, 9 Oct 2009 01:01:57 +0000 (18:01 -0700)]
omap: Include bitops from cpu.h

Otherwise we need to include bitops.h everywhere where we
test the omap_rev.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoRuntime detection of Si features
Sanjeev Premi [Fri, 9 Oct 2009 01:01:57 +0000 (18:01 -0700)]
Runtime detection of Si features

The OMAP35x family has multiple variants differing
in the HW features. This patch detects these features
at runtime and prints information during the boot.

Since most of the code seemed repetitive, macros
have been used for readability.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use getnstimeofday for omap_device
Tony Lindgren [Fri, 9 Oct 2009 01:01:38 +0000 (18:01 -0700)]
omap: Use getnstimeofday for omap_device

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use ioremap for omap_hwmod instead of OMAP2_IO_ADDRESS
Tony Lindgren [Fri, 9 Oct 2009 01:01:38 +0000 (18:01 -0700)]
omap: Use ioremap for omap_hwmod instead of OMAP2_IO_ADDRESS

Otherwise we cannot get rid of OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use OMAP2_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS
Tony Lindgren [Fri, 9 Oct 2009 01:01:37 +0000 (18:01 -0700)]
omap: Use OMAP2_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[5/5] ARM: OMAP2/3/4: Add OMAP4 L3 and L4 peripherals.
Santosh Shilimkar [Fri, 9 Oct 2009 01:01:37 +0000 (18:01 -0700)]
[5/5] ARM: OMAP2/3/4: Add OMAP4 L3 and L4 peripherals.

This patch adds few necessary peripherals for OMAP4.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[4/5] ARM: OMAP2/3/4: Fix DEBUG_LL UART io address
Santosh Shilimkar [Fri, 9 Oct 2009 01:01:37 +0000 (18:01 -0700)]
[4/5] ARM: OMAP2/3/4: Fix DEBUG_LL UART io address

This patch fixes the low level debug UART io address as per this series.
The change is essential to have CONFIG_DEBUG_LL working.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[3/5] ARM: OMAP2/3/4: Move SRAM map to claim more io space
Santosh Shilimkar [Fri, 9 Oct 2009 01:01:36 +0000 (18:01 -0700)]
[3/5] ARM: OMAP2/3/4: Move SRAM map to claim more io space

This patch moves SRAM map to free up more kernel address io space.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[2/5] ARM: OMAP2/3/4: Remap L3, L4 to get more kernel io address space
Santosh Shilimkar [Fri, 9 Oct 2009 01:01:36 +0000 (18:01 -0700)]
[2/5] ARM: OMAP2/3/4: Remap L3, L4 to get more kernel io address space

This patch remap L3 and L4 io space to get more kernel address space.
With this patch, 512 MB of IO space is reclaimed.
Some more combinations are possible but to make it uniform across
OMAP24XX, OMAP34XX and OMAP4430, these io combinations are chosen

Once this is reviewed and tested sufficiently, a documentation entry can
be created to ease up reading and debugging.
Like "Documentation/arm/omap/io_map.txt"

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[1/5] ARM: OMAP2/3/4: Split OMAP2_IO_ADDRESS to L3 and L4
Santosh Shilimkar [Fri, 9 Oct 2009 01:01:35 +0000 (18:01 -0700)]
[1/5] ARM: OMAP2/3/4: Split OMAP2_IO_ADDRESS to L3 and L4

This patch splits OMAP2_IO_ADDRESS to OMAP2_L3_IO_ADDRESS and
OMAP2_L4_IO_ADDRESS to reclaim more IO space.

The omap_read*() and omap_write*() functions will work only over
L4 address space. Current omap kernel stack uses these functions
only to access registers over L4 io address space

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap_hsmmc: Add missing probe handler hook to platform driver data
Roger Quadros [Fri, 9 Oct 2009 00:59:47 +0000 (17:59 -0700)]
omap_hsmmc: Add missing probe handler hook to platform driver data

The missing probe handler hook will never probe the driver. Add it back.
Fixes broken MMC on OMAP.

We use platform_driver_probe() API since omap_hsmmc is not a hot-pluggable
device.

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoinput: fix rx51 board keymap
Amit Kucheria [Fri, 9 Oct 2009 00:59:46 +0000 (17:59 -0700)]
input: fix rx51 board keymap

The original driver was written with the KEY() macro defined as (col, row)
instead of (row, col) as defined by the matrix keypad infrastructure. So the
keymap was defined accordingly.

Since the driver that was merged upstream uses the matrix keypad
infrastructure, modify the keymap accordingly.

While we are at it, fix the comments in twl4030.h and define PERSISTENT_KEY as
(r,c) instead of (c, r)

Tested on a RX51 (N900) device.

Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Lauri Leukkunen <lauri.leukkunen@nokia.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agotwl4030: Fix boot with twl4030 usb transceiver enabled
Roger Quadros [Fri, 9 Oct 2009 00:59:46 +0000 (17:59 -0700)]
twl4030: Fix boot with twl4030 usb transceiver enabled

The usb regulator supplies (usb1v5, usb1v8 & usb3v1) must be available
before adding the twl4030_usb child, else twl4030_usb_ldo_init() will
always fail thus causing boot lock-up.

This patch fixes boot on OMAP systems using the twl4030 usb transceiver.
CONFIG_TWL4030_USB=y

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: SDMA: Fixing bug in omap_dma_set_global_params()
Tony Lindgren [Fri, 9 Oct 2009 00:59:20 +0000 (17:59 -0700)]
omap: SDMA: Fixing bug in omap_dma_set_global_params()

Argument tparams was not being used to program
global register GCR.HI_THREAD_RESERVED. This patch fixes the same.

Signed-off-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: CONFIG_ISP1301_OMAP redefined in Beagle defconfig
Sanjeev Premi [Fri, 9 Oct 2009 00:59:18 +0000 (17:59 -0700)]
omap: CONFIG_ISP1301_OMAP redefined in Beagle defconfig

The symbol CONFIG_ISP1301_OMAP was defined twice in the
defconfig. This was causing the warning:
arch/arm/configs/omap3_beagle_defconfig:972:warning:
 override: reassigning to symbol ISP1301_OMAP

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Fix Unlikely(x) < y
Roel Kluin [Fri, 9 Oct 2009 00:59:17 +0000 (17:59 -0700)]
omap: Fix Unlikely(x) < y

The closing parenthesis was not on the right location.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoMerge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Thu, 8 Oct 2009 19:01:01 +0000 (12:01 -0700)]
Merge branch 'omap-fixes-for-linus' of git://git./linux/kernel/git/tmlind/linux-omap-2.6

* 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
  omapfb: Blizzard: constify register address tables
  omapfb: Blizzard: fix pointer to be const
  omapfb: Condition mutex acquisition
  omap: iovmm: Add missing mutex_unlock
  omap: iovmm: Fix incorrect spelling
  omap: SRAM: flush the right address after memcpy in omap_sram_push
  omap: Lock DPLL5 at boot
  omap: Fix incorrect 730 vs 850 detection
  OMAP3: PM: introduce a new powerdomain walk helper
  OMAP3: PM: Enable GPIO module-level wakeups
  OMAP3: PM: USBHOST: clear wakeup events on both hosts
  OMAP3: PM: PRCM interrupt: only handle selected PRCM interrupts
  OMAP3: PM: PRCM interrupt: check MPUGRPSEL register
  OMAP3: PM: Prevent hang in prcm_interrupt_handler

16 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
Linus Torvalds [Thu, 8 Oct 2009 19:00:39 +0000 (12:00 -0700)]
Merge branch 'for-linus' of git://git./linux/kernel/git/bp/bp

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  amd64_edac: beef up DRAM error injection
  amd64_edac: fix DRAM base and limit extraction
  amd64_edac: fix chip select handling
  amd64_edac: simple fix to allow reporting of CECC errors
  amd64_edac: fix K8 intlv_sel check
  amd64_edac: fix interleave enable tests
  amd64_edac: fix DRAM base and limit address extraction
  amd64_edac: fix driver instance lookup table allocation

16 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Thu, 8 Oct 2009 18:59:30 +0000 (11:59 -0700)]
Merge git://git./linux/kernel/git/davem/net-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (40 commits)
  ethoc: limit the number of buffers to 128
  ethoc: use system memory as buffer
  ethoc: align received packet to make IP header at word boundary
  ethoc: fix buffer address mapping
  ethoc: fix typo to compute number of tx descriptors
  au1000_eth: Duplicate test of RX_OVERLEN bit in update_rx_stats()
  netxen: Fix Unlikely(x) > y
  pasemi_mac: ethtool get settings fix
  add maintainer for network drop monitor kernel service
  tg3: Fix phylib locking strategy
  rndis_host: support ETHTOOL_GPERMADDR
  ipv4: arp_notify address list bug
  gigaset: add kerneldoc comments
  gigaset: correct debugging output selection
  gigaset: improve error recovery
  gigaset: fix device ERROR response handling
  gigaset: announce if built with debugging
  gigaset: handle isoc frame errors more gracefully
  gigaset: linearize skb
  gigaset: fix reject/hangup handling
  ...

16 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6
Linus Torvalds [Thu, 8 Oct 2009 18:59:06 +0000 (11:59 -0700)]
Merge git://git./linux/kernel/git/davem/ide-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6:
  Revert "Revert "ide: try to use PIO Mode 0 during probe if possible""
  sis5513: fix PIO setup for ATAPI devices

16 years agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6
Linus Torvalds [Thu, 8 Oct 2009 14:40:19 +0000 (07:40 -0700)]
Merge branch 'fixes' of git://git./linux/kernel/git/kyle/parisc-2.6

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
  agp: parisc-agp.c - use correct page_mask function
  parisc: Fix linker script breakage.
  parisc: convert to asm-generic/hardirq.h
  parisc: Make THREAD_SIZE available to assembly files and linker scripts.
  parisc: correct use of SHF_ALLOC
  parisc: rename parisc's vmalloc_start to parisc_vmalloc_start
  parisc: add me to Maintainers
  parisc: includecheck fix: signal.c
  parisc: HAVE_ARCH_TRACEHOOK
  parisc: add skeleton syscall.h
  parisc: stop using task->ptrace for {single,block}step flags
  parisc: split syscall_trace into two halves
  parisc: add missing TI_TASK macro in syscall.S
  parisc: tracehook_signal_handler
  parisc: tracehook_report_syscall

16 years agolis3lv02d_spi: module unload didn't remove sysfs entry
Samu Onkalo [Wed, 7 Oct 2009 23:32:35 +0000 (16:32 -0700)]
lis3lv02d_spi: module unload didn't remove sysfs entry

In module unload, lis3lv02d core driver sysfs clean up was not called.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Daniel Mack <daniel@caiaq.de>
Cc: Éric Piel <eric.piel@tremplin-utc.net>
Cc: "Trisal, Kalhan" <kalhan.trisal@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agommc: sdio: don't require CISTPL_VERS_1 to contain 4 strings
David Vrabel [Wed, 7 Oct 2009 23:32:33 +0000 (16:32 -0700)]
mmc: sdio: don't require CISTPL_VERS_1 to contain 4 strings

The PC Card 8.0 specification (vol.  4, section 3.2.10) says the
TPLLV1_INFO field of the CISTPL_VERS_1 tuple must contain 4 strings.  Some
cards don't have all 4 so just parse as many as we can.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Tested-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Bing Zhao <bzhao@marvell.com>
Cc: Roel Kluin <roel.kluin@gmail.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopage-types: add hwpoison/unpoison feature
Wu Fengguang [Wed, 7 Oct 2009 23:32:32 +0000 (16:32 -0700)]
page-types: add hwpoison/unpoison feature

For hwpoison stress testing.  The debugfs mount point is assumed to be
/debug/.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopage-types: introduce kpageflags_flags()
Wu Fengguang [Wed, 7 Oct 2009 23:32:31 +0000 (16:32 -0700)]
page-types: introduce kpageflags_flags()

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopage-types: make voffset local variables
Wu Fengguang [Wed, 7 Oct 2009 23:32:30 +0000 (16:32 -0700)]
page-types: make voffset local variables

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopage-types: make standalone pagemap/kpageflags read routines
Wu Fengguang [Wed, 7 Oct 2009 23:32:30 +0000 (16:32 -0700)]
page-types: make standalone pagemap/kpageflags read routines

Refactor the code to be more modular and easier to reuse.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopage-types: introduce checked_open()
Wu Fengguang [Wed, 7 Oct 2009 23:32:29 +0000 (16:32 -0700)]
page-types: introduce checked_open()

This helps merge duplicate code (now and future) and outstand the main
logic.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopage-types: add GPL note
Wu Fengguang [Wed, 7 Oct 2009 23:32:28 +0000 (16:32 -0700)]
page-types: add GPL note

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopagemap: document KPF_KSM and show it in page-types
Wu Fengguang [Wed, 7 Oct 2009 23:32:28 +0000 (16:32 -0700)]
pagemap: document KPF_KSM and show it in page-types

It indicates to the system admin that processes mapping such pages may be
eating less physical memory than the reported numbers by legacy tools.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Izik Eidus <ieidus@redhat.com>
Acked-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agopagemap: export KPF_HWPOISON
Wu Fengguang [Wed, 7 Oct 2009 23:32:27 +0000 (16:32 -0700)]
pagemap: export KPF_HWPOISON

This flag indicates a hardware detected memory corruption on the page.
Any future access of the page data may bring down the machine.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agocgroups: update documentation of cgroups tasks and procs files
Paul Menage [Wed, 7 Oct 2009 23:32:26 +0000 (16:32 -0700)]
cgroups: update documentation of cgroups tasks and procs files

Update documentation of cgroups tasks and procs files

Document the cgroup.procs file.

Clarify the semantics of the cgroup.procs and tasks files.  Although the
current cgroup.procs interface returns a sorted and uniqified list of
pids, potential future performance enhancements could result in those
properties being removed - explicitly document this aspect of the API.

There are no existing users of cgroup.procs, so compatibility isn't an
issue.  There are users of the "tasks" file, but none that would appear to
break in the event of the sorted property being broken.  The standard
"libcpuset" explicitly sorts the results of reading from the tasks file,
and "libcg" and other users don't appear to care about ordering.

Signed-off-by: Paul Menage <menage@google.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agovideo: includecheck fix: da8xx-fb.c
Jaswinder Singh Rajput [Wed, 7 Oct 2009 23:32:25 +0000 (16:32 -0700)]
video: includecheck fix: da8xx-fb.c

fix the following 'make includecheck' warning:

  drivers/video/da8xx-fb.c: linux/device.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agovideo: includecheck fix: msm, mddi.c
Jaswinder Singh Rajput [Wed, 7 Oct 2009 23:32:24 +0000 (16:32 -0700)]
video: includecheck fix: msm, mddi.c

fix the following 'make includecheck' warning:

  drivers/video/msm/mddi.c: linux/delay.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agofs: includecheck fix: proc, kcore.c
Jaswinder Singh Rajput [Wed, 7 Oct 2009 23:32:24 +0000 (16:32 -0700)]
fs: includecheck fix: proc, kcore.c

fix the following 'make includecheck' warning:

  fs/proc/kcore.c: linux/mm.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agomm: includecheck fix: vmalloc.c
Jaswinder Singh Rajput [Wed, 7 Oct 2009 23:32:23 +0000 (16:32 -0700)]
mm: includecheck fix: vmalloc.c

fix the following 'make includecheck' warning:

  mm/vmalloc.c: linux/highmem.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agoksm: more on default values
Hugh Dickins [Wed, 7 Oct 2009 23:32:22 +0000 (16:32 -0700)]
ksm: more on default values

Adjust the max_kernel_pages default to a quarter of totalram_pages,
instead of nr_free_buffer_pages() / 4: the KSM pages themselves come from
highmem, and even on a 16GB PAE machine, 4GB of KSM pages would only be
pinning 32MB of lowmem with their rmap_items, so no need for the more
obscure calculation (nor for its own special init function).

There is no way for the user to switch KSM on if CONFIG_SYSFS is not
enabled, so in that case default run to KSM_RUN_MERGE.

Update KSM Documentation and Kconfig to reflect the new defaults.

Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Izik Eidus <ieidus@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years agoomap: Use OMAP2_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS
Tony Lindgren [Thu, 8 Oct 2009 00:12:05 +0000 (17:12 -0700)]
omap: Use OMAP2_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoRevert "omap: Use OMAP4_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS"
Tony Lindgren [Thu, 8 Oct 2009 03:48:48 +0000 (20:48 -0700)]
Revert "omap: Use OMAP4_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS"

This reverts commit 5e74836c702fbf6d4b916b13377b628088377b41.

It should be OMAP2_L4_IO_ADDRESS instead.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use getnstimeofday for omap_device
Tony Lindgren [Thu, 8 Oct 2009 00:10:18 +0000 (17:10 -0700)]
omap: Use getnstimeofday for omap_device

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use ioremap for omap_hwmod instead of OMAP2_IO_ADDRESS
Tony Lindgren [Thu, 8 Oct 2009 00:10:18 +0000 (17:10 -0700)]
omap: Use ioremap for omap_hwmod instead of OMAP2_IO_ADDRESS

Otherwise we cannot get rid of OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Use OMAP4_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS
Tony Lindgren [Thu, 8 Oct 2009 00:10:18 +0000 (17:10 -0700)]
omap: Use OMAP4_L4_IO_ADDRESS instead of OMAP2_IO_ADDRESS

Otherwise we cannot remove OMAP2_IO_ADDRESS.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Include bitops from cpu.h
Tony Lindgren [Thu, 8 Oct 2009 00:08:05 +0000 (17:08 -0700)]
omap: Include bitops from cpu.h

Otherwise we need to include bitops.h everywhere where we
test the omap_rev.

Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoMerge branch 'omap-headers'
Tony Lindgren [Wed, 7 Oct 2009 22:37:56 +0000 (15:37 -0700)]
Merge branch 'omap-headers'

16 years agoMerge branch 'omap3-upstream'
Tony Lindgren [Wed, 7 Oct 2009 22:37:44 +0000 (15:37 -0700)]
Merge branch 'omap3-upstream'

16 years agoomap: SDMA: Fixing bug in omap_dma_set_global_params()
Tony Lindgren [Wed, 7 Oct 2009 22:07:07 +0000 (15:07 -0700)]
omap: SDMA: Fixing bug in omap_dma_set_global_params()

Argument tparams was not being used to program
global register GCR.HI_THREAD_RESERVED. This patch fixes the same.

Signed-off-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: CONFIG_ISP1301_OMAP redefined in Beagle defconfig
Sanjeev Premi [Wed, 7 Oct 2009 22:05:53 +0000 (15:05 -0700)]
omap: CONFIG_ISP1301_OMAP redefined in Beagle defconfig

The symbol CONFIG_ISP1301_OMAP was defined twice in the
defconfig. This was causing the warning:
arch/arm/configs/omap3_beagle_defconfig:972:warning:
 override: reassigning to symbol ISP1301_OMAP

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoomap: Fix Unlikely(x) < y
Roel Kluin [Wed, 7 Oct 2009 22:00:43 +0000 (15:00 -0700)]
omap: Fix Unlikely(x) < y

The closing parenthesis was not on the right location.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[5/5] ARM: OMAP2/3/4: Add OMAP4 L3 and L4 peripherals.
Santosh Shilimkar [Wed, 7 Oct 2009 22:22:46 +0000 (15:22 -0700)]
[5/5] ARM: OMAP2/3/4: Add OMAP4 L3 and L4 peripherals.

This patch adds few necessary peripherals for OMAP4.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[4/5] ARM: OMAP2/3/4: Fix DEBUG_LL UART io address
Santosh Shilimkar [Wed, 7 Oct 2009 22:22:17 +0000 (15:22 -0700)]
[4/5] ARM: OMAP2/3/4: Fix DEBUG_LL UART io address

This patch fixes the low level debug UART io address as per this series.
The change is essential to have CONFIG_DEBUG_LL working.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[3/5] ARM: OMAP2/3/4: Move SRAM map to claim more io space
Santosh Shilimkar [Wed, 7 Oct 2009 22:21:45 +0000 (15:21 -0700)]
[3/5] ARM: OMAP2/3/4: Move SRAM map to claim more io space

This patch moves SRAM map to free up more kernel address io space.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[2/5] ARM: OMAP2/3/4: Remap L3, L4 to get more kernel io address space
Santosh Shilimkar [Wed, 7 Oct 2009 22:19:56 +0000 (15:19 -0700)]
[2/5] ARM: OMAP2/3/4: Remap L3, L4 to get more kernel io address space

This patch remap L3 and L4 io space to get more kernel address space.
With this patch, 512 MB of IO space is reclaimed.
Some more combinations are possible but to make it uniform across
OMAP24XX, OMAP34XX and OMAP4430, these io combinations are chosen

Once this is reviewed and tested sufficiently, a documentation entry can
be created to ease up reading and debugging.
Like "Documentation/arm/omap/io_map.txt"

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years ago[1/5] ARM: OMAP2/3/4: Split OMAP2_IO_ADDRESS to L3 and L4
Santosh Shilimkar [Sun, 23 Aug 2009 13:34:51 +0000 (13:34 +0000)]
[1/5] ARM: OMAP2/3/4: Split OMAP2_IO_ADDRESS to L3 and L4

This patch splits OMAP2_IO_ADDRESS to OMAP2_L3_IO_ADDRESS and
OMAP2_L4_IO_ADDRESS to reclaim more IO space.

The omap_read*() and omap_write*() functions will work only over
L4 address space. Current omap kernel stack uses these functions
only to access registers over L4 io address space

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 years agoOMAP850: Fix zImage booting
Alistair Buxton [Tue, 22 Sep 2009 09:05:30 +0000 (10:05 +0100)]
OMAP850: Fix zImage booting

This adds the OMAP850 JTAG ID to the IDs checked by OMAP uncompress.h putc.
Without this putc hangs up trying to check the uarts and zImage crashes.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
16 years agoOMAP850: PM: Add an ARCH_OMAP850 check
Alistair Buxton [Fri, 18 Sep 2009 19:53:04 +0000 (20:53 +0100)]
OMAP850: PM: Add an ARCH_OMAP850 check

This just makes the same warning be printed on omap850 and omap730.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
16 years agoOMAP7XX: Clocks: Add ck_ref and armxor
Angelo Arrifano [Fri, 4 Sep 2009 22:41:49 +0000 (23:41 +0100)]
OMAP7XX: Clocks: Add ck_ref and armxor

These clocks are required for booting.

Signed-off-by: Angelo Arrifano <miknix@gmail.com>
Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: omap_uwire.c: Convert to omap7xx.h
Alistair Buxton [Tue, 22 Sep 2009 09:04:51 +0000 (10:04 +0100)]
OMAP7XX: omap_uwire.c: Convert to omap7xx.h

This also replaces CPU checks with cpu_is_omap7xx()

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: Rename all the rest of the omap730 references in omap1 core
Alistair Buxton [Tue, 22 Sep 2009 09:02:58 +0000 (10:02 +0100)]
OMAP7XX: Rename all the rest of the omap730 references in omap1 core

This patch is part of a series which removes references to omap730 in code
which is shared with omap850, replacing them with references to omap7xx.

This updates all the remaining omap730 references in miscellaneous local
variables, macros and similar.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: Replace omap730 references in irqs.h and all users
Alistair Buxton [Fri, 18 Sep 2009 03:09:39 +0000 (04:09 +0100)]
OMAP7XX: Replace omap730 references in irqs.h and all users

This patch is part of a series which removes references to omap730 in code
which is shared with omap850, replacing them with references to omap7xx.

Turns INT_730_* to INT_7XX_* for definitions in irqs.h and all users.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: Update core omap1 files to use omap7xx.h
Alistair Buxton [Tue, 22 Sep 2009 06:34:13 +0000 (07:34 +0100)]
OMAP7XX: Update core omap1 files to use omap7xx.h

This patch is part of a series which removes references to omap730 in code
which is shared with omap850, replacing them with references to omap7xx.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: Create omap7xx.h
Alistair Buxton [Tue, 22 Sep 2009 06:22:56 +0000 (07:22 +0100)]
OMAP7XX: Create omap7xx.h

This patch is part of a series which removes references to omap730 in code
which is shared with omap850, replacing them with references to omap7xx.

This include file is intended to replace omap730.h and omap850.h
All values defined herein are identical to those in both the old files.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: McBSP: Add omap850 support
Alistair Buxton [Tue, 22 Sep 2009 05:49:35 +0000 (06:49 +0100)]
OMAP7XX: McBSP: Add omap850 support

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: Clocks: Add omap850 support
Alistair Buxton [Tue, 22 Sep 2009 05:47:14 +0000 (06:47 +0100)]
OMAP7XX: Clocks: Add omap850 support

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

This file had no omap850 specific code. Initial clock support was done in
the Linwizard tree by Zebediah C. McClure.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: PM: Add omap850 support
Alistair Buxton [Tue, 22 Sep 2009 05:41:09 +0000 (06:41 +0100)]
OMAP7XX: PM: Add omap850 support

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

This file had no omap850 specific code. Original omap850 support in Linwizard
was done by cloning the omap730 code. That work was done by Zebediah C. McClure.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: IRQ: Remove duplicate omap850 code
Alistair Buxton [Tue, 22 Sep 2009 05:33:04 +0000 (06:33 +0100)]
OMAP7XX: IRQ: Remove duplicate omap850 code

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

This fixes a bug which prevents IRQs from being enabled on omap850 due to
a missing check in entry-macro.S, which was found by Cory Maccarrone.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: USB: Remove duplicate omap850 code
Alistair Buxton [Tue, 22 Sep 2009 05:01:08 +0000 (06:01 +0100)]
OMAP7XX: USB: Remove duplicate omap850 code

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: Mux: Remove duplicate omap850 code
Alistair Buxton [Tue, 22 Sep 2009 04:58:54 +0000 (05:58 +0100)]
OMAP7XX: Mux: Remove duplicate omap850 code

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>
16 years agoOMAP7XX: IO: Remove duplicate omap850 code
Alistair Buxton [Tue, 22 Sep 2009 04:58:08 +0000 (05:58 +0100)]
OMAP7XX: IO: Remove duplicate omap850 code

This patch is part of a series which unifies all duplicated code between
omap730 and omap850. All cpu checks are converted to cpu_is_omap7xx() and
CONFIG_ARCH_OMAP850 is added to all CONFIG_ARCH_OMAP730 checks.

Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
Reviewed-by: Zebediah C. McClure <zmc@lurian.net>