platform/kernel/linux-arm64.git
13 years agoMerge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux...
Russell King [Tue, 15 Mar 2011 16:32:47 +0000 (16:32 +0000)]
Merge branch 'for-rmk' of git://git./linux/kernel/git/kgene/linux-samsung into devel-stable

Conflicts:
arch/arm/mm/Kconfig

13 years agoMerge branch 'davinci-next-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilma...
Russell King [Tue, 15 Mar 2011 15:41:15 +0000 (15:41 +0000)]
Merge branch 'davinci-next-2' of git://git./linux/kernel/git/khilman/linux-davinci into devel-stable

13 years agodavinci: DM644x EVM: register MUSB device earlier
Sergei Shtylyov [Sun, 13 Mar 2011 20:06:59 +0000 (20:06 +0000)]
davinci: DM644x EVM: register MUSB device earlier

The MUSB driver doesn't see its platform device on DM644x EVM board anymore
since commit 73b089b052a69020b953312a624a6e1eb5b81fab (usb: musb: split davinci
to its own platform_driver) because the new probe is called as subsys_initcall()
now, and the device is registered later than that by the board code.  Move the
registration to davinci_evm_init() -- it's safe to do so because the MUSB core
device still gets initialized as fs_initcall() -- which is late enough for the
I2C GPIO expander (which controls VBUS) to be initialized.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: add spi devices on tnetv107x evm
Cyril Chemparathy [Tue, 18 Jan 2011 19:21:41 +0000 (19:21 +0000)]
davinci: add spi devices on tnetv107x evm

This patch adds definitions for spi devices on the tnetv107x evm platform.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: add ssp config for tnetv107x evm board
Cyril Chemparathy [Tue, 18 Jan 2011 19:21:40 +0000 (19:21 +0000)]
davinci: add ssp config for tnetv107x evm board

This patch adds SSP configuration and pin muxing info for tnetv107x
evm boards.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: add tnetv107x ssp platform device
Cyril Chemparathy [Tue, 18 Jan 2011 19:21:39 +0000 (19:21 +0000)]
davinci: add tnetv107x ssp platform device

This patch adds an SSP platform device definition for the tnetv107x soc family.
The clock lookup entry has also been updated to match.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agospi: add ti-ssp spi master driver
Cyril Chemparathy [Tue, 18 Jan 2011 19:21:36 +0000 (19:21 +0000)]
spi: add ti-ssp spi master driver

This patch adds an SPI master implementation that operates on top of an
underlying TI-SSP port.

Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agomfd: add driver for sequencer serial port
Cyril Chemparathy [Tue, 18 Jan 2011 19:21:35 +0000 (19:21 +0000)]
mfd: add driver for sequencer serial port

TI's sequencer serial port (TI-SSP) is a jack-of-all-trades type of serial port
device.  It has a built-in programmable execution engine that can be programmed
to operate as almost any serial bus (I2C, SPI, EasyScale, and others).

This patch adds a driver for this controller device.  The driver does not
expose a user-land interface.  Protocol drivers built on top of this layer are
expected to remain in-kernel.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agoARM: EXYNOS4: Implement Clock gating for System MMU
KyongHo Cho [Mon, 7 Mar 2011 00:10:24 +0000 (09:10 +0900)]
ARM: EXYNOS4: Implement Clock gating for System MMU

This patch includes the implementation of the clock gating
for System MMU. Initially, all System MMUs are not asserted
the system clock. Asserting the system clock to a System MMU
is enabled only when s5p_sysmmu_enable() is called. Likewise,
it is disabled only when s5p_sysmmu_disable() is called.
Therefore, clock gating on System MMUs are still invisible to
the outside of the System MMU driver.

Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Enhancement of System MMU driver
KyongHo Cho [Sun, 6 Mar 2011 23:56:48 +0000 (08:56 +0900)]
ARM: EXYNOS4: Enhancement of System MMU driver

This patch includes the following enhancements for System MMU:
- Enhanced readability
- Removal of unused data structures or their members
- Simplified function definitions
- Corrections of some logical errors
- Full compliance with Linux coding style
- Simpler way of registering callback functions of System MMU faults

Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add support for gpio interrupts
Marek Szyprowski [Tue, 15 Mar 2011 12:17:43 +0000 (21:17 +0900)]
ARM: EXYNOS4: Add support for gpio interrupts

This patch adds support for gpio interrupts on Samsung EXYNOS4 platform.
Common s5p-gpioint.c code is used for handling gpio interrupts. Each gpio
line that needs gpio interrupt support must be later registered with
s5p_register_gpio_interrupt() function.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Add function to register gpio interrupt bank data
Marek Szyprowski [Tue, 15 Mar 2011 12:17:43 +0000 (21:17 +0900)]
ARM: S5P: Add function to register gpio interrupt bank data

