]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
12 years agoMerge branch 'next/dt' into for-next
Olof Johansson [Thu, 13 Sep 2012 06:04:41 +0000 (23:04 -0700)]
Merge branch 'next/dt' into for-next

* next/dt:
  clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup
  clk: mxs: replace imx28 clk_register_clkdev with clock DT lookup
  clk: add of_clk_src_onecell_get() support
  clk: ux500: Define smp_twd clock for u8500
  mfd: dbx500: Provide a more accurate smp_twd clock
  clk: ux500: Support for prmcu_rate clock
  clk: Provide option for clk_get_rate to issue hw for new rate
  clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.
  ARM: ux500: Switch to use common clock framework
  clk: ux500: Clock definitions for u8500
  clk: ux500: First version of clock definitions for ux500
  clk: ux500: Adapt PRCMU and PRCC clocks for common clk
  clk: versatile: make config option boolean
  clk: add Loongson1B clock support
  arm: mmp: make all SOCs use common clock by default
  clk: mmp: add clock definition for mmp2
  clk: mmp: add clock definition for pxa910
  clk: mmp: add clock definition for pxa168
  clk: mmp: add mmp specific clocks
  clk: convert ARM RealView to common clk

Resolving trivial modify/remove conflict in arch/arm/mach-ux500/clock.c

12 years agoMerge tag 'mxs-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6 into...
Olof Johansson [Thu, 13 Sep 2012 06:04:12 +0000 (23:04 -0700)]
Merge tag 'mxs-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

It replaces clk_register_clkdev in mxs clock driver with DT lookup.

* tag 'mxs-clk-dt-lookup' of git://git.linaro.org/people/shawnguo/linux-2.6:
  clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup
  clk: mxs: replace imx28 clk_register_clkdev with clock DT lookup

12 years agoMerge branch 'clk-3.7' of git://git.linaro.org/people/mturquette/linux into next/dt
Olof Johansson [Thu, 13 Sep 2012 06:03:37 +0000 (23:03 -0700)]
Merge branch 'clk-3.7' of git://git.linaro.org/people/mturquette/linux into next/dt

* 'clk-3.7' of git://git.linaro.org/people/mturquette/linux:
  clk: add of_clk_src_onecell_get() support
  clk: ux500: Define smp_twd clock for u8500
  mfd: dbx500: Provide a more accurate smp_twd clock
  clk: ux500: Support for prmcu_rate clock
  clk: Provide option for clk_get_rate to issue hw for new rate
  clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.
  ARM: ux500: Switch to use common clock framework
  clk: ux500: Clock definitions for u8500
  clk: ux500: First version of clock definitions for ux500
  clk: ux500: Adapt PRCMU and PRCC clocks for common clk
  clk: versatile: make config option boolean
  clk: add Loongson1B clock support
  arm: mmp: make all SOCs use common clock by default
  clk: mmp: add clock definition for mmp2
  clk: mmp: add clock definition for pxa910
  clk: mmp: add clock definition for pxa168
  clk: mmp: add mmp specific clocks
  clk: convert ARM RealView to common clk
  clk: prima2: move from arch/arm/mach to drivers/clk
  ARM: PRIMA2: convert to common clk and finish full clk tree

12 years agoMerge branch 'next/soc2' into for-next
Olof Johansson [Thu, 13 Sep 2012 05:54:40 +0000 (22:54 -0700)]
Merge branch 'next/soc2' into for-next

* next/soc2:
  ARM: mxs: remove mach/irqs.h
  ARM: mxs: select SPARSE_IRQ
  ARM: mxs: adopt irq_domain support for icoll driver
  ARM: mxs: select MULTI_IRQ_HANDLER
  ARM: mxs: retrieve timer irq from device tree
  gpio/mxs: adopt irq_domain support for mxs gpio driver

12 years agoMerge tag 'mxs-sparse-irq' of git://git.linaro.org/people/shawnguo/linux-2.6 into...
Olof Johansson [Thu, 13 Sep 2012 05:54:16 +0000 (22:54 -0700)]
Merge tag 'mxs-sparse-irq' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/soc2

The series adds irqdomain support for mach-mxs and then enables
sparse-irq.  It dependes on pull request mxs-dt-3.7.

* tag 'mxs-sparse-irq' of git://git.linaro.org/people/shawnguo/linux-2.6:
  ARM: mxs: remove mach/irqs.h
  ARM: mxs: select SPARSE_IRQ
  ARM: mxs: adopt irq_domain support for icoll driver
  ARM: mxs: select MULTI_IRQ_HANDLER
  ARM: mxs: retrieve timer irq from device tree
  gpio/mxs: adopt irq_domain support for mxs gpio driver

12 years agoMerge branch 'next/dt' into for-next
Olof Johansson [Thu, 13 Sep 2012 05:49:17 +0000 (22:49 -0700)]
Merge branch 'next/dt' into for-next

* next/dt: (28 commits)
  ARM: dts: cfa10049: Add the 74HC595 gpio expanders
  ARM: dts: m28evk: Fix MMC WP pin being inverted
  ARM: dts: cfa10049: Add SSP3 to the 10049 board
  ARM: dts: mxs: Add missing address and size cells in SSP nodes
  ARM: mx28evk: Add I2C EEPROM support
  ARM: dts: mxs: Enable USB1 Host on the CFA-10049 expansion board
  ARM: dts: mxs: Add the second I2C adapter to the CFA10049 expansion board
  ARM: dts: mxs: Add I2C1 muxing options for imx28
  ARM: mx28evk: Add LRADC support
  ARM: mx28evk: Add SPI flash support
  ARM: mxs: Update DENX M28 machine and dts file
  ARM: mx28: Add USB PHY overcurrent pinmux
  ARM: mx28: Add SPI 2 pinmux into imx28.dtsi
  ARM: dts: mxs: Add pwm4 muxing options for imx28
  ARM: dts: mxs: Add alternative I2C muxing options for imx28
  ARM: olinuxino: Add gpio-led support
  ARM: mxs: Let mmc0 pin detect be generic
  ARM: mxs: Rename 'hog-gpios'
  ARM: mxs: remove iomux driver
  ARM: mxs: remove platform device codes
  ...

12 years agoMerge tag 'mxs-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Olof Johansson [Thu, 13 Sep 2012 05:47:07 +0000 (22:47 -0700)]
Merge tag 'mxs-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

- Remove all board files and make mach-mxs a DT-only platform
- Some dts file formatting and style fixing
- DTS update for additional boards and devices

