GitHub/mt8127/android_kernel_alcatel_ttab.git
13 years agoMerge branch 'next-samsung-devel' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Jul 2011 14:34:00 +0000 (16:34 +0200)]
Merge branch 'next-samsung-devel' of git://git./linux/kernel/git/kgene/linux-samsung into next/devel

13 years agoARM: S5P64X0: External Interrupt Support
Padmavathi Venna [Thu, 21 Jul 2011 07:57:59 +0000 (16:57 +0900)]
ARM: S5P64X0: External Interrupt Support

Add external interrupt support for S5P64X0.The external interrupt
group 0(0 to 15) is used for wake-up source in stop and sleep mode.
Add generic irq chip support

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Enable MFC on Samsung NURI
Marek Szyprowski [Thu, 21 Jul 2011 07:43:25 +0000 (16:43 +0900)]
ARM: EXYNOS4: Enable MFC on Samsung NURI

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: Enable MFC on universal_c210
Kamil Debski [Thu, 21 Jul 2011 07:43:20 +0000 (16:43 +0900)]
ARM: EXYNOS4: Enable MFC on universal_c210

Signed-off-by: Kamil Debski <k.debski@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: S5PV210: Enable MFC on Goni
Kamil Debski [Thu, 21 Jul 2011 07:43:14 +0000 (16:43 +0900)]
ARM: S5PV210: Enable MFC on Goni

Signed-off-by: Kamil Debski <k.debski@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: Add support for MFC device
Kamil Debski [Thu, 21 Jul 2011 07:42:30 +0000 (16:42 +0900)]
ARM: S5P: Add support for MFC device

Add support for MFC device to plat-s5p, mach-exynos4, mach-s5pv210:
 - clock support
 - memory mapping and reserving
 - s5p_device_mfc platform device

Signed-off-by: Kamil Debski <k.debski@samsung.com>
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 support FIMD on SMDKC210
Jingoo Han [Thu, 21 Jul 2011 06:46:32 +0000 (15:46 +0900)]
ARM: EXYNOS4: Add support FIMD on SMDKC210

This patch adds support EXYNOS4 FIMD0 and LTE480WV LCD pannel
on Samsung SMDKC210 board.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Jonghun Han <jonghun.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add platform device and helper functions for FIMD
Jonghun Han [Thu, 21 Jul 2011 06:46:26 +0000 (15:46 +0900)]
ARM: EXYNOS4: Add platform device and helper functions for FIMD

This patch adds platform device s5p_device_fimd0 for EXYNOS4 FIMD0.
EXYNOS4 has two FIMDs(FIMD0, FIMD1). FIMD1 will be added later.
Some definitions used to enable EXYNOS4 FIMD0 are added.

Signed-off-by: Jonghun Han <jonghun.han@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add resource definition for FIMD
Jonghun Han [Thu, 21 Jul 2011 06:46:19 +0000 (15:46 +0900)]
ARM: EXYNOS4: Add resource definition for FIMD

This patch adds resource definitions for EXYNOS4 FIMD.
IRQ and SFR definitions are added.

Signed-off-by: Jonghun Han <jonghun.han@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Change devname for FIMD clkdev
Jingoo Han [Thu, 21 Jul 2011 06:42:38 +0000 (15:42 +0900)]
ARM: EXYNOS4: Change devname for FIMD clkdev

According to SoC name, EXYNOS4, this patch changes devname
for FIMD from 's5pv310-fb' to 'exynos4-fb'.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
[kgene.kim@samsung.com: removed to change wrong clock name]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branch 'next-samsung-clkdev-fix' into next-samsung-devel
Kukjin Kim [Thu, 21 Jul 2011 08:28:23 +0000 (17:28 +0900)]
Merge branch 'next-samsung-clkdev-fix' into next-samsung-devel

13 years agoARM: SAMSUNG: Add IRQ_I2S0 definition
Sangbeom Kim [Thu, 21 Jul 2011 05:15:11 +0000 (14:15 +0900)]
ARM: SAMSUNG: Add IRQ_I2S0 definition

To handle i2s0 interrupt and To fix compilation error
adds IRQ_I2S0 for exynos4, s3c64xx, s5p64x0

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
[kgene.kim@samsung.com: Fixed build failure due to inclusion]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: Add platform device for idma
Sangbeom Kim [Thu, 21 Jul 2011 05:12:19 +0000 (14:12 +0900)]
ARM: SAMSUNG: Add platform device for idma

Exynos4 and S5PC110(S5PV210) has Internal dma(idma) in AUDSS.
To support idma, register idma platform device.
and Exynos4 and S5PC110 has different IDMA address.
TO handle different IDMA address, register idma platform data

Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add more registers to be saved and restored for PM
MyungJoo Ham [Thu, 21 Jul 2011 02:25:23 +0000 (11:25 +0900)]
ARM: EXYNOS4: Add more registers to be saved and restored for PM