This patch removes all global data from common s5p gpio interrupt
handler code. This enables to reuse this code on EXYNOS4 platform.
Instead of global data (IRQ_GPIOINT interrupt number,
S5P_GPIOINT_GROUP_MAXNR groups count), a s5p_register_gpioint_bank()
function is introduced. It is aimed to be called from gpiolib init.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Cleanup S5P gpio interrupt code
Marek Szyprowski [Tue, 15 Mar 2011 12:17:43 +0000 (21:17 +0900)]
ARM: S5P: Cleanup S5P gpio interrupt code

This patch performs a global cleanup in s5p gpio interrupt support code.
The code is prepared for upcoming support for gpio interrupts on EXYNOS4
platform, which has 2 gpio banks (regions) instead of one (like on
S5PC110 and S5PC100).

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add missing GPYx banks
Marek Szyprowski [Tue, 15 Mar 2011 12:17:43 +0000 (21:17 +0900)]
ARM: EXYNOS4: Add missing GPYx banks

This patch adds missing GPYx gpio banks on Samsung EXYNOS4 platform.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S3C64XX: Fix section mismatch from cpufreq init
Mark Brown [Fri, 11 Mar 2011 07:10:03 +0000 (16:10 +0900)]
ARM: S3C64XX: Fix section mismatch from cpufreq init

The cpufreq init function is referenced from the driver structure and
we don't appear to have annotations which allow us to mark that it'll
never be called after system init, causing the linker consistency
infrastructure to complain. Just remove the __init annotation to avoid
noise from the build.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add keypad device to the SMDKV310
Naveen Krishna Ch [Tue, 22 Feb 2011 08:16:58 +0000 (17:16 +0900)]
ARM: EXYNOS4: Add keypad device to the SMDKV310

This patch is to support keypad device to the SMDKV310 board.

Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Update clocks for keypad
Naveen Krishna Ch [Tue, 22 Feb 2011 08:13:42 +0000 (17:13 +0900)]
ARM: EXYNOS4: Update clocks for keypad

The keypad IF on EXYNOS4 uses 100MHz from PERIR functional
block for clocks, this patch updates the same.

Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Update keypad base address
Naveen Krishna Ch [Sat, 5 Mar 2011 00:48:31 +0000 (09:48 +0900)]
ARM: EXYNOS4: Update keypad base address

This patch updates the keypad IF base address in the memory map
for EXYNOS4.

Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add keypad device helpers
Naveen Krishna Ch [Sat, 5 Mar 2011 00:44:09 +0000 (09:44 +0900)]
ARM: EXYNOS4: Add keypad device helpers

This patch adds the samsung_keypad_cfg_gpio() for EXYNOS4.
Now, this helpers are only for keypad operating in PORT-0.

Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add support for SATA on ARMLEX4210
Abhilash Kesavan [Tue, 15 Mar 2011 09:35:24 +0000 (18:35 +0900)]
ARM: EXYNOS4: Add support for SATA on ARMLEX4210

Adds the device definitions, platform specific initialization
and clocks for SATA on ARMLEX4210.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branch 'for-rmk-devel-stable' of git://git.kernel.org/pub/scm/linux/kernel...
Russell King [Mon, 14 Mar 2011 22:27:03 +0000 (22:27 +0000)]
Merge branch 'for-rmk-devel-stable' of git://git./linux/kernel/git/linusw/linux-stericsson into devel-stable

13 years agoMerge branch 'davinci-next' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman...
Russell King [Mon, 14 Mar 2011 22:26:30 +0000 (22:26 +0000)]
Merge branch 'davinci-next' of git://git./linux/kernel/git/khilman/linux-davinci into devel-stable

13 years agoplat-nomadik: make GPIO interrupts work with cpuidle ApSleep
Rabin Vincent [Thu, 10 Feb 2011 06:15:58 +0000 (11:45 +0530)]
plat-nomadik: make GPIO interrupts work with cpuidle ApSleep

Enable wakeups by default for any GPIO interrupts and in the suspend/resume
path narrow this down to only the the real wakeup interrupts. This approach is
based on the assumption that cpuidle ApSleep will be entered more often than
system suspend.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
[Fixup for genirq changes to struct irq_data on 2.6.38]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-u300: define a dummy filter function for coh901318
Linus Walleij [Mon, 27 Sep 2010 15:40:22 +0000 (17:40 +0200)]
mach-u300: define a dummy filter function for coh901318