* tag 'mxs-dt-3.7' of git://git.linaro.org/people/shawnguo/linux-2.6: (28 commits)
  ARM: dts: cfa10049: Add the 74HC595 gpio expanders
  ARM: dts: m28evk: Fix MMC WP pin being inverted
  ARM: dts: cfa10049: Add SSP3 to the 10049 board
  ARM: dts: mxs: Add missing address and size cells in SSP nodes
  ARM: mx28evk: Add I2C EEPROM support
  ARM: dts: mxs: Enable USB1 Host on the CFA-10049 expansion board
  ARM: dts: mxs: Add the second I2C adapter to the CFA10049 expansion board
  ARM: dts: mxs: Add I2C1 muxing options for imx28
  ARM: mx28evk: Add LRADC support
  ARM: mx28evk: Add SPI flash support
  ARM: mxs: Update DENX M28 machine and dts file
  ARM: mx28: Add USB PHY overcurrent pinmux
  ARM: mx28: Add SPI 2 pinmux into imx28.dtsi
  ARM: dts: mxs: Add pwm4 muxing options for imx28
  ARM: dts: mxs: Add alternative I2C muxing options for imx28
  ARM: olinuxino: Add gpio-led support
  ARM: mxs: Let mmc0 pin detect be generic
  ARM: mxs: Rename 'hog-gpios'
  ARM: mxs: remove iomux driver
  ARM: mxs: remove platform device codes
  ...

12 years agoMerge branch 'next/boards' into for-next
Olof Johansson [Thu, 13 Sep 2012 05:37:14 +0000 (22:37 -0700)]
Merge branch 'next/boards' into for-next

* next/boards:
  ARM: mmp: enable debug uart port in defconfig
  ARM: mmp: implement DEBUG_LL port choice

12 years agoMerge branch 'board' of git://github.com/hzhuang1/linux into next/boards
Olof Johansson [Thu, 13 Sep 2012 05:37:04 +0000 (22:37 -0700)]
Merge branch 'board' of git://github.com/hzhuang1/linux into next/boards

* 'board' of git://github.com/hzhuang1/linux:
  ARM: mmp: enable debug uart port in defconfig
  ARM: mmp: implement DEBUG_LL port choice

12 years agoMerge branch 'next/cleanup' into for-next
Olof Johansson [Thu, 13 Sep 2012 05:35:09 +0000 (22:35 -0700)]
Merge branch 'next/cleanup' into for-next

* next/cleanup:
  ARM: mmp: remove unused definition in APBC and APMU
  ARM: mmp: move mmp2 clock definition to separated file
  arm: mmp: move pxa910 clock definition to separated file
  arm: mmp: move pxa168 clock definition to separated file
  arm: mmp: make private clock definition exclude from common clock

12 years agoMerge branch 'clk' of git://github.com/hzhuang1/linux into next/cleanup
Olof Johansson [Thu, 13 Sep 2012 05:34:11 +0000 (22:34 -0700)]
Merge branch 'clk' of git://github.com/hzhuang1/linux into next/cleanup

* 'clk' of git://github.com/hzhuang1/linux:
  ARM: mmp: remove unused definition in APBC and APMU
  ARM: mmp: move mmp2 clock definition to separated file
  arm: mmp: move pxa910 clock definition to separated file
  arm: mmp: move pxa168 clock definition to separated file
  arm: mmp: make private clock definition exclude from common clock
  + Linux 3.6-rc4

12 years agoMerge branch 'next/boards' into for-next
Olof Johansson [Wed, 12 Sep 2012 06:23:12 +0000 (23:23 -0700)]
Merge branch 'next/boards' into for-next

* next/boards:
  ARM: shmobile: marzen: enable thermal sensor
  ARM: shmobile: marzen: fixup regulator id for smsc911x
  ARM: shmobile: marzen: add SDHI0 support

12 years agoMerge branch 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas...
Olof Johansson [Wed, 12 Sep 2012 06:22:25 +0000 (23:22 -0700)]
Merge branch 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/boards

* 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: marzen: enable thermal sensor
  ARM: shmobile: marzen: fixup regulator id for smsc911x
  ARM: shmobile: marzen: add SDHI0 support
  + sync to 3.6-rc4

12 years agoMerge branch 'next/cleanup' into for-next
Olof Johansson [Wed, 12 Sep 2012 06:06:39 +0000 (23:06 -0700)]
Merge branch 'next/cleanup' into for-next

* next/cleanup:
  watchdog: ks8695: sink registers into driver

12 years agoMerge branch 'next/soc' into for-next
Olof Johansson [Wed, 12 Sep 2012 06:05:07 +0000 (23:05 -0700)]
Merge branch 'next/soc' into for-next

* next/soc:
  ARM: shmobile: emev2: enable PMU(Performance Monitoring Unit)
  ARM: shmobile: sh73a0: enable PMU(Performance Monitoring Unit)
  r8a7779: add SDHI clock support

12 years agoMerge branch 'renesas/pmu' into next/soc
Olof Johansson [Wed, 12 Sep 2012 06:04:30 +0000 (23:04 -0700)]
Merge branch 'renesas/pmu' into next/soc

* renesas/pmu:
  ARM: shmobile: emev2: enable PMU(Performance Monitoring Unit)
  ARM: shmobile: sh73a0: enable PMU(Performance Monitoring Unit)

12 years agoMerge branch 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas...
Olof Johansson [Wed, 12 Sep 2012 05:56:33 +0000 (22:56 -0700)]
Merge branch 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc

* 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  r8a7779: add SDHI clock support

12 years agoMerge branch 'ks8695/timer' into next/cleanup
Olof Johansson [Wed, 12 Sep 2012 05:40:57 +0000 (22:40 -0700)]
Merge branch 'ks8695/timer' into next/cleanup

* ks8695/timer:
  watchdog: ks8695: sink registers into driver

12 years agowatchdog: ks8695: sink registers into driver
Linus Walleij [Tue, 11 Sep 2012 05:48:15 +0000 (07:48 +0200)]
watchdog: ks8695: sink registers into driver

Commit 70adc3f32adc2fb90b0107c020678588e4cf9f51
"ARM: ks8695: merge the timer header into the timer driver"
accidentally broke the ks8695 watchdog since it was using
the timer registers in watchdog mode.