We need more registers to be saved and restored for PM of EXYNOS4210.
Otherwise, with additional drivers running, suspend-to-RAM fails to
wake up properly. This patch adds registers omitted in the initial PM
patches.

Signed-off-by: MyungJoo Ham <myungjoo.ham@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 more register addresses of CMU
MyungJoo Ham [Thu, 21 Jul 2011 02:21:56 +0000 (11:21 +0900)]
ARM: EXYNOS4: Add more register addresses of CMU

These registers are crucial for PM to work properly.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: Added mach/clkdev.h
Thomas Abraham [Wed, 15 Jun 2011 04:28:14 +0000 (13:28 +0900)]
ARM: SAMSUNG: Added mach/clkdev.h

This is temporary patch for building with clkdev.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add clkdev support
Thomas Abraham [Tue, 14 Jun 2011 10:12:27 +0000 (19:12 +0900)]
ARM: EXYNOS4: Add clkdev support

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
[kgene.kim@samsung.com: removed changes of mach-exynos4/time.c]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add platform device for dwmci driver
Seungwon Jeon [Wed, 20 Jul 2011 15:34:58 +0000 (00:34 +0900)]
ARM: EXYNOS4: Add platform device for dwmci driver

This patch adds platform device for Synopsys DesignWare
Multimedia Card Interface driver.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: configure rtc-s3c on NURI
MyungJoo Ham [Wed, 20 Jul 2011 15:31:27 +0000 (00:31 +0900)]
ARM: EXYNOS4: configure rtc-s3c on NURI

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: configure MAX8903 secondary charger on NURI
MyungJoo Ham [Wed, 20 Jul 2011 15:31:27 +0000 (00:31 +0900)]
ARM: EXYNOS4: configure MAX8903 secondary charger on NURI

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: configure ADC on NURI
MyungJoo Ham [Wed, 20 Jul 2011 15:31:27 +0000 (00:31 +0900)]
ARM: EXYNOS4: configure ADC on NURI

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: configure MAX17042 fuel gauge on NURI
MyungJoo Ham [Wed, 20 Jul 2011 15:31:27 +0000 (00:31 +0900)]
ARM: EXYNOS4: configure MAX17042 fuel gauge on NURI

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: configure regulators and PMIC(MAX8997) on NURI
MyungJoo Ham [Wed, 20 Jul 2011 15:31:27 +0000 (00:31 +0900)]
ARM: EXYNOS4: configure regulators and PMIC(MAX8997) on NURI

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: Fix build - inclusion of max8997-private.h]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Increase NR_IRQS for devices with more IRQs
MyungJoo Ham [Wed, 20 Jul 2011 15:31:26 +0000 (00:31 +0900)]
ARM: EXYNOS4: Increase NR_IRQS for devices with more IRQs

MAX8997/17042, which are used by Exynos4-NURI, use additional IRQ
numbers after GPIO's IRQs. The patch creates some room for those
devices.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5PV210: Support ADC
MyungJoo Ham [Wed, 20 Jul 2011 12:08:18 +0000 (21:08 +0900)]
ARM: S5PV210: Support ADC

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Support ADC
MyungJoo Ham [Wed, 20 Jul 2011 12:08:18 +0000 (21:08 +0900)]
ARM: EXYNOS4: Support ADC

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: Revise PM for 12-bit ADC operations
MyungJoo Ham [Wed, 20 Jul 2011 12:08:18 +0000 (21:08 +0900)]
ARM: SAMSUNG: Revise PM for 12-bit ADC operations

- Fixed: 12bit precision is lost at suspend/resume
- Updated: use pm_dev_ops

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: ADC Channel selection
MyungJoo Ham [Wed, 20 Jul 2011 12:08:18 +0000 (21:08 +0900)]
ARM: SAMSUNG: ADC Channel selection

In S5PV210/S5PC110/EXYNOS4, ADCMUX channel selection uses ADCMUX
register, not ADCCON register. This patch corrects the behavior of
SAMSUNG-ADC for such CPUs.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: use regulator VDD for ADC
MyungJoo Ham [Wed, 20 Jul 2011 12:08:17 +0000 (21:08 +0900)]
ARM: SAMSUNG: use regulator VDD for ADC

This patch allows the Samsung ADC driver to enable VDD regulator
at probe and resume and to disable at exit and suspend.
In a platform where ADC's VDD regulator is not "always-on", this
control is required although this patch does not provide fine-grained
power control (turning on the regulator only when being accessed).

However, if VDD regulator ("vdd" for the adc device) is not provided,
the regulator control will not be activated because there are platforms
that do not provide regulator for ADC device.

arch_initcall has been modified to module_init in order to allow
regulators to be available at probe.

Signed-off-by: MyungJoo Ham <myungjoo.ham@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 save/restore function for PLL
Jaecheol Lee [Mon, 18 Jul 2011 10:25:13 +0000 (19:25 +0900)]
ARM: EXYNOS4: Add save/restore function for PLL