All platform data has to be made conditional on
as to avoid cluttering the code with other #ifdef:s.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: basic HREFv60 support v2
Linus Walleij [Tue, 15 Feb 2011 14:01:35 +0000 (15:01 +0100)]
mach-ux500: basic HREFv60 support v2

The HREFv60 variant of the MOP500 family of boards remove the
external GPIO expander and route these pins back to some of the
readily available internal GPIO pins instead.

Based on a patch by Bibek Basu <bibek.basu@stericsson.com> for
an internal kernel version.

Cc: Bibek Basu <bibek.basu@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add hrefv60 GPIO pins
Bibek Basu [Tue, 15 Feb 2011 09:46:59 +0000 (10:46 +0100)]
mach-ux500: add hrefv60 GPIO pins

This will centralize all GPIO pin muxing for the different boards
in the MOP500 family to a single file. It also kills off the
deprecated support for the ED (Early Drop) ASIC, this should
never be spotted in the open and ST-Ericsson have internally
deprecated this hardware.

Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
[Rebasing and kill old ASIC support]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: move MOP500 pins to separate file
Rabin Vincent [Sat, 12 Feb 2011 00:07:21 +0000 (17:07 -0700)]
mach-ux500: move MOP500 pins to separate file

Split off pin definitions for the MOP500 board family to its
own file.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: fix compilation warning
Linus Walleij [Wed, 16 Feb 2011 09:37:52 +0000 (10:37 +0100)]
plat-nomadik: fix compilation warning

The compiler warns that [rf]wimsc may be used uninitialized in
this function - the warning is actually false since the uses are
in identical if()-clauses, but it can't hurt very much to read
out the values to be modified early anyway and rid the warning.

Cc: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: get rid of unused GPIO PM code
Rabin Vincent [Thu, 10 Feb 2011 03:59:53 +0000 (09:29 +0530)]
plat-nomadik: get rid of unused GPIO PM code

The NOMADIK_GPIO_PM config option is disabled by default, not user visible,
and never selected by any other option: the code is therefore unused. The
GPIO registers need not be saved and restored since their values are
preserved when vAPE (on DB8500) is powered down.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: change sleep/wakeup setting in GPIO SLPM register
Rikard Olsson [Mon, 3 Jan 2011 13:30:41 +0000 (14:30 +0100)]
plat-nomadik: change sleep/wakeup setting in GPIO SLPM register

This patch fixes a bug when setting SLPM register for DB8500.
When calling__nmk_gpio_set_slpm(...) offset to GPIO is now used
instead of the GPIO number itself.

Signed-off-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: implement safe switch sequence for Alt-C
Rabin Vincent [Mon, 13 Dec 2010 06:32:40 +0000 (12:02 +0530)]
plat-nomadik: implement safe switch sequence for Alt-C

Setting pinmux alternative C for a GPIO pin is actually not
so easy since it ivolves setting value "1" in two registers,
and since the combined result will take effect for intermediate
values (01 or 10) this will cause glitches while you wrote one
register but have not yet written the other.

This patch implements a series of kludges including an optional
machine-specific callback to avoid glitches when changing pin
mux mode to alternative C.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: set altfunc to GPIO when enabling the sleep config
Rabin Vincent [Thu, 25 Nov 2010 06:08:27 +0000 (11:38 +0530)]
plat-nomadik: set altfunc to GPIO when enabling the sleep config

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: type secondary IRQ correctly
Virupax Sadashivpetimath [Thu, 11 Nov 2010 08:40:38 +0000 (14:10 +0530)]
plat-nomadik: type secondary IRQ correctly

Coverity found that we were checking an unsigned variable for
>= zero. Type it correctly so that the check works as intended.

Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: pull-up/down settings for GPIO resume
Jonas Aaberg [Wed, 13 Oct 2010 11:14:17 +0000 (13:14 +0200)]
plat-nomadik: pull-up/down settings for GPIO resume

Suspend/resume didn't take care of pull-up and pull-down
settings and writing back the DAT register at resume can
change pull up/down settings, depending on pin input value.
Output values are now also restored.

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: support secondary GPIO interrupts
Rabin Vincent [Thu, 14 Oct 2010 05:08:03 +0000 (10:38 +0530)]
plat-nomadik: support secondary GPIO interrupts