Perform the same operation here: push the registers down
into the driver, so it is self-contained, and we can keep
depopulating the <mach/*> namespace.

Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Olof Johansson <olof@lixom.net>
12 years agoARM: shmobile: emev2: enable PMU(Performance Monitoring Unit)
Tetsuyuki Kobayashi [Thu, 6 Sep 2012 11:14:07 +0000 (20:14 +0900)]
ARM: shmobile: emev2: enable PMU(Performance Monitoring Unit)

This patch enables PMU(Performance Monitoring Unit) for emev2.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoARM: shmobile: sh73a0: enable PMU(Performance Monitoring Unit)
Tetsuyuki Kobayashi [Thu, 6 Sep 2012 11:14:06 +0000 (20:14 +0900)]
ARM: shmobile: sh73a0: enable PMU(Performance Monitoring Unit)

This patch enables PMU(Performance Monitoring Unit) for sh73a0.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoclk: mxs: replace imx23 clk_register_clkdev with clock DT lookup
Shawn Guo [Wed, 22 Aug 2012 13:36:30 +0000 (21:36 +0800)]
clk: mxs: replace imx23 clk_register_clkdev with clock DT lookup

It really becomes a maintenance issue that every time a device needs
to look up (clk_get) a clock we have to patch kernel clock file to call
clk_register_clkdev for that clock.

Since clock DT support which is meant to resolve clock lookup in device
tree is in place, the patch moves imx23 client devices' clock lookup
over to device tree, so that any new lookup to be added at later time
can just get done in DT instead of kernel.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoclk: mxs: replace imx28 clk_register_clkdev with clock DT lookup
Shawn Guo [Wed, 22 Aug 2012 13:36:29 +0000 (21:36 +0800)]
clk: mxs: replace imx28 clk_register_clkdev with clock DT lookup

It really becomes a maintenance issue that every time a device needs
to look up (clk_get) a clock we have to patch kernel clock file to call
clk_register_clkdev for that clock.

Since clock DT support which is meant to resolve clock lookup in device
tree is in place, the patch moves imx28 client devices' clock lookup
over to device tree, so that any new lookup to be added at later time
can just get done in DT instead of kernel.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoMerge tag 'mxs-dt-3.7' into mxs/clk-dt-lookup
Shawn Guo [Tue, 11 Sep 2012 06:15:00 +0000 (14:15 +0800)]
Merge tag 'mxs-dt-3.7' into mxs/clk-dt-lookup

mxs-dt-3.7

- Remove all board files and make mach-mxs a DT-only platform
- Some dts file formatting and style fixing
- DTS update for additional boards and devices

12 years agoARM: dts: cfa10049: Add the 74HC595 gpio expanders
Maxime Ripard [Mon, 10 Sep 2012 20:35:41 +0000 (22:35 +0200)]
ARM: dts: cfa10049: Add the 74HC595 gpio expanders

Add the two daisy-chains of 74hc595s shift registers available on the
CFA-10049.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
12 years agoARM: mmp: remove unused definition in APBC and APMU
Chao Xie [Mon, 27 Aug 2012 02:54:03 +0000 (10:54 +0800)]
ARM: mmp: remove unused definition in APBC and APMU

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
12 years agoARM: mmp: move mmp2 clock definition to separated file
Chao Xie [Mon, 27 Aug 2012 02:54:02 +0000 (10:54 +0800)]
ARM: mmp: move mmp2 clock definition to separated file

move mmp2 clock definition to another file. Then mmp2 can
choose common clock framework or private clock framework.

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
12 years agoarm: mmp: move pxa910 clock definition to separated file
Chao Xie [Mon, 27 Aug 2012 02:54:01 +0000 (10:54 +0800)]
arm: mmp: move pxa910 clock definition to separated file

move pxa910 clock definition to another file. Then pxa910 can
choose common clock framework or private clock framework.

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
12 years agoarm: mmp: move pxa168 clock definition to separated file
Chao Xie [Mon, 27 Aug 2012 02:54:00 +0000 (10:54 +0800)]
arm: mmp: move pxa168 clock definition to separated file

move pxa168 clock definition to another file. Then pxa168 can
choose common clock framework or private clock framework.

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
12 years agoarm: mmp: make private clock definition exclude from common clock
Chao Xie [Mon, 27 Aug 2012 02:53:59 +0000 (10:53 +0800)]
arm: mmp: make private clock definition exclude from common clock

the clock.c is mmp private implementation, make it excluded
from common clock framework

Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
12 years agoMerge branch 'next/boards' into for-next
Olof Johansson [Sat, 8 Sep 2012 03:17:20 +0000 (20:17 -0700)]
Merge branch 'next/boards' into for-next

* next/boards:
  ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  ARM: ks8695: add board support for the SnapGear boards based on the KS8695

12 years agoMerge branch 'ks8695/boards' into next/boards
Olof Johansson [Sat, 8 Sep 2012 03:17:07 +0000 (20:17 -0700)]
Merge branch 'ks8695/boards' into next/boards

* ks8695/boards:
  ARM: ks8695: add board support for the OpenGear boards based on the KS8695
  ARM: ks8695: add board support for the SnapGear boards based on the KS8695

12 years agoARM: ks8695: add board support for the OpenGear boards based on the KS8695
Greg Ungerer [Fri, 7 Sep 2012 05:35:39 +0000 (15:35 +1000)]
ARM: ks8695: add board support for the OpenGear boards based on the KS8695

A number of boards produced by OpenGear and based on the Micrel KS8695 SoC.
Add board support to the KS8695 kernel code to support them.

The following machine type entries will need to be added back into the
mach-types file with these in mainline:

    cm4008      MACH_CM4008       CM4008       624
    cm41xx      MACH_CM41XX       CM41XX       672
    cm4002      MACH_CM4002       CM4002       876
    im42xx      MACH_IM42XX       IM42XX       1105
    im4004      MACH_IM4004       IM4004       1400

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
12 years agoARM: ks8695: add board support for the SnapGear boards based on the KS8695
Greg Ungerer [Fri, 7 Sep 2012 05:24:09 +0000 (15:24 +1000)]
ARM: ks8695: add board support for the SnapGear boards based on the KS8695

A number of boards produced by SnapGear are based on the Micrel KS8695 SoC.
Add board support to the KS8695 kernel code to support them.

The following machine type entries will need to be added back into the
mach-types file with these in mainline:

    lite300      MACH_LITE300     LITE300      408
    se4200       MACH_SE4200      SE4200       809
    sg310        MACH_SG310       SG310        1564

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
12 years agoclk: add of_clk_src_onecell_get() support
Shawn Guo [Wed, 22 Aug 2012 13:36:27 +0000 (21:36 +0800)]
clk: add of_clk_src_onecell_get() support

For those SoCs that have hundreds of clock outputs, their clock
DT bindings could reasonably define #clock-cells as 1 and require
the client device specify the index of the clock it consumes in the
cell of its "clocks" phandle.

Add a generic of_clk_src_onecell_get() function for this purpose.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoMerge branch 'next/maintainers' into for-next
Olof Johansson [Fri, 7 Sep 2012 22:13:13 +0000 (15:13 -0700)]
Merge branch 'next/maintainers' into for-next

* next/maintainers:
  ARM: ks8695: add maintainers entry

12 years agoMerge branch 'next/defconfig' into for-next
Olof Johansson [Fri, 7 Sep 2012 22:11:48 +0000 (15:11 -0700)]
Merge branch 'next/defconfig' into for-next

* next/defconfig:
  ARM: LPC32xx: Defconfig update
  ARM: mach-shmobile: marzen: defconfig update

12 years agoMerge branch 'next/soc' into for-next
Olof Johansson [Fri, 7 Sep 2012 22:11:23 +0000 (15:11 -0700)]
Merge branch 'next/soc' into for-next

* next/soc:
  ARM: LPC32xx: Remove board specific GPIO init
  ARM: LPC32xx: Provide DMA filter callbacks via platform data
  ARM: LPC32xx: Use handle_edge_irq() callback on edge type irqs

12 years agoMerge branch 'next/dt' into for-next
Olof Johansson [Fri, 7 Sep 2012 22:10:25 +0000 (15:10 -0700)]
Merge branch 'next/dt' into for-next

* next/dt:
  ARM: LPC32xx: Extend dts for EA3250 board
  ARM: LPC32xx: Adjust device tree node to new standard num-cs

12 years agoMerge branch 'fixes' into for-next
Olof Johansson [Fri, 7 Sep 2012 22:10:06 +0000 (15:10 -0700)]
Merge branch 'fixes' into for-next

12 years agoMerge tag 'omap-fixes-for-v3.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Fri, 7 Sep 2012 22:03:21 +0000 (15:03 -0700)]
Merge tag 'omap-fixes-for-v3.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes

Fixes for timer, sram, memory corruption, and one board file that affect
booting on various omaps. Then some PM related fixes for reset, sleep
and wakeup.

* tag 'omap-fixes-for-v3.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP4: Fix array size for irq_target_cpu
  ARM: OMAP4: hwmod data: temporarily comment out data for the sl2if IP block
  ARM: OMAP: hwmod code: Disable module when hwmod enable fails
  ARM: OMAP3: hwmod data: fix iva2 reset info
  ARM: OMAP3xxx: clockdomain: fix software supervised wakeup/sleep
  ARM: OMAP2+: am33xx: Fix the timer fck clock naming convention
  ARM: OMAP: Config fix for omap3-touchbook board
  ARM: OMAP: sram: skip the first 16K on OMAP3 HS
  ARM: OMAP: sram: fix OMAP4 errata handling
  ARM: OMAP: timer: obey the !CONFIG_OMAP_32K_TIMER

12 years agoMerge branch 'lpc32xx/core' of git://git.antcom.de/linux-2.6 into next/soc
Olof Johansson [Fri, 7 Sep 2012 22:02:20 +0000 (15:02 -0700)]
Merge branch 'lpc32xx/core' of git://git.antcom.de/linux-2.6 into next/soc

* 'lpc32xx/core' of git://git.antcom.de/linux-2.6:
  ARM: LPC32xx: Remove board specific GPIO init
  ARM: LPC32xx: Provide DMA filter callbacks via platform data
  ARM: LPC32xx: Use handle_edge_irq() callback on edge type irqs
  + sync to 3.6-rc4

12 years agoMerge branch 'lpc32xx/dts' of git://git.antcom.de/linux-2.6 into next/dt
Olof Johansson [Fri, 7 Sep 2012 21:59:25 +0000 (14:59 -0700)]
Merge branch 'lpc32xx/dts' of git://git.antcom.de/linux-2.6 into next/dt

* 'lpc32xx/dts' of git://git.antcom.de/linux-2.6:
  ARM: LPC32xx: Extend dts for EA3250 board
  ARM: LPC32xx: Adjust device tree node to new standard num-cs

12 years agoMerge branch 'lpc32xx/defconfig' of git://git.antcom.de/linux-2.6 into next/defconfig
Olof Johansson [Fri, 7 Sep 2012 21:58:39 +0000 (14:58 -0700)]
Merge branch 'lpc32xx/defconfig' of git://git.antcom.de/linux-2.6 into next/defconfig

* 'lpc32xx/defconfig' of git://git.antcom.de/linux-2.6:
  ARM: LPC32xx: Defconfig update

12 years agoARM: ks8695: add maintainers entry
Arnd Bergmann [Fri, 7 Sep 2012 12:21:56 +0000 (12:21 +0000)]
ARM: ks8695: add maintainers entry

Greg Ungerer has hardware for this platform and is testing it
regularly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
12 years agoMerge branch 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renes...
Olof Johansson [Fri, 7 Sep 2012 21:50:40 +0000 (14:50 -0700)]
Merge branch 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/defconfig

* 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: mach-shmobile: marzen: defconfig update

12 years agoclk: ux500: Define smp_twd clock for u8500
Ulf Hansson [Fri, 31 Aug 2012 12:21:31 +0000 (14:21 +0200)]
clk: ux500: Define smp_twd clock for u8500

The smp_twd clock is based upon a prcmu_rate clock type
for the PRCMU_ARMSS clock.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agomfd: dbx500: Provide a more accurate smp_twd clock
Michel Jaouen [Fri, 31 Aug 2012 12:21:30 +0000 (14:21 +0200)]
mfd: dbx500: Provide a more accurate smp_twd clock

The local timer clock is based on ARM subsystem clock. This patch
obtains a more exact value of that clock by reading PRCMU registers.
Using this increases the accuracy of the local timer events.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com>
Signed-off-by: Michel Jaouen <michel.jaouen@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoclk: ux500: Support for prmcu_rate clock
Ulf Hansson [Fri, 31 Aug 2012 12:21:29 +0000 (14:21 +0200)]
clk: ux500: Support for prmcu_rate clock

The prmcu_rate clock is not gateable and has a rate which
only can be fetched.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoclk: Provide option for clk_get_rate to issue hw for new rate
Ulf Hansson [Fri, 31 Aug 2012 12:21:28 +0000 (14:21 +0200)]
clk: Provide option for clk_get_rate to issue hw for new rate

By using CLK_GET_RATE_NOCACHE flag, we tell the clk_get_rate API to
issue the hw for an updated clock rate. This can be used for a clock
which rate may be updated without a client necessary modifying it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoclock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.
Jonghwa Lee [Tue, 28 Aug 2012 08:54:28 +0000 (17:54 +0900)]
clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.

This patch supports max77686 mfd's clock driver using common clock frame work.
max77686 has 3 clock ouputs which all are generated from crystal oscillator and
SOC can enable/disable them via I2C bus. All clocks are fixed-rate clock sources
so that it doesn't supply interface for changing clock rate.
Driver uses regmap API to communicate with internal register.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoARM: ux500: Switch to use common clock framework
Ulf Hansson [Mon, 27 Aug 2012 13:45:53 +0000 (15:45 +0200)]
ARM: ux500: Switch to use common clock framework

Remove machine specific clock implementation and switch to use
new common clock framework.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoclk: ux500: Clock definitions for u8500
Ulf Hansson [Mon, 27 Aug 2012 13:45:52 +0000 (15:45 +0200)]
clk: ux500: Clock definitions for u8500

First version of clock definitions of PRCMU and PRCC clocks
for the u8500 platform.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoclk: ux500: First version of clock definitions for ux500
Ulf Hansson [Mon, 27 Aug 2012 13:45:51 +0000 (15:45 +0200)]
clk: ux500: First version of clock definitions for ux500

In this first version of the clock definitions, the structure for
ux500 are set. Support for u8500, u9540 and u8540 are prepared.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoclk: ux500: Adapt PRCMU and PRCC clocks for common clk
Ulf Hansson [Mon, 27 Aug 2012 13:45:50 +0000 (15:45 +0200)]
clk: ux500: Adapt PRCMU and PRCC clocks for common clk

First version of common clock implementation of PRCMU clocks
and PRCC clocks for ux500 platforms.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
12 years agoMerge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
Linus Torvalds [Thu, 6 Sep 2012 17:23:58 +0000 (10:23 -0700)]
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

Pull ARM SoC bug fixes from Olof Johansson:
 "Mostly Renesas and Atmel bugfixes this time, targeting boot and build
  problems.  A couple of patches for gemini and kirkwood as well.  On a
  whole nothing very controversial."

* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: gemini: fix the gemini build
  ARM: shmobile: armadillo800eva: enable rw rootfs mount
  ARM: Kirkwood: Fix 'SZ_1M' undeclared here for db88f6281-bp-setup.c
  ARM: shmobile: mackerel: fixup usb module order
  ARM: shmobile: armadillo800eva: fixup: sound card detection order
  ARM: shmobile: marzen: fixup smsc911x id for regulator
  ARM: at91/feature-removal-schedule: delay at91_mci removal
  ARM: mach-shmobile: armadillo800eva: Enable power button as wakeup source
  ARM: mach-shmobile: armadillo800eva: Fix GPIO buttons descriptions
  ARM: at91/dts: remove partial parameter in at91sam9g25ek.dts
  ARM: at91/clock: fix PLLA overclock warning
  ARM: at91: fix rtc-at91sam9 irq issue due to sparse irq support
  ARM: at91: fix system timer irq issue due to sparse irq support
  ARM: shmobile: sh73a0: fixup RELOC_BASE of intca_irq_pins_desc

12 years agoMerge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck...
Linus Torvalds [Thu, 6 Sep 2012 16:39:47 +0000 (09:39 -0700)]
Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull a hwmon fix from Guenter Roeck:
 "One patch, fixing DIV_ROUND_CLOSEST to support negative dividends.

  While the changes are not in the drivers/hwmon directory, the problem
  primarily affects hwmon drivers, and it makes sense to push the patch
  through the hwmon tree."

* tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

12 years agoMerge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Linus Torvalds [Thu, 6 Sep 2012 16:38:25 +0000 (09:38 -0700)]
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild

Pull kbuild fixes from Michal Marek:
 "These are two fixes that should go into 3.6.  The link-vmlinux.sh one
  is obvious.

  The other one fixes make firmware_install with certain configurations,
  where a file in the toplevel firmware tree gets installed first, and
  $(INSTALL_FW_PATH)/$$(dir <file>) results in /lib/firmware/./, which
  confuses make 3.82 for some reason."

* 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
  firmware: fix directory creation rule matching with make 3.82
  link-vmlinux.sh: Fix stray "echo" in error message

12 years agoRemove user-triggerable BUG from mpol_to_str
Dave Jones [Thu, 6 Sep 2012 16:01:00 +0000 (12:01 -0400)]
Remove user-triggerable BUG from mpol_to_str

Trivially triggerable, found by trinity:

  kernel BUG at mm/mempolicy.c:2546!
  Process trinity-child2 (pid: 23988, threadinfo ffff88010197e000, task ffff88007821a670)
  Call Trace:
    show_numa_map+0xd5/0x450
    show_pid_numa_map+0x13/0x20
    traverse+0xf2/0x230
    seq_read+0x34b/0x3e0
    vfs_read+0xac/0x180
    sys_pread64+0xa2/0xc0
    system_call_fastpath+0x1a/0x1f
  RIP: mpol_to_str+0x156/0x360

Cc: stable@vger.kernel.org
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 years agoARM: LPC32xx: Extend dts for EA3250 board
Roland Stigge [Thu, 6 Sep 2012 09:40:48 +0000 (11:40 +0200)]
ARM: LPC32xx: Extend dts for EA3250 board

This patch adds keys and leds to the EA3250 board's dts device tree file.

Signed-off-by: Roland Stigge <stigge@antcom.de>
12 years agoARM: LPC32xx: Adjust device tree node to new standard num-cs
Roland Stigge [Thu, 6 Sep 2012 09:40:42 +0000 (11:40 +0200)]
ARM: LPC32xx: Adjust device tree node to new standard num-cs

In spi-pl022.c, the new device tree binding is now "num-cs" for the number of
chip selects. Further, pl022,hierarchy and pl022,slave-tx-disable isn't
supported in favour of reasonable defaults in the driver.

Adjusting phy3250.dts to it.

Signed-off-by: Roland Stigge <stigge@antcom.de>
12 years agoARM: LPC32xx: Remove board specific GPIO init
Roland Stigge [Thu, 6 Sep 2012 09:39:29 +0000 (11:39 +0200)]
ARM: LPC32xx: Remove board specific GPIO init

This patch removes a board specific GPIO initialization (for MMC power) from
the platform initialization. On the reference boards (PHY3250 and EA3250), this
separate initialization is not necessary, now reducing board specific
initialization in the platform init of phy3250.c.

Signed-off-by: Roland Stigge <stigge@antcom.de>
12 years agoARM: LPC32xx: Provide DMA filter callbacks via platform data
Roland Stigge [Thu, 6 Sep 2012 09:39:18 +0000 (11:39 +0200)]
ARM: LPC32xx: Provide DMA filter callbacks via platform data

The SLC and MLC NAND drivers now need their dma_filter callbacks via platform
data to make them independent of single DMA engine drivers.

(This also helps fixing build errors of the SLC and MLC drivers when building
as modules because direct access to AMBA dma filter functions isn't available
via export.)

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
12 years agoARM: LPC32xx: Use handle_edge_irq() callback on edge type irqs
Roland Stigge [Thu, 6 Sep 2012 09:39:10 +0000 (11:39 +0200)]
ARM: LPC32xx: Use handle_edge_irq() callback on edge type irqs

irq.c uses handle_level_irq() as the unconditional default handler. This patch
uses handle_edge_irq() instead for edge type irqs.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Srinivas Bakki <srinivas.bakki@nxp.com>
12 years agoARM: LPC32xx: Defconfig update
Roland Stigge [Thu, 6 Sep 2012 09:38:15 +0000 (11:38 +0200)]
ARM: LPC32xx: Defconfig update

This defconfig update adds PWM support for the LPC32xx SoC, besides some
adjustments to current Kconfigs.

Signed-off-by: Roland Stigge <stigge@antcom.de>
12 years agoMerge tag 'mmc-fixes-for-3.6-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Thu, 6 Sep 2012 02:41:58 +0000 (19:41 -0700)]
Merge tag 'mmc-fixes-for-3.6-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc

Pull MMC fixes from Chris Ball:
 - a firmware bug on several Samsung MoviNAND eMMC models causes
   permanent corruption on the device when secure erase and secure trim
   requests are made, so we disable those requests on these eMMC devices.
 - atmel-mci: fix a hang with some SD cards by waiting for not-busy flag.
 - dw_mmc: low-power mode breaks SDIO interrupts; fix PIO error handling;
   fix handling of error interrupts.
 - mxs-mmc: fix deadlocks; fix compile error due to dma.h arch change.
 - omap: fix broken PIO mode causing memory corruption.
 - sdhci-esdhc: fix card detection.

* tag 'mmc-fixes-for-3.6-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc:
  mmc: omap: fix broken PIO mode
  mmc: card: Skip secure erase on MoviNAND; causes unrecoverable corruption.
  mmc: dw_mmc: Disable low power mode if SDIO interrupts are used
  mmc: dw_mmc: fix error handling in PIO mode
  mmc: dw_mmc: correct mishandling error interrupt
  mmc: dw_mmc: amend using error interrupt status
  mmc: atmel-mci: not busy flag has also to be used for read operations
  mmc: sdhci-esdhc: break out early if clock is 0
  mmc: mxs-mmc: fix deadlock caused by recursion loop
  mmc: mxs-mmc: fix deadlock in SDIO IRQ case
  mmc: bfin_sdh: fix dma_desc_array build error

12 years agouml: fix compile error in deliver_alarm()
Miklos Szeredi [Wed, 5 Sep 2012 16:38:50 +0000 (18:38 +0200)]
uml: fix compile error in deliver_alarm()

Fix the following compile error on UML.

  arch/um/os-Linux/time.c: In function 'deliver_alarm':
  arch/um/os-Linux/time.c:117:3: error: too few arguments to function 'alarm_handler'
  arch/um/os-Linux/internal.h:1:6: note: declared here

The error was introduced by commit d3c1cfcd ("um: pass siginfo to guest
process") in 3.6-rc1.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Martin Pärtel <martin.partel@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 years agodj: memory scribble in logi_dj
Alan Cox [Tue, 4 Sep 2012 14:10:08 +0000 (15:10 +0100)]
dj: memory scribble in logi_dj

Allocate a structure not a pointer to it !

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 years agor8a7779: add SDHI clock support
Phil Edworthy [Mon, 6 Aug 2012 12:31:04 +0000 (13:31 +0100)]
r8a7779: add SDHI clock support

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
Linus Torvalds [Thu, 6 Sep 2012 01:41:32 +0000 (18:41 -0700)]
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc

Pull powerpc fixes from Benjamin Herrenschmidt:
 "Here are a few fixes for 3.6 that were piling up while I was away or
  busy (I was mostly MIA a week or two before San Diego).

  Some fixes from Anton fixing up issues with our relatively new DSCR
  control feature, and a few other fixes that are either regressions or
  bugs nasty enough to warrant not waiting."

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
  powerpc: Don't use __put_user() in patch_instruction
  powerpc: Make sure IPI handlers see data written by IPI senders
  powerpc: Restore correct DSCR in context switch
  powerpc: Fix DSCR inheritance in copy_thread()
  powerpc: Keep thread.dscr and thread.dscr_inherit in sync
  powerpc: Update DSCR on all CPUs when writing sysfs dscr_default
  powerpc/powernv: Always go into nap mode when CPU is offline
  powerpc: Give hypervisor decrementer interrupts their own handler
  powerpc/vphn: Fix arch_update_cpu_topology() return value

12 years agoMerge tag 'gpio-fixes-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Thu, 6 Sep 2012 01:40:12 +0000 (18:40 -0700)]
Merge tag 'gpio-fixes-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio

Pull GPIO fixes from Linus Walleij:
 "These are some GPIO regression fixes for v3.6:
   - Erroneous debug message from of_get_named_gpio_flags()
   - Make sure the MC9S08DZ60 GPIO driver depend on I2C being compiled
     in (not module) or allmodconfig breaks.
   - Check return value from irq_alloc_descs() in the Emma Mobile GPIO
     driver.
   - Assign the owner field for the rdc321x driver so the module won't
     be removed if it has active GPIOs."

* tag 'gpio-fixes-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
  gpio: rdc321x: Prevent removal of modules exporting active GPIOs
  gpio: em: Fix checking return value of irq_alloc_descs
  gpio: mc9s08dz60: Fix build error if I2C=m
  gpio: Fix debug message in of_get_named_gpio_flags()

12 years agoMerge tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Linus Torvalds [Thu, 6 Sep 2012 01:38:52 +0000 (18:38 -0700)]
Merge tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "There are nothing scaring, contains only small fixes for HD-audio and
  USB-audio:
   - EPSS regression fix and GPIO fix for HD-audio IDT codecs
   - A series of USB-audio regression fixes that are found since 3.5
     kernel"

* tag 'sound-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
  ALSA: snd-usb: fix cross-interface streaming devices
  ALSA: snd-usb: fix calls to next_packet_size
  ALSA: snd-usb: restore delay information
  ALSA: snd-usb: use list_for_each_safe for endpoint resources
  ALSA: snd-usb: Fix URB cancellation at stream start
  ALSA: hda - Don't trust codec EPSS bit for IDT 92HD83xx & co
  ALSA: hda - Avoid unnecessary parameter read for EPSS
  ALSA: hda - Do not set GPIOs for speakers on IDT if there are no speakers

12 years agoMerge tag 'fbdev-fixes-for-3.6-1' of git://github.com/schandinat/linux-2.6
Linus Torvalds [Thu, 6 Sep 2012 01:38:02 +0000 (18:38 -0700)]
Merge tag 'fbdev-fixes-for-3.6-1' of git://github.com/schandinat/linux-2.6

Pull fbdev fixes from Florian Tobias Schandinat:
 - a fix by Paul Cercueil to prevent a possible buffer overflow
 - a fix by Bruno Prémont to prevent a rare sleep in invalid context
 - a fix by Julia Lawall for a double free in auo_k190x
 - a fix by Dan Carpenter to prevent a division by zero in mb862xxfb
 - a regression fix by Tomi Valkeinen for the SDI output in OMAP
 - a fix by Grazvydas Ignotas to fix the console colors in OMAP

* tag 'fbdev-fixes-for-3.6-1' of git://github.com/schandinat/linux-2.6:
  OMAPFB: fix framebuffer console colors
  OMAPDSS: Fix SDI PLL locking
  video: mb862xxfb: prevent divide by zero bug
  drivers/video/auo_k190x.c: drop kfree of devm_kzalloc's data
  fbcon: Fix bit_putcs() call to kmalloc(s, GFP_KERNEL)
  fbcon: prevent possible buffer overflow.

12 years agoMerge tag 'upstream-3.6-rc5' of git://git.infradead.org/linux-ubi
Linus Torvalds [Thu, 6 Sep 2012 01:37:16 +0000 (18:37 -0700)]
Merge tag 'upstream-3.6-rc5' of git://git.infradead.org/linux-ubi

Pull ubi fix from Artem Bityutskiy:
 "A single small fix for memory deallocation: we allocated memory using
  'kmem_cache_alloc()' but were freeing it using 'kfree()' in some
  cases.  Now we fix this by using 'kmem_cache_free()' instead."

* tag 'upstream-3.6-rc5' of git://git.infradead.org/linux-ubi:
  UBI: fix a horrible memory deallocation bug

12 years agoFix order of arguments to compat_put_time[spec|val]
Mikulas Patocka [Sat, 1 Sep 2012 16:34:07 +0000 (12:34 -0400)]
Fix order of arguments to compat_put_time[spec|val]

Commit 644595f89620 ("compat: Handle COMPAT_USE_64BIT_TIME in
net/socket.c") introduced a bug where the helper functions to take
either a 64-bit or compat time[spec|val] got the arguments in the wrong
order, passing the kernel stack pointer off as a user pointer (and vice
versa).

Because of the user address range check, that in turn then causes an
EFAULT due to the user pointer range checking failing for the kernel
address.  Incorrectly resuling in a failed system call for 32-bit
processes with a 64-bit kernel.

On odder architectures like HP-PA (with separate user/kernel address
spaces), it can be used read kernel memory.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 years agoARM: shmobile: marzen: enable thermal sensor
Kuninori Morimoto [Tue, 28 Aug 2012 02:00:15 +0000 (19:00 -0700)]
ARM: shmobile: marzen: enable thermal sensor

Marzen board can measure its thermal by this patch.
cat /sys/class/thermal/thermal_zoneX/temp

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoARM: shmobile: marzen: fixup regulator id for smsc911x
Kuninori Morimoto [Thu, 30 Aug 2012 01:58:15 +0000 (18:58 -0700)]
ARM: shmobile: marzen: fixup regulator id for smsc911x

regulator id = 0 is used for sh_mobile_sdhi.
smsc911x's regulator can use id = 1

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoARM: shmobile: marzen: add SDHI0 support
Phil Edworthy [Mon, 6 Aug 2012 12:31:05 +0000 (13:31 +0100)]
ARM: shmobile: marzen: add SDHI0 support

[horms@verge.net.au: moved defconfig portion into a separate patch]
[horms@verge.net.au: added "ARM: shmobile:" to title]
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoARM: mach-shmobile: marzen: defconfig update
Simon Horman [Sat, 25 Aug 2012 06:31:47 +0000 (15:31 +0900)]
ARM: mach-shmobile: marzen: defconfig update

Update marzen defconfig
* Enable MMC Block device as SDHI hw is now supported.
* Default to NFS root, this is consistent with many other
  shmobile boards
* Enable UNIX which is required by udevd
* Enable SDHI

Other changes are noise due to using make savedefconfig
to create the new defconfig.

Cc: Phil Edworthy <phil.edworthy@renesas.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
12 years agoMerge branch 'next/dt' into for-next
Olof Johansson [Wed, 5 Sep 2012 23:27:49 +0000 (16:27 -0700)]
Merge branch 'next/dt' into for-next

* next/dt: (66 commits)
  pinctrl: sirf: add DT-binding pinmux mapping support
  ARM: PRIMA2: rename prima2-cb.dts to prima2.dtsi as it only has SoC features
  ARM: PRIMA2: add missing interrupts property for pinctrl node
  + sync to 3.6-rc4

12 years agoMerge branch 'pinmux-dt' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel...
Olof Johansson [Wed, 5 Sep 2012 23:27:00 +0000 (16:27 -0700)]
Merge branch 'pinmux-dt' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel into next/dt

This branch enables device tree bindings for the CSR Prima pin control
subsystem. All patches acked by Linus W (pinctrl maintainer).

* 'pinmux-dt' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel:
  pinctrl: sirf: add DT-binding pinmux mapping support
  ARM: PRIMA2: rename prima2-cb.dts to prima2.dtsi as it only has SoC features
  ARM: PRIMA2: add missing interrupts property for pinctrl node
  + sync to Linux 3.6-rc4

12 years agoMerge branch 'next/dt' into for-next
Olof Johansson [Wed, 5 Sep 2012 23:21:47 +0000 (16:21 -0700)]
Merge branch 'next/dt' into for-next

* next/dt:
  ARM: mach-shmobile: Add compilation support for dtbs using 'make dtbs'

12 years agoMerge branch 'next/soc' into for-next
Olof Johansson [Wed, 5 Sep 2012 23:21:17 +0000 (16:21 -0700)]
Merge branch 'next/soc' into for-next

* next/soc:
  ARM: shmobile: kzm9g: enable restarting

12 years agoMerge branch 'next/cleanup' into for-next
Olof Johansson [Wed, 5 Sep 2012 23:20:27 +0000 (16:20 -0700)]
Merge branch 'next/cleanup' into for-next

* next/cleanup:
  ARM: mach-shmobile: remove duplicated include from board-ag5evm.c
  ARM: mach-pnx4008: Remove architecture

Resolving add/remove conflict in arch/arm/mach-pnx4008/time.c

12 years agoMerge branch 'pnx4008-removal' of git://git.antcom.de/linux-2.6 into next/cleanup
Olof Johansson [Wed, 5 Sep 2012 23:16:32 +0000 (16:16 -0700)]
Merge branch 'pnx4008-removal' of git://git.antcom.de/linux-2.6 into next/cleanup

Removes the pnx4008 platform support, which hasn't seen any active
development since 2006 and seems to be unused these days.

* 'pnx4008-removal' of git://git.antcom.de/linux-2.6:
  ARM: mach-pnx4008: Remove architecture

12 years agoMerge branch 'ag5evm' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas...
Olof Johansson [Wed, 5 Sep 2012 22:58:38 +0000 (15:58 -0700)]
Merge branch 'ag5evm' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/cleanup

* 'ag5evm' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: mach-shmobile: remove duplicated include from board-ag5evm.c

12 years agoMerge branch 'soc-core' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesa...
Olof Johansson [Wed, 5 Sep 2012 22:35:48 +0000 (15:35 -0700)]
Merge branch 'soc-core' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt

* 'soc-core' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: mach-shmobile: Add compilation support for dtbs using 'make dtbs'
  + sync to 3.6-rc3

12 years agoMerge branch 'kzm9g' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas...
Olof Johansson [Wed, 5 Sep 2012 22:33:19 +0000 (15:33 -0700)]
Merge branch 'kzm9g' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc

* 'kzm9g' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: kzm9g: enable restarting
  + sync to 3.6-rc3

12 years agoMerge branch 'next/cleanup' into for-next
Olof Johansson [Wed, 5 Sep 2012 17:39:42 +0000 (10:39 -0700)]
Merge branch 'next/cleanup' into for-next

* next/cleanup:
  ARM: ks8695: convert to generic time and clocksource
  ARM: ks8695: delete resume hook from timer
  ARM: ks8695: use [readl|writel]_relaxed()
  ARM: ks8695: merge the timer header into the timer driver

12 years agoMerge tag 'ks8695-time-for-arm-soc' of http://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Wed, 5 Sep 2012 17:39:09 +0000 (10:39 -0700)]
Merge tag 'ks8695-time-for-arm-soc' of http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/cleanup

This cleans up the ks8695 timer driver and converts
it to use generic time and clock events.

* tag 'ks8695-time-for-arm-soc' of http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  ARM: ks8695: convert to generic time and clocksource
  ARM: ks8695: delete resume hook from timer
  ARM: ks8695: use [readl|writel]_relaxed()
  ARM: ks8695: merge the timer header into the timer driver

12 years agoMerge tag 'omap-fixes-a-for-3.6rc' of git://git.kernel.org/pub/scm/linux/kernel/git...
Tony Lindgren [Wed, 5 Sep 2012 17:09:31 +0000 (10:09 -0700)]
Merge tag 'omap-fixes-a-for-3.6rc' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into fixes

Some hwmod, clockdomain, am335x fixes against v3.6-rc4.

Test logs can be found here:

   http://www.pwsan.com/omap/testlogs/omap_fixes_a_3.6rc/20120904110254/

12 years agoMerge branch 'fixes-wakeupgen' into fixes
Tony Lindgren [Wed, 5 Sep 2012 17:06:08 +0000 (10:06 -0700)]
Merge branch 'fixes-wakeupgen' into fixes

12 years agoARM: ks8695: convert to generic time and clocksource
Linus Walleij [Wed, 29 Aug 2012 18:27:22 +0000 (20:27 +0200)]
ARM: ks8695: convert to generic time and clocksource

Old platforms using ancient gettimeoffset() and other arcane
APIs are standing in the way of cleaning up the ARM kernel.
The gettimeoffset() was also broken: it would try to read out
the timer counter value, while this would not work (the
counter statically returns the initially programmed value)
so the implementation would anyway fall back to a homebrew
version of jiffie calculation.

This is an attempt at blind-coding a generic time and clocksource
driver for the platform by way of a datasheet and looking at the
old code.

Tested-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: ks8695: delete resume hook from timer
Linus Walleij [Wed, 29 Aug 2012 18:27:12 +0000 (20:27 +0200)]
ARM: ks8695: delete resume hook from timer

This system does not support suspend/resume so let's skip this
hook altogether.

Tested-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: ks8695: use [readl|writel]_relaxed()
Linus Walleij [Wed, 29 Aug 2012 18:27:02 +0000 (20:27 +0200)]
ARM: ks8695: use [readl|writel]_relaxed()

I have no clue why __raw* macros are used here, but I strongly
suspect there is no good reason at all for this, so removing
another bad example.

Tested-by: Greg Ungerer <gerg@snapgear.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: ks8695: merge the timer header into the timer driver
Linus Walleij [Wed, 29 Aug 2012 18:26:42 +0000 (20:26 +0200)]
ARM: ks8695: merge the timer header into the timer driver

This <mach/regs-timer.h> is broadcasted in the entire kernel for
no good reason, since it's only used by the timer driver. Merge
it into the driver.

Tested-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
12 years agopinctrl: sirf: add DT-binding pinmux mapping support
Barry Song [Thu, 23 Aug 2012 02:47:54 +0000 (10:47 +0800)]
pinctrl: sirf: add DT-binding pinmux mapping support

This makes us possible to define pinmux mapping in board-specific DTS.
prima2.dtsi provides all possible (groups,functions) configuration, and
device in .dts select configurations from dtsi files.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: PRIMA2: rename prima2-cb.dts to prima2.dtsi as it only has SoC features
Barry Song [Thu, 23 Aug 2012 02:47:53 +0000 (10:47 +0800)]
ARM: PRIMA2: rename prima2-cb.dts to prima2.dtsi as it only has SoC features

The current prima2-cb.dts only includes prima2 SoC feature without board-
specific descriptions. This patches rename it to dtsi and clean some useless
content.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
12 years agoARM: PRIMA2: add missing interrupts property for pinctrl node
Barry Song [Thu, 23 Aug 2012 02:47:52 +0000 (10:47 +0800)]
ARM: PRIMA2: add missing interrupts property for pinctrl node

commit 5130216265f6f924a4 missed the interrupts property

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
12 years agopowerpc: Don't use __put_user() in patch_instruction
Benjamin Herrenschmidt [Tue, 4 Sep 2012 15:08:28 +0000 (15:08 +0000)]
powerpc: Don't use __put_user() in patch_instruction

patch_instruction() can be called very early on ppc32, when the kernel
isn't yet running at it's linked address. That can cause the !
is_kernel_addr() test in __put_user() to trip and call might_sleep()
which is very bad at that point during boot.

Use a lower level function instead for now, at least until we get to
rework ppc32 boot process to do the code patching later, like ppc64
does.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>