The PLL restore routine supports waiting pll locking. If PLL is
enabled in restoring sequence, it should wait until PLL is locked.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add save/restore for other ARM registers
Jaecheol Lee [Mon, 18 Jul 2011 10:25:03 +0000 (19:25 +0900)]
ARM: EXYNOS4: Add save/restore for other ARM registers

This patch adds save/restore values for Power Control Register and
Diagnostic Register for PM.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Move S5P_CENTRAL_SEQ_CONFIGURATION setting for PM
Jaecheol Lee [Mon, 18 Jul 2011 10:21:41 +0000 (19:21 +0900)]
ARM: EXYNOS4: Move S5P_CENTRAL_SEQ_CONFIGURATION setting for PM

We need to balance between set and check S5P_CENTRAL_SEQ_CONFIGURATION
register in syscore_ops suspend/resume function when failure in enter
suspend mode. Moved this register setting for PM for the purpose of balancing.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Support early wakeup entering sleep mode
Jaecheol Lee [Mon, 18 Jul 2011 10:21:34 +0000 (19:21 +0900)]
ARM: EXYNOS4: Support early wakeup entering sleep mode

Since early wakeup can be handled in pm so we don't need masking
interrupts of external GIC. When the early wakeup interrupt happens,
PMU(Power Management Unit) ignores WFI instruction. This means that
PC(Program Counter) passed without any changes. This patch can handle
that case by early wakeup interrupt.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
[kgene.kim@samsung.com: fixed return of exynos4_cpu_suspend()]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Remove PMU configuration for S2RAM
Jaecheol Lee [Mon, 18 Jul 2011 10:21:27 +0000 (19:21 +0900)]
ARM: EXYNOS4: Remove PMU configuration for S2RAM

PMU(Power Management Unit) configuraion for S2RAM(SLEEP) is removed
and using function which provided by PMU support code to configure
PMU register.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Support system level power down configuration
Jaecheol Lee [Mon, 18 Jul 2011 10:21:23 +0000 (19:21 +0900)]
ARM: EXYNOS4: Support system level power down configuration

EXYNOS4 supports 3 different system level power down mode by PMU (Power
Management Unit). Each power down mode need to configure many PMU registers
with different value. This patch supports function to configure PMU registers
with pre-defined values in PMU code. This function may be used by PM code and
AFTR/LPA support driver.

Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add SPDIF for SMDKV310
Naveen Krishna Chatradhi [Mon, 18 Jul 2011 06:14:01 +0000 (15:14 +0900)]
ARM: EXYNOS4: Add SPDIF for SMDKV310

This patch adds spdif to the machine supported device list for
SMDKV310.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add support Core1 Power On/Off with hotplug in/out
JungHi Min [Sat, 16 Jul 2011 04:39:09 +0000 (13:39 +0900)]
ARM: EXYNOS4: Add support Core1 Power On/Off with hotplug in/out

To insert the code for power on/off with pmu control to support hotplug in/out core1
As for hotplug.c, the codes for core1 to be hotplug in/out is inserted.
As for regs-pmu.h, S5P_CORE_LOCAL_PWR_EN is defined.
As for platsmp.c, the codes for core1 to be powered on is inserted.

Signed-off-by: JungHi Min <junghi.min@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add chained enrty/exit function to uart interrupt handler
Changhwan Youn [Sat, 16 Jul 2011 01:49:57 +0000 (10:49 +0900)]
ARM: EXYNOS4: Add chained enrty/exit function to uart interrupt handler

This patch adds chained IRQ enter/exit functions to uart
interrupt handler in order to function correctly on primary
controllers with different methods of flow control.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Remove clock event timers using ARM private timers
Changhwan Youn [Sat, 16 Jul 2011 01:49:53 +0000 (10:49 +0900)]
ARM: EXYNOS4: Remove clock event timers using ARM private timers

External GIC cannot support PPI (Private Peripheral Interrupt) for
ARM private timers. Thus MCT should be selected as clock event timers
by default.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add support external GIC
Changhwan Youn [Sat, 16 Jul 2011 01:49:51 +0000 (10:49 +0900)]
ARM: EXYNOS4: Add support external GIC

For full support of power modes, this patch adds implementation
external GIC on EXYNOS4.

External GIC of Exynos4 cannot support register banking so
several interrupt related code for CPU1 should be different
from that of CPU0.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: GIC: move gic_chip_data structure declaration to header
Changhwan Youn [Sat, 16 Jul 2011 01:49:47 +0000 (10:49 +0900)]
ARM: GIC: move gic_chip_data structure declaration to header

Since Samsung EXYNOS4210 cannot support register banking in GIC,
so needs to update CPU interface base address.
The 'gic_chip_data' is used for it, this patch moves gic_chip_data
structure declaraton to arch/arm/include/asm/hardware/gic.h to use
it.

Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: set the affinity of mct1 interrupt using IRQ_MCT_L1
Changhwan Youn [Sat, 16 Jul 2011 01:49:44 +0000 (10:49 +0900)]
ARM: EXYNOS4: set the affinity of mct1 interrupt using IRQ_MCT_L1