When GPIOs wake up the system from sleep mode, the normal GPIO interrupt
handler does not hit and the normal interrupt status register does not
contain the status. Instead the secondary GPIO handler does, and the
interrupt status needs to be retrieved from the wakeup status saved by
the suspend/resume code.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: implement suspend/resume for GPIO
Rabin Vincent [Wed, 17 Mar 2010 09:49:04 +0000 (15:19 +0530)]
plat-nomadik: implement suspend/resume for GPIO

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: add custom dbg_show for GPIO
Rabin Vincent [Thu, 4 Mar 2010 12:09:05 +0000 (17:39 +0530)]
plat-nomadik: add custom dbg_show for GPIO

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoplat-nomadik: support varying number of GPIOs per block
Rabin Vincent [Thu, 18 Mar 2010 07:05:22 +0000 (12:35 +0530)]
plat-nomadik: support varying number of GPIOs per block

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
[Added constant 32-pin assignment in platform data]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: config Ux500 PL011 PL022 PL180 for DMA
Linus Walleij [Thu, 14 Oct 2010 11:57:59 +0000 (13:57 +0200)]
mach-ux500: config Ux500 PL011 PL022 PL180 for DMA

This will configure the platform data for the PL011, PL022
and PL180 (derivate) PrimeCells found in the Ux500 to use DMA
with the generic DMA engine for DMA40.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-u300: config U300 PL180 PL011 PL022 for DMA
Linus Walleij [Fri, 13 Aug 2010 09:31:59 +0000 (11:31 +0200)]
mach-u300: config U300 PL180 PL011 PL022 for DMA

This will configure the platform data for the PL180, PL011 and
PL022 PrimeCells found in the U300 to use DMA with the generic
PrimeCell DMA engine for COH 901 318.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-u300: use mmci driver for GPIO card detect
Linus Walleij [Wed, 2 Feb 2011 13:41:19 +0000 (14:41 +0100)]
mach-u300: use mmci driver for GPIO card detect

The mmci driver can handle a GPIO pin for card detect, using
IRQs and all just fine, so switch to using that. Delete the
old bogus input device hack, if userspace need to detect
MMC cards it should use udev like everyone else.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add MUSB to db5500 devices
Mian Yousaf Kaukab [Fri, 21 Jan 2011 17:24:19 +0000 (18:24 +0100)]
mach-ux500: add MUSB to db5500 devices

- DMA tx and rx maps for usb channels are set to be configured at
  runtime
- MUSB is enabled with soc specific base address, irq and dma
  configurations

Signed-off-by: Mian Yousaf Kaukab <mian-yousaf.kaukab@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add MUSB to db8500 devices
Mian Yousaf Kaukab [Fri, 21 Jan 2011 17:21:50 +0000 (18:21 +0100)]
mach-ux500: add MUSB to db8500 devices

- DMA tx and rx maps for usb channels are set to be configured at
  runtime
- GPIO configurations for usb are added
- MUSB is enabled with soc specific base address, irq and dma
  configurations

Signed-off-by: Mian Yousaf Kaukab <mian-yousaf.kaukab@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: update MUSB clock configurations
Mian Yousaf Kaukab [Fri, 21 Jan 2011 17:05:40 +0000 (18:05 +0100)]
mach-ux500: update MUSB clock configurations

MUSB driver has been updated to separate out BSP layer
from its generic parts, as separate driver. This patch
configures the clock with the new platform driver name.

Signed-off-by: Mian Yousaf Kaukab <mian-yousaf.kaukab@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add platform data for musb
Mian Yousaf Kaukab [Fri, 21 Jan 2011 16:59:56 +0000 (17:59 +0100)]
mach-ux500: add platform data for musb

USB resources and DMA40 configurations are dynamically with
the data provided in ux500_add_usb() call. Though only DMA40
configurations differ between U8500 and U5500 (USB resource
are common between them).

Signed-off-by: Mian Yousaf Kaukab <mian-yousaf.kaukab@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: fix inverted SD-card GPIO pin
Philippe Langlais [Thu, 27 Jan 2011 13:35:37 +0000 (14:35 +0100)]
mach-ux500: fix inverted SD-card GPIO pin

The levelshifter pins were set to inverted values, fix this up.

Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: set sd/mmc clock rate to 100MHz
Philippe Langlais [Thu, 27 Jan 2011 13:37:07 +0000 (14:37 +0100)]
mach-ux500: set sd/mmc clock rate to 100MHz

The clock speed for the SD/MMC clock was incorrect, rectify it.

Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: Add Rohm BH1780GLI Light Sensor to i2c_board_info
Lee Jones [Thu, 13 Jan 2011 14:41:22 +0000 (14:41 +0000)]
mach-ux500: Add Rohm BH1780GLI Light Sensor to i2c_board_info

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: platform data for LP5521 leds driver
Philippe Langlais [Wed, 12 Jan 2011 10:26:20 +0000 (11:26 +0100)]
mach-ux500: platform data for LP5521 leds driver

Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: platform data for SFH7741 proximity sensor driver
Philippe Langlais [Fri, 14 Jan 2011 09:53:59 +0000 (10:53 +0100)]
mach-ux500: platform data for SFH7741 proximity sensor driver

Proximity sensor is managed as an input event (SW_PROXIMITY).

Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
[Named GPIO pin]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: delete old keypad board file
Linus Walleij [Fri, 21 Jan 2011 09:50:08 +0000 (10:50 +0100)]
mach-ux500: delete old keypad board file

We register keypads per-UIB now, remove this.

Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add U8500 UIB platform data
Sundar Iyer [Fri, 21 Jan 2011 05:26:18 +0000 (10:56 +0530)]
mach-ux500: add U8500 UIB platform data

The U8500 UIB contains a Synaptics RMI touchpanel and
a matrix keyboard via the TC35893 port expander device.

Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add ST-UIB platform data
Sundar Iyer [Fri, 21 Jan 2011 05:26:17 +0000 (10:56 +0530)]
mach-ux500: add ST-UIB platform data

The ST-UIB contains a matrix keypad interfaced with the
STMPE1601 port expander and a ROHM BU2101 touch panel.

Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: dynamic UIB (user interface boards) detection
Rabin Vincent [Fri, 21 Jan 2011 05:26:16 +0000 (10:56 +0530)]
mach-ux500: dynamic UIB (user interface boards) detection

Add support for dynamic detection of the UIB used (at the cost of one i2c error
on the lesser-used UIB) and also provide an override via a command line
parameter if needed.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: fix ux500 build error
Sundar Iyer [Fri, 21 Jan 2011 05:26:15 +0000 (10:56 +0530)]
mach-ux500: fix ux500 build error

Include ab8500 regulators for DB8500 SoC by default
and fix build issues

Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
[Small fixup for changed boardfiles]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add a few AB8500 regulator consumers v3
Linus Walleij [Thu, 2 Dec 2010 16:10:14 +0000 (17:10 +0100)]
mach-ux500: add a few AB8500 regulator consumers v3

Try to make the regulators a little bit more useful by adding some
of the most basic consumers we're going to have in the end.

Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Rabin Vincent <rabin@rab.in>
Cc: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
Cc: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agomach-ux500: add DB5500 PMU resources
Linus Walleij [Fri, 21 Jan 2011 08:19:05 +0000 (09:19 +0100)]
mach-ux500: add DB5500 PMU resources

This adds the PMU resources necessary to get perf working with
the DB5500 ASIC.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 years agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux...
Russell King [Sat, 12 Mar 2011 20:33:51 +0000 (20:33 +0000)]
Merge branch 'master' of git://git./linux/kernel/git/tglx/linux-2.6-tcc into devel-stable

13 years agoMerge branch 'next-exynos4-pm' into for-next
Kukjin Kim [Sat, 12 Mar 2011 01:20:07 +0000 (10:20 +0900)]
Merge branch 'next-exynos4-pm' into for-next

Conflicts:
arch/arm/mach-exynos4/include/mach/regs-pmu.h

13 years agoARM: EXYNOS4: Update HRT for supporting PM
Jaecheol Lee [Tue, 8 Mar 2011 23:22:31 +0000 (08:22 +0900)]
ARM: EXYNOS4: Update HRT for supporting PM

This patch updates HRT driver for supporting PM.
The resume function of PWM4 timer which is used clocksource is needed
when kernel is resuming for restarting.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Suspend to RAM Support
Jaecheol Lee [Thu, 10 Mar 2011 04:33:59 +0000 (13:33 +0900)]
ARM: EXYNOS4: Suspend to RAM Support

This patch adds support suspend to ram for EXYNOS4210.
As a note, this includes function of outer cache flush
because it is used before entering PM.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add PMU and CMU Registers for PM
Jaecheol Lee [Thu, 10 Mar 2011 04:21:51 +0000 (13:21 +0900)]
ARM: EXYNOS4: Add PMU and CMU Registers for PM

This patch adds definitions of PMU and CMU registers for EXYNOS4 PM.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branch 'next-exynos4' into next-exynos4-pm
Kukjin Kim [Sat, 12 Mar 2011 01:17:19 +0000 (10:17 +0900)]
Merge branch 'next-exynos4' into next-exynos4-pm

13 years agoARM: S5P: Add platform definitions for FIMC3
Sylwester Nawrocki [Fri, 11 Mar 2011 23:58:01 +0000 (08:58 +0900)]
ARM: S5P: Add platform definitions for FIMC3