IRQ_MCT_L1 is connected directly to GIC in external GIC mapping,
while in internal GIC mapping, it is connected to GIC through
interrupt combiner. Therfore the affinity for mct1 event timer
interrupt should be changed through IRQ_MCT_L1.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: modify interrupt mappings for external GIC
Changhwan Youn [Sat, 16 Jul 2011 01:49:41 +0000 (10:49 +0900)]
ARM: EXYNOS4: modify interrupt mappings for external GIC

To support external GIC needs to update mapping of interrupt number.
This patch modifies it for external GIC and accordingly removes
the unused code.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add external GIC io memory mapping
Changhwan Youn [Sat, 16 Jul 2011 01:48:47 +0000 (10:48 +0900)]
ARM: EXYNOS4: Add external GIC io memory mapping

This patch adds external GIC io memory mapping
to support external GIC on EXYNOS4.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Enable SATA on SMDKV310
Inderpal Singh [Mon, 4 Jul 2011 10:19:36 +0000 (19:19 +0900)]
ARM: EXYNOS4: Enable SATA on SMDKV310

Adds device definition to enable SATA on SMDKV310

Signed-off-by: Inderpal Singh <inderpal.s@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Add qt602240 touch screen device on Universal_C210
Marek Szyprowski [Wed, 22 Jun 2011 04:43:39 +0000 (13:43 +0900)]
ARM: EXYNOS4: Add qt602240 touch screen device on Universal_C210

This patch adds definitions to enable support for qt602240 touch screen
driver for Universal C210 board.

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 MCS Touchkey device on Universal_C210
Marek Szyprowski [Wed, 22 Jun 2011 04:43:39 +0000 (13:43 +0900)]
ARM: EXYNOS4: Add MCS Touchkey device on Universal_C210

This patch adds definitions to enable support for MCS Touchkey driver
for Universal C210 board.

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 FIMC device on Universal_C210
Marek Szyprowski [Wed, 22 Jun 2011 04:43:39 +0000 (13:43 +0900)]
ARM: EXYNOS4: Add FIMC device on Universal_C210

This patch adds definitions to enable support for s5p-fimc driver for
Universal C210 board.

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: Added selection DEV_PWM for HRT
Kukjin Kim [Mon, 13 Jun 2011 07:46:09 +0000 (16:46 +0900)]
ARM: S5P: Added selection DEV_PWM for HRT

Basically, the SAMSUNG_DEV_PWM is required to use s5p-time.c for HRT.

Reported-by: Marek Szyprowski<m.szyprowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: EXYNOS4: Fix compilation break
Marek Szyprowski [Mon, 13 Jun 2011 06:47:17 +0000 (15:47 +0900)]
ARM: EXYNOS4: Fix compilation break

The patch "ARM: SAMSUNG: Add support for pre-sleep/post-restore gpio
control" broke compilation on Exynos4 platform with power management
enabled. This patch adds missing stubs that fixes this issue.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: Add support for pre-sleep/post-restore gpio control
Ben Dooks [Wed, 1 Jun 2011 09:44:50 +0000 (10:44 +0100)]
ARM: SAMSUNG: Add support for pre-sleep/post-restore gpio control

Add a callback so that per-arch can do pre-sleep and post-resume
gpio configuration so that for the S3C64XX, the GPIO configuration
is restored before the sleep mode is cleared.

For the S3C64XX case, it means that the GPIOs get set back to normal
operation after the restore code puts the original configurations
back in after the

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S3C64XX: Ensure VIC based IRQs can be resumed from
Ben Dooks [Wed, 1 Jun 2011 09:44:51 +0000 (10:44 +0100)]
ARM: S3C64XX: Ensure VIC based IRQs can be resumed from

Any interrupts based off either of the onboard VICs cannot be resumed
from any more as it seems set_irq_wake() is now checking the error code
returned from the low level handlers and not setting the wake-state on
the interrupt if this fails.

Ensure that we make the interrupts we can resume from available on the
VIC and then do a pre-sleep mask of all the VIC interrupts as the wakeup
is handled by a seperate block.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5PV210: Add clkdev support
Thomas Abraham [Tue, 14 Jun 2011 10:12:27 +0000 (19:12 +0900)]
ARM: S5PV210: Add clkdev support

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5PC100: Add clkdev support
Thomas Abraham [Tue, 14 Jun 2011 10:12:27 +0000 (19:12 +0900)]
ARM: S5PC100: Add clkdev support

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S5P64X0: Add clkdev support
Thomas Abraham [Tue, 14 Jun 2011 10:12:27 +0000 (19:12 +0900)]
ARM: S5P64X0: Add clkdev support

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S3C64XX: Add clkdev support
Thomas Abraham [Tue, 14 Jun 2011 10:12:26 +0000 (19:12 +0900)]
ARM: S3C64XX: Add clkdev support

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: S3C24XX: Add clkdev support
Thomas Abraham [Tue, 14 Jun 2011 10:12:26 +0000 (19:12 +0900)]
ARM: S3C24XX: Add clkdev support

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoARM: SAMSUNG: Add clkdev infrastructure
Thomas Abraham [Tue, 14 Jun 2011 10:12:26 +0000 (19:12 +0900)]
ARM: SAMSUNG: Add clkdev infrastructure