Add support for fourth FIMC platform device definition and define
resources for FIMC modules on EXYNOS4 machines.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Update defconfig for HRT support
Sangbeom Kim [Fri, 11 Mar 2011 23:05:19 +0000 (08:05 +0900)]
ARM: S5P: Update defconfig for HRT support

This patch updates s5pv210_defconfig and s5p64x0_defconfig for
HRT support and CONFIG_S5P_HRT is used for its configuration.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Update machine of S5P64X0 and S5PV210 for HRT
Sangbeom Kim [Fri, 11 Mar 2011 23:02:12 +0000 (08:02 +0900)]
ARM: S5P: Update machine of S5P64X0 and S5PV210 for HRT

This patch adds support HRT for machines of S5P64X0 and S5PV210.
Basically, PWM Timer3 is used for clockevent and PWM Timer4 is
used for clocksource. Since PWM Timer3 is used for other purpose,
PWM Timer2 is used on SMDKV210.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: HRT support
Sangbeom Kim [Fri, 11 Mar 2011 23:02:07 +0000 (08:02 +0900)]
ARM: S5P: HRT support

This patch adds support HR-Timer(High Resolution Timer) and dynamic
tick system for S5P SoCs. There are many clock sources for HR-Timer
on S5P SoCs. The PWM timer, RTC, System Timer, and MCT can be used
for clock source.
This patch can only support PWM timer for clock source of S5P64X0
and S5PV210.

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agodavinci: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS.
Subhasish Ghosh [Mon, 7 Mar 2011 14:06:57 +0000 (14:06 +0000)]
davinci: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS.

DMAX is an internal name for the module which is
known as PRUSS in TI public documentation. This patch just
gets the code in sync with TI documentation.

Signed-off-by: Subhasish Ghosh <subhasish@mistralsolutions.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: DA850 EVM: kill useless variable
Sergei Shtylyov [Fri, 25 Feb 2011 06:56:36 +0000 (12:26 +0530)]
davinci: DA850 EVM: kill useless variable

Commit 75e2ea643fe43d5aa836475acee5bd97cd9ea4bf (davinci: DA850/OMAP-L138 EVM
expander setup and UI card detection) introduced a useless variable: it's
always set to 1 before it's checked in da850_evm_setup_nor_nand()...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: add spi devices support for da830/omap-l137/am17x evm
Sekhar Nori [Thu, 24 Feb 2011 05:23:27 +0000 (10:53 +0530)]
davinci: add spi devices support for da830/omap-l137/am17x evm

This patch adds the on-board SPI flash device to the
DA830/OMAP-L137/AM17x EVM. It also registers the SPI flash
device to the MTD subsystem.

Based on SPI flash device support for MityDSP-L138F platform.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
[michael.williamson@criticallink.com: moved da830evm_spi0_pdata to devices-da8xx.c]
[michael.williamson@criticallink.com: moved da830evm_init_spi0 to devices-da8xx.c]
Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: add spi devices support for da850/omap-l138/am18x evm
Sekhar Nori [Thu, 24 Feb 2011 05:09:27 +0000 (10:39 +0530)]
davinci: add spi devices support for da850/omap-l138/am18x evm

This patch adds the on-board SPI flash device to the
DA850/OMAP-L138/AM18x EVM. It also registers the SPI flash
device to the MTD subsystem.

Based on SPI flash device support for MityDSP-L138F platform.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
[michael.williamson@criticallink.com: moved da850_evm_spi1_pdata to devices-da8xx.c]
[michael.williamson@criticallink.com: moved da850evm_init_spi1 to devices-da8xx.c]
Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: add spi devices support for MityDSP-L138/MityARM-1808 platform
Michael Williamson [Thu, 24 Feb 2011 04:52:47 +0000 (10:22 +0530)]
davinci: add spi devices support for MityDSP-L138/MityARM-1808 platform

This patch adds support for accessing the on board SPI NOR FLASH
device for MityDSP-L138 and MityARM-1808 SoMs.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: da8xx: add spi resources and registration routine
Michael Williamson [Thu, 24 Feb 2011 04:48:28 +0000 (10:18 +0530)]
davinci: da8xx: add spi resources and registration routine

Add IO resource structures, platform data, and a registration
routine in order to support spi device on DA850/OMAP-L138/AM18x
and DA830/OMAP-L137/AM17x platforms.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: da850: add spi device clock definitions
Michael Williamson [Tue, 22 Feb 2011 13:37:00 +0000 (13:37 +0000)]
davinci: da850: add spi device clock definitions

Add spi clock information for da850.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: da830: fix driver name for spi clocks
Michael Williamson [Tue, 22 Feb 2011 13:36:59 +0000 (13:36 +0000)]
davinci: da830: fix driver name for spi clocks

The spi driver name called out for the da830 spi clock list is not correct,
fix it.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: da8xx: clean up magic numbers in devices-da8xx.c
Michael Williamson [Tue, 22 Feb 2011 13:36:57 +0000 (13:36 +0000)]
davinci: da8xx: clean up magic numbers in devices-da8xx.c

Extract magic numbers from DMA resource initializers to #defines.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agodavinci: remove unused DA830_edma_ch enum
Michael Williamson [Tue, 22 Feb 2011 13:36:56 +0000 (13:36 +0000)]
davinci: remove unused DA830_edma_ch enum

The DA830_edma_ch enum set is not used.  Remove it.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
13 years agoarm: tcc8k: Fix bus clock calculation
Oskar Schirmer [Thu, 17 Feb 2011 15:43:02 +0000 (16:43 +0100)]
arm: tcc8k: Fix bus clock calculation

There are two dividers used to derive bus clock from system clock:
system clock is divided by SCKDIV+1, then by BCKDIV+1. SCKDIV divider
has been ignored up to now, which is no problem as long as it is 0.

Take SCKDIV into account for bus clock calculation.

Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Cc: bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoarm: tcc8k: Fix indent, coding syle
Oskar Schirmer [Thu, 17 Feb 2011 15:43:01 +0000 (16:43 +0100)]
arm: tcc8k: Fix indent, coding syle

Remove double definition of ACLKUSBH, change parameter name in
root_clk_disable, as there is no reason to have a different name than
in root_clk_enable.

No functional change.

Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Cc: bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoarm: tcc8k: Avoid reading clock register twice
Oskar Schirmer [Thu, 17 Feb 2011 15:43:00 +0000 (16:43 +0100)]
arm: tcc8k: Avoid reading clock register twice

There is no reason why in case of PLL2 the configuration register
should be read twice, while for PLL0/1 using the value previously read
is used. Do the same for PLL2.

Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Cc: bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoarm: tcc8k: Fix clock rate calculation
Hans J. Koch [Thu, 17 Feb 2011 15:42:59 +0000 (16:42 +0100)]
arm: tcc8k: Fix clock rate calculation

The calculation of the best divider value for a requested clock rate
always returned a value that was slightly too large. It was also not
protected against possible divisions by zero.

Request for very low, but non zero rates would cause the ACLK divisor
field to overflow. Catch this situation by using the maximum value.

The internal function aclk_set_rate() calculates the correct divider
value, but doesn't write it back to the register. Add the write back.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Cc: bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoarm: tcc8k: Choose PLL settings conforming to board layout
Oskar Schirmer [Thu, 17 Feb 2011 15:42:58 +0000 (16:42 +0100)]
arm: tcc8k: Choose PLL settings conforming to board layout

The evaluation board is driven with 1.2V core voltage, so system clock
must not exceed 192 MHz, bus clock must not exceed 110 MHz. Choose
appropriate values and set DTCMWAIT accordingly. Adapt UART setting to
avoid console log interruption and wait for the specified locking time
of 300us to pass.

Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Cc: bigeasy@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoarm: tcc8k: Add missing include
Oskar Schirmer [Thu, 17 Feb 2011 15:42:51 +0000 (16:42 +0100)]
arm: tcc8k: Add missing include

If NAND is enabled we better have the include around.

Signed-off-by: Oskar Schirmer <oskar@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 years agoARM: S5P: Add support for common MIPI CSIS/DSIM D-PHY control
Sylwester Nawrocki [Thu, 10 Mar 2011 12:53:40 +0000 (21:53 +0900)]
ARM: S5P: Add support for common MIPI CSIS/DSIM D-PHY control

Add common code for MIPI-CSIS and MIPI-DSIM drivers to support
their corresponding D-PHY's enable and reset control.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Extend MIPI-CSIS platform_data with the PHY control callback
Sylwester Nawrocki [Thu, 10 Mar 2011 12:53:36 +0000 (21:53 +0900)]
ARM: S5P: Extend MIPI-CSIS platform_data with the PHY control callback