The struct clk definition for Samsung platforms is extended to include
a instance of struct clk_lookup and a device name. When clocks are
registered using s3c24xx_register_clock function, the dev_id, con_id
and clk members are initialized with information from the struct clk
instance and struct clk_lookup member is registered.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoserial: Remove redundant console_initcall from s3c and s5p console drivers
Thomas Abraham [Tue, 14 Jun 2011 10:12:26 +0000 (19:12 +0900)]
serial: Remove redundant console_initcall from s3c and s5p console drivers

Uart port is registered as a console during the driver's probe.
So explict registration of console with console_initcall is
removed.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
[kgene.kim@samsung.com: removed changes of s3c2400 and s3c24a0]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
13 years agoMerge branches 'cns3xxx/devel', 'davinci/devel', 'imx/devel', 'lpc32xx/devel', 'pxa...
Arnd Bergmann [Sun, 17 Jul 2011 19:31:38 +0000 (21:31 +0200)]
Merge branches 'cns3xxx/devel', 'davinci/devel', 'imx/devel', 'lpc32xx/devel', 'pxa/devel', 'tegra/devel' and 'stericsson/master' of git+ssh:///linux/kernel/git/arm/linux-arm-soc into next/devel

13 years agoARM: tegra: remove copy-and-pasted usb platform data from boards
Colin Cross [Sun, 10 Jul 2011 21:59:45 +0000 (14:59 -0700)]
ARM: tegra: remove copy-and-pasted usb platform data from boards

trimslice and paz00 both have functionally identical platform
data for the tegra-ehci driver.  Move the platform data into
devices.c, and remove it from all the board files.

Signed-off-by: Colin Cross <ccross@android.com>
Tested-by: Konstantin Sinyuk <kostyas@compulab.co.il>
Acked-by: Olof Johansson <olof@lixom.net>
13 years agoARM: tegra: remove copy-and-pasted i2c platform data in boards
Colin Cross [Sun, 10 Jul 2011 21:37:22 +0000 (14:37 -0700)]
ARM: tegra: remove copy-and-pasted i2c platform data in boards

Every board file includes the same platform data definition
for the i2c-tegra driver's bus speed.  Move the platform data
into devices.c, and remove it from all the board files.

Signed-off-by: Colin Cross <ccross@android.com>
Tested-by: Konstantin Sinyuk <kostyas@compulab.co.il>
Acked-by: Olof Johansson <olof@lixom.net>
13 years agoARM: tegra: trimslice: enable USB ports
Mike Rapoport [Sun, 17 Apr 2011 08:59:32 +0000 (11:59 +0300)]
ARM: tegra: trimslice: enable USB ports

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: trimslice: add audio devices and clocks
Mike Rapoport [Sun, 17 Apr 2011 08:10:35 +0000 (11:10 +0300)]
ARM: tegra: trimslice: add audio devices and clocks

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: trimslice: register i2c busses and devices
Mike Rapoport [Wed, 13 Apr 2011 10:52:25 +0000 (13:52 +0300)]
ARM: tegra: trimslice: register i2c busses and devices

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoarm,tegra: replace cpu_set() with modern api
KOSAKI Motohiro [Thu, 23 Jun 2011 08:28:28 +0000 (17:28 +0900)]
arm,tegra: replace cpu_set() with modern api

cpu_set() is marked as obsolete cpumask function and we plan to
remove it in future.

This patch replace it with modern cpumask function.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Colin Cross <ccross@android.com>
Cc: Erik Gilling <konkers@android.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-tegra@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoarm: tegra: remove generic disp clock divisor flag
Robert Morell [Wed, 8 Jun 2011 01:53:23 +0000 (18:53 -0700)]
arm: tegra: remove generic disp clock divisor flag

Although disp1 and disp2 have 7.1 divisors, their corresponding
registers in the clk_rst block are not the interface to program the
divisors.  Setting the generic DIV_U71 flag may cause the code to
attempt to program the clock at a different divisor, which will confuse
any code attempting to use that clock since it isn't actually being
divided.

Signed-off-by: Robert Morell <rmorell@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: paz00: change the machine name
Marc Dietrich [Thu, 19 May 2011 12:08:29 +0000 (14:08 +0200)]
ARM: tegra: paz00: change the machine name