Extend MIPI-CSIS driver's platform data structure with a callback
for D-PHY enable and reset control. Also add a flag indicating
whether the external MIPI-CSI (VDD18_MIPI) power supply should
be managed in the driver through the "vdd" power supply. On some
boards this regulator may be a fixed voltage regulator without
an inhibit function.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Rename MIPI-CSIS driver header and update Copyright
Sylwester Nawrocki [Thu, 10 Mar 2011 12:52:27 +0000 (21:52 +0900)]
ARM: S5P: Rename MIPI-CSIS driver header and update Copyright

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P: Add platform helpers for camera GPIO configuration
Sylwester Nawrocki [Thu, 10 Mar 2011 12:49:31 +0000 (21:49 +0900)]
ARM: S5P: Add platform helpers for camera GPIO configuration

Add functions for configuration of the parallel camera
bus pins on S5PV210 and Exynos4 SoC.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branch 'dev/pwm-backlight' into for-next
Kukjin Kim [Fri, 11 Mar 2011 06:48:52 +0000 (15:48 +0900)]
Merge branch 'dev/pwm-backlight' into for-next

Conflicts:
arch/arm/mach-s3c64xx/mach-smdk6410.c

13 years agoMerge branch 'next-s3c2440-gta02' into for-next
Kukjin Kim [Fri, 11 Mar 2011 06:48:28 +0000 (15:48 +0900)]
Merge branch 'next-s3c2440-gta02' into for-next

13 years agoMerge branch 'next-s5p' into for-next
Kukjin Kim [Fri, 11 Mar 2011 02:05:49 +0000 (11:05 +0900)]
Merge branch 'next-s5p' into for-next

13 years agoMerge branch 'next-exynos4' into for-next
Kukjin Kim [Fri, 11 Mar 2011 02:05:46 +0000 (11:05 +0900)]
Merge branch 'next-exynos4' into for-next

13 years agoARM: EXYNOS4: Implement kernel timers using MCT
Changhwan Youn [Fri, 11 Mar 2011 01:39:57 +0000 (10:39 +0900)]
ARM: EXYNOS4: Implement kernel timers using MCT

The Multi-Core Timer(MCT) of EXYNOS4 is designed for implementing
clock source timer and clock event timers. This patch implements
1 clock source timer with 64 bit free running counter of MCT and
2 clock event timers with two of 31-bit tick counters.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add irq definition for kernel global timer
Changhwan Youn [Fri, 11 Mar 2011 01:39:53 +0000 (10:39 +0900)]
ARM: EXYNOS4: Add irq definition for kernel global timer

This patch adds IRQ_MCT_G0 to irq map. IRQ_MCT_G0 is an interrupt
of MCT comparator and used for kernel global timer.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add SYSTIMER IO Address mapping for MCT
Changhwan Youn [Fri, 11 Mar 2011 01:39:35 +0000 (10:39 +0900)]
ARM: EXYNOS4: Add SYSTIMER IO Address mapping for MCT

The MCT(Multi-Core Timer) is used for implementing kernel timers
for EXYNOS4210.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel-stable
Russell King [Thu, 10 Mar 2011 13:53:29 +0000 (13:53 +0000)]
Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel-stable

13 years agoarm: imx: Zero entire imxdma structure
Ilia Mirkin [Sun, 20 Feb 2011 22:10:51 +0000 (17:10 -0500)]
arm: imx: Zero entire imxdma structure

The semantic match that finds the problem:
// <smpl>
@@
type T;
identifier x;
@@

T *x;
...
* memset(x, ..., ... * sizeof(x) * ...);
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
13 years agomx51 enchance the sd/mmc HW timing compatibility on mx51 boards.
Richard Zhu [Thu, 10 Mar 2011 06:15:46 +0000 (14:15 +0800)]
mx51 enchance the sd/mmc HW timing compatibility on mx51 boards.

Some cards have the CRC errors in read on mx51 BBG board.
Configure the eSDHC pad configurations to level up the
compatibility to fix this issue.

Signed-off-by: Richard Zhu <Hong-Xing.Zhu@freescale.com>
Tested-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
13 years agoARM: mxs/mx28evk: add framebuffer device
Shawn Guo [Tue, 8 Mar 2011 10:51:10 +0000 (18:51 +0800)]
ARM: mxs/mx28evk: add framebuffer device

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
13 years agoARM: mx28: set proper parent for lcdif clock
Shawn Guo [Tue, 8 Mar 2011 10:51:09 +0000 (18:51 +0800)]
ARM: mx28: set proper parent for lcdif clock

Most likely, the LCD panel on mx28 platform will require a pixel
clock higher than ref_xtal_clk (24 MHz), so the patch initializes
the parent of lcdif clock as ref_pix_clk.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
13 years agoARM: imx/mx25: dynamically allocate pwm devices
Baruch Siach [Mon, 7 Mar 2011 13:19:11 +0000 (15:19 +0200)]
ARM: imx/mx25: dynamically allocate pwm devices

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>