This renames "paz00" in MACHINE_START macro to a neater string.
PAZ00 seems to have been the Compal internal project name, while
PROCYON looks like Toshiba project name.
Anyway, the AC100 support package in Ubuntu needs the new naming to
identify the machine.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: paz00: cleanup sdhci ports
Marc Dietrich [Thu, 19 May 2011 12:08:28 +0000 (14:08 +0200)]
ARM: tegra: paz00: cleanup sdhci ports

The internal storage has no gpios connected to. Also the second
port is not connected at all, so remove it from the board file.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: paz00: enable usb ports
Marc Dietrich [Thu, 19 May 2011 12:08:27 +0000 (14:08 +0200)]
ARM: tegra: paz00: enable usb ports

This patch add support for the second and third ehci bus on paz00.
The first bus needs gadget and nvec support and will be added once
the needed patches are upstream.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: paz00: register i2c busses
Marc Dietrich [Thu, 19 May 2011 12:08:26 +0000 (14:08 +0200)]
ARM: tegra: paz00: register i2c busses

This adds support for the i2c busses on paz00. The 3rd bus is
reserved for the nvec, which acts as master and i2c-tegra has
not yet support for this kind of operation.
The sound codec (alc5632) is connected to the first bus and will
be added once the codec and glue driver is upstream.
The thermal sensor (atd7461) is connected to dvc as usual, but will
not be added now because i2c-tegra still misses probe support
(needs I2C_FUNC_SMBUS_EMUL).

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: paz00: whitespace cleanup
Marc Dietrich [Thu, 19 May 2011 12:08:25 +0000 (14:08 +0200)]
ARM: tegra: paz00: whitespace cleanup

This patch replaces long sequences of spaces by tabs and tabs by
spaces were appropriate.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: remove mach/barriers.h
Colin Cross [Sun, 10 Jul 2011 20:54:02 +0000 (13:54 -0700)]
ARM: tegra: remove mach/barriers.h

The barriers implemented in arch/arm/mach-tegra/mach/barriers.h
are exactly the same as the default barriers implemented in
arch/arm/include/asm/system.h.  Remove barriers.h from Tegra,
and don't select ARCH_HAS_BARRIERS.

Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Olof Johansson <olof@lixom.net>
13 years agoARM: Tegra: Seaboard: Re-order sdhci device registration
Stephen Warren [Tue, 31 May 2011 21:14:08 +0000 (15:14 -0600)]
ARM: Tegra: Seaboard: Re-order sdhci device registration

Ensure the built-in eMMC is always named mmcblk0.

This is important because:

* U-Boot statically assigns MMC device IDs based on controller ID.
* U-Boot assumes that kernel MMC device ID numbering matches U-Boot numbering.
* U-Boot provides a kernel cmdline option e.g. root=/dev/mmcblk0p3 based on
  that numbering.
* The kernel dynamically assigns MMC device IDs based on enumeration order of
  the memory behind the host controller, rather than statically based on host
  controller ID like U-Boot.
* By registering the SDHCI controller for the built-in eMMC first, the
  enumeration of the built-in eMMC is performed first, and hence eMMC gets
  assigned ID 0 just like U-Boot. If the SD slot is filled, it then gets
  assigned ID 1 just like U-Boot.
* If the MMC IDs mismatch, and the system boots from SD card not eMMC, the
  kernel will access the eMMC instead of SD card when attempting to mount
  /dev/mmcblk1p3 as the root fs. If eMMC is not partitioned/formatted, the
  kernel will panic since the root fs can't be mounted. If eMMC is partitioned
  and formatted, the kernel will mount an unexpected filesystem as the root fs.

This change relies on the SDHCI driver performing initial card detection
synchronously during device registration. This is currently the case.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: mmp/dkb: enable max7312 gpio expander
Haojian Zhuang [Fri, 1 Apr 2011 02:39:28 +0000 (10:39 +0800)]
ARM: mmp/dkb: enable max7312 gpio expander

Support max7312 gpio expander in TTC DKB.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa168: Add board support for gplugD
Tanmay Upadhyay [Mon, 2 May 2011 06:00:00 +0000 (11:30 +0530)]
ARM: pxa168: Add board support for gplugD

Tested UART console, Ethernet & I2C interfaces

Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa168: Add support for Ethernet
Tanmay Upadhyay [Mon, 2 May 2011 05:59:59 +0000 (11:29 +0530)]
ARM: pxa168: Add support for Ethernet

Add wrapper that creates resources for PXA168 Ethernet driver

Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa168: Add support for UART3
Tanmay Upadhyay [Mon, 2 May 2011 05:59:58 +0000 (11:29 +0530)]
ARM: pxa168: Add support for UART3

PXA168 has 3 onchip UARTs. Added support for the third one

Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa/z2: add poweroff function
Vasily Khoruzhick [Tue, 15 Mar 2011 20:11:17 +0000 (22:11 +0200)]
ARM: pxa/z2: add poweroff function

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa: enable MULTI_IRQ_HANDLER for all boards
Eric Miao [Wed, 18 May 2011 13:30:04 +0000 (21:30 +0800)]
ARM: pxa: enable MULTI_IRQ_HANDLER for all boards

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa: move declarations from generic.h to <soc>.h
Eric Miao [Wed, 18 May 2011 13:19:04 +0000 (21:19 +0800)]
ARM: pxa: move declarations from generic.h to <soc>.h

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa: introduce {icip,ichp}_handle_irq() to prepare MULTI_IRQ_HANDLER
Eric Miao [Wed, 27 Apr 2011 14:48:05 +0000 (22:48 +0800)]
ARM: pxa: introduce {icip,ichp}_handle_irq() to prepare MULTI_IRQ_HANDLER

Thanks Dmitry for providing a fix to the original code.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
13 years agoARM: pxa: avoid accessing interrupt registers directly
Eric Miao [Wed, 27 Apr 2011 14:48:04 +0000 (22:48 +0800)]
ARM: pxa: avoid accessing interrupt registers directly

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa: add common header file for pxa3xx
Eric Miao [Wed, 18 May 2011 07:35:54 +0000 (15:35 +0800)]
ARM: pxa: add common header file for pxa3xx

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa: add clk_set_rate()
Haojian Zhuang [Fri, 8 Apr 2011 12:15:38 +0000 (20:15 +0800)]
ARM: pxa: add clk_set_rate()

Since there're mulitple clock rates in some device controllers, enable
clk_set_rate() for this usage.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: pxa: enable AUTO_ZRELADDR
Eric Miao [Mon, 4 Apr 2011 07:06:33 +0000 (15:06 +0800)]
ARM: pxa: enable AUTO_ZRELADDR

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoARM: introduce handle_IRQ() not to dump exception stack
Russell King - ARM Linux [Mon, 11 Jul 2011 21:25:43 +0000 (22:25 +0100)]
ARM: introduce handle_IRQ() not to dump exception stack

On Mon, Jul 11, 2011 at 3:52 PM, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:

...

> The __exception annotation on a function causes this to happen:
>
> [<c002406c>] (asm_do_IRQ+0x6c/0x8c) from [<c0024b84>]
> (__irq_svc+0x44/0xcc)
> Exception stack(0xc3897c78 to 0xc3897cc0)
> 7c60:                                                       4022d320 4022e000
> 7c80: 08000075 00001000 c32273c0 c03ce1c0 c2b49b78 4022d000 c2b420b4 00000001
> 7ca0: 00000000 c3897cfc 00000000 c3897cc0 c00afc54 c002edd8 00000013 ffffffff
>
> Where that stack dump represents the pt_regs for the exception which
> happened.  Any function found in while unwinding will cause this to
> be printed.
>
> If you insert a C function between the IRQ assembly and asm_do_IRQ,
> the
> dump you get from asm_do_IRQ will be the stack for your function,
> not
> the pt_regs.  That makes the feature useless.
>

When __irq_svc - or any of the other exception handling assembly code -
calls the C code, the stack pointer will be pointing at the pt_regs
structure.

All the entry points into C code from the exception handling code are
marked with __exception or __exception_irq_enter to indicate that they
are one of the functions which has pt_regs above them.

Normally, when you've entered asm_do_IRQ() you will have this stack
layout (higher address towards top):

       pt_regs
       asm_do_IRQ frame

If you insert a C function between the exception assembly code and
asm_do_IRQ, you end up with this stack layout instead:

       pt_regs
       your function frame
       asm_do_IRQ frame

This means when we unwind, we'll get to asm_do_IRQ, and rather than
dumping out the pt_regs, we'll dump out your functions stack frame
instead, because that's what is above the asm_do_IRQ stack frame
rather than the expected pt_regs structure.

The fix is to introduce handle_IRQ() for no exception stack dump, so
it can be called with MULTI_IRQ_HANDLER is selected and a C function
is between the assembly code and the actual IRQ handling code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
13 years agoarm: lpc32xx: add rtc-device
Wolfram Sang [Mon, 28 Mar 2011 14:51:35 +0000 (16:51 +0200)]
arm: lpc32xx: add rtc-device

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Kevin Wells <Kevin.wells@nxp.com>
13 years agoarm: lpc32xx: add tsc-device
Wolfram Sang [Mon, 21 Mar 2011 15:14:43 +0000 (16:14 +0100)]
arm: lpc32xx: add tsc-device

Fix the clock name, too.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Kevin Wells <Kevin.wells@nxp.com>
13 years agoLinux 3.0-rc7
Linus Torvalds [Mon, 11 Jul 2011 23:51:52 +0000 (16:51 -0700)]
Linux 3.0-rc7

13 years agoDocumentation/Changes: remove some really obsolete text
Linus Torvalds [Mon, 11 Jul 2011 23:48:38 +0000 (16:48 -0700)]
Documentation/Changes: remove some really obsolete text

That file harkens back to the days of the big 2.4 -> 2.6 version jump,
and was based even then on older versions.  Some of it is just obsolete,
and Jesper Juhl points out that it talks about kernel versions 2.6 and
should be updated to 3.0.

Remove some obsolete text, and re-phrase some other to not be 2.6-specific.

Reported-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agoMerge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
Linus Torvalds [Mon, 11 Jul 2011 23:43:27 +0000 (16:43 -0700)]
Merge branch 'v4l_for_linus' of git://git./linux/kernel/git/mchehab/linux-2.6

* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
  [media] msp3400: fill in v4l2_tuner based on vt->type field
  [media] tuner-core.c: don't change type field in g_tuner or g_frequency
  [media] cx18/ivtv: fix g_tuner support
  [media] tuner-core: power up tuner when called with s_power(1)
  [media] v4l2-ioctl.c: check for valid tuner type in S_HW_FREQ_SEEK
  [media] tuner-core: simplify the standard fixup
  [media] tuner-core/v4l2-subdev: document that the type field has to be filled in
  [media] v4l2-subdev.h: remove unused s_mode tuner op
  [media] feature-removal-schedule: change in how radio device nodes are handled
  [media] bttv: fix s_tuner for radio
  [media] pvrusb2: fix g/s_tuner support
  [media] v4l2-ioctl.c: prefill tuner type for g_frequency and g/s_tuner
  [media] tuner-core: fix tuner_resume: use t->mode instead of t->type
  [media] tuner-core: fix s_std and s_tuner

13 years agoMerge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspe...
Linus Torvalds [Mon, 11 Jul 2011 19:49:03 +0000 (12:49 -0700)]
Merge branch 'pm-fixes' of git://git./linux/kernel/git/rafael/suspend-2.6

* 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
  PM: Reintroduce dropped call to check_wakeup_irqs

13 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
Linus Torvalds [Mon, 11 Jul 2011 19:48:24 +0000 (12:48 -0700)]
Merge git://git./linux/kernel/git/sfrench/cifs-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
  cifs: drop spinlock before calling cifs_put_tlink
  cifs: fix expand_dfs_referral
  cifs: move bdi_setup_and_register outside of CONFIG_CIFS_DFS_UPCALL
  cifs: factor smb_vol allocation out of cifs_setup_volume_info
  cifs: have cifs_cleanup_volume_info not take a double pointer
  cifs: fix build_unc_path_to_root to account for a prefixpath
  cifs: remove bogus call to cifs_cleanup_volume_info

13 years agoMerge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq
Linus Torvalds [Mon, 11 Jul 2011 19:47:53 +0000 (12:47 -0700)]
Merge branch 'fixes' of git://git./linux/kernel/git/davej/cpufreq

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
  [CPUFREQ] fix cpumask memory leak in acpi-cpufreq on cpu hotplug.

13 years agoMerge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platf...
Linus Torvalds [Mon, 11 Jul 2011 19:47:09 +0000 (12:47 -0700)]
Merge branch 'for_linus' of git://git./linux/kernel/git/mjg59/platform-drivers-x86

* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86:
  hp-wmi: fix use after free
  dell-laptop - using buffer without mutex_lock
  Revert: "dell-laptop: Toggle the unsupported hardware killswitch"
  platform-drivers-x86: set backlight type to BACKLIGHT_PLATFORM
  thinkpad-acpi: handle HKEY 0x4010, 0x4011 events
  drivers/platform/x86: Fix memory leak
  thinkpad-acpi: handle some new HKEY 0x60xx events
  acer-wmi: fix bitwise bug when set device state
  acer-wmi: Only update rfkill status for associated hotkey events

13 years agoMerge branch 'movieboard' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
Linus Torvalds [Mon, 11 Jul 2011 19:46:39 +0000 (12:46 -0700)]
Merge branch 'movieboard' of git://git./linux/kernel/git/ieee1394/linux1394-2.6

* 'movieboard' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
  firewire: ohci: do not bind to Pinnacle cards, avert panic

13 years agoath5k: Add missing breaks in switch/case
Joe Perches [Sun, 10 Jul 2011 09:28:26 +0000 (02:28 -0700)]
ath5k: Add missing breaks in switch/case

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agoDocumentation/spinlocks.txt: Remove reference to sti()/cli()
Muthu Kumar [Mon, 11 Jul 2011 18:04:58 +0000 (11:04 -0700)]
Documentation/spinlocks.txt: Remove reference to sti()/cli()

Since we removed sti()/cli() and related, how about removing it from
Documentation/spinlocks.txt?

Signed-off-by: Muthukumar R <muthur@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agocifs: drop spinlock before calling cifs_put_tlink
Jeff Layton [Mon, 11 Jul 2011 14:16:34 +0000 (10:16 -0400)]
cifs: drop spinlock before calling cifs_put_tlink

...as that function can sleep.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>