]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoMerge branch 'v3.11-next/samsung-pwm' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:17:38 +0000 (04:17 +0900)]
Merge branch 'v3.11-next/samsung-pwm' into for-next

11 years agoMerge branch 'v3.11-next/non-critical-fixes' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:17:11 +0000 (04:17 +0900)]
Merge branch 'v3.11-next/non-critical-fixes' into for-next

11 years agoMerge branch 'v3.11-next/samsung-defconfig' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:17:03 +0000 (04:17 +0900)]
Merge branch 'v3.11-next/samsung-defconfig' into for-next

11 years agoMerge branch 'v3.11-next/soc-exynos5420' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:16:57 +0000 (04:16 +0900)]
Merge branch 'v3.11-next/soc-exynos5420' into for-next

11 years agoMerge branch 'v3.11-next/s3c24xx-pinctrl-2' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:16:45 +0000 (04:16 +0900)]
Merge branch 'v3.11-next/s3c24xx-pinctrl-2' into for-next

11 years agoMerge branch 'v3.11-next/remove-nondt-exynos-3' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:16:18 +0000 (04:16 +0900)]
Merge branch 'v3.11-next/remove-nondt-exynos-3' into for-next

Conflicts:
arch/arm/Kconfig
arch/arm/mach-exynos/Kconfig

11 years agoMerge branch 'v3.11-next/dt-n-clk-audio' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:14:49 +0000 (04:14 +0900)]
Merge branch 'v3.11-next/dt-n-clk-audio' into for-next

11 years agoMerge branch 'v3.11-next/s3c24xx-dt-2' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:14:30 +0000 (04:14 +0900)]
Merge branch 'v3.11-next/s3c24xx-dt-2' into for-next

11 years agoMerge branch 'v3.11-next/exynos-dt-2' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:14:20 +0000 (04:14 +0900)]
Merge branch 'v3.11-next/exynos-dt-2' into for-next

11 years agoMerge branch 'v3.11-next/exynos-arch-2' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:14:09 +0000 (04:14 +0900)]
Merge branch 'v3.11-next/exynos-arch-2' into for-next

11 years agoMerge branch 'v3.11-next/cleanup-samsung' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:13:53 +0000 (04:13 +0900)]
Merge branch 'v3.11-next/cleanup-samsung' into for-next

11 years agoMerge branch 'v3.11-next/s3c24xx-driver' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:13:14 +0000 (04:13 +0900)]
Merge branch 'v3.11-next/s3c24xx-driver' into for-next

11 years agoMerge branch 'v3.11-next/exynos-dt' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:13:07 +0000 (04:13 +0900)]
Merge branch 'v3.11-next/exynos-dt' into for-next

11 years agoMerge branch 'v3.11-next/s3c24xx-dt' into for-next
Kukjin Kim [Tue, 18 Jun 2013 19:12:56 +0000 (04:12 +0900)]
Merge branch 'v3.11-next/s3c24xx-dt' into for-next

11 years agoARM: EXYNOS: extend soft-reset support for EXYNOS5420
Chander Kashyap [Tue, 18 Jun 2013 15:29:35 +0000 (00:29 +0900)]
ARM: EXYNOS: extend soft-reset support for EXYNOS5420

Extend the soft reset support for EXYNOS5420 SoC.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: add secondary CPU boot base location for EXYNOS5420
Chander Kashyap [Tue, 18 Jun 2013 15:29:35 +0000 (00:29 +0900)]
ARM: EXYNOS: add secondary CPU boot base location for EXYNOS5420

The location at which the boot address is specified for secondary
CPUs of EXYNOS5420 is SYSRAM base + 4. Update the cpu_boot_reg
function accordingly.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoclocksource: exynos_mct: use (request/free)_irq calls for local timer registration
Chander Kashyap [Tue, 18 Jun 2013 15:29:35 +0000 (00:29 +0900)]
clocksource: exynos_mct: use (request/free)_irq calls for local timer registration

Replace the (setup/remove)_irq calls for local timer registration with
(request/free)_irq calls. This generalizes the local timer registration API.
Suggested by Mark Rutland.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add initial device tree support for EXYNOS5420
Chander Kashyap [Tue, 18 Jun 2013 15:29:35 +0000 (00:29 +0900)]
ARM: dts: Add initial device tree support for EXYNOS5420

Add initial device tree nodes for EXYNOS5420 SoC and SMDK5420 board.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoclk: exynos5420: register clocks using common clock framework
Chander Kashyap [Tue, 18 Jun 2013 15:29:34 +0000 (00:29 +0900)]
clk: exynos5420: register clocks using common clock framework

The EXYNOS5420 clocks are statically listed and registered using
the Samsung specific common clock helper functions.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: use four additional chipid bits to identify EXYNOS family
Chander Kashyap [Tue, 18 Jun 2013 15:29:34 +0000 (00:29 +0900)]
ARM: EXYNOS: use four additional chipid bits to identify EXYNOS family

Use chipid[27:20] bits to identify the EXYNOS family while setting
up the serial port during the uncompression setup. This uses four
additional bits of chipid to identify the EXYNOS family since this
is required for identifying EXYNOS5420 SoC.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoserial: samsung: select EXYNOS specific driver data if ARCH_EXYNOS is defined
Chander Kashyap [Tue, 18 Jun 2013 15:29:34 +0000 (00:29 +0900)]
serial: samsung: select EXYNOS specific driver data if ARCH_EXYNOS is defined

All EXYNOS4/5 SoCs share a common driver data in the samsung serial
driver. Hence, let the driver data inclusion be based on ARCH_EXYNOS
instead of SOC specific definition.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Add support for EXYNOS5420 SoC
Chander Kashyap [Tue, 18 Jun 2013 15:29:34 +0000 (00:29 +0900)]
ARM: EXYNOS: Add support for EXYNOS5420 SoC

EXYNOS5420 is new SoC in Samsung's Exynos5 SoC series. Add
initial support for this new SoC.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: list the CPU nodes for EXYNOS5250
Chander Kashyap [Tue, 18 Jun 2013 15:29:34 +0000 (00:29 +0900)]
ARM: dts: list the CPU nodes for EXYNOS5250

Instead of having to specify the number for CPUs in EXYNOS5250 in
platsmp.c file, let the number of CPUs be determined by having this
information listed in EXYNOS5250 device tree file.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: fork out common EXYNOS5 nodes
Chander Kashyap [Tue, 18 Jun 2013 15:29:34 +0000 (00:29 +0900)]
ARM: dts: fork out common EXYNOS5 nodes

In preparation of adding support for EXYNOS5420, which has many
peripherals similar to EXYNOS5250, a new common EXYNOS5 device tree
source file is created out of the exising EXYNOS5250 device tree
source file. Only the common nodes required for basic boot up on
EXYNOS5420 based boards are moved into this new file and the rest
of the common nodes would be moved subsequently.

EXYNOS5440 SoC is quite different from EXYNOS5250 and EXYNOS5420.
Hence it is not possible to reuse "exynos5.dtsi" for EXYNOS5440.

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: call scu_enable() only in case of cortex-A9 processor
Leela Krishna Amudala [Mon, 10 Jun 2013 09:28:04 +0000 (18:28 +0900)]
ARM: EXYNOS: call scu_enable() only in case of cortex-A9 processor

This patch reads the cpuid part number and if it matches with
cortex-A9, calls scu_enable()

Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Select PINCTRL_EXYNOS for exynos4/5 at chip level
Doug Anderson [Mon, 10 Jun 2013 09:26:53 +0000 (18:26 +0900)]
ARM: EXYNOS: Select PINCTRL_EXYNOS for exynos4/5 at chip level

Previously if you had MACH_EXYNOS5_DT but not MACH_EXYNOS4_DT you'd be
missing the pincontrol definitions.  Move PINCTRL selects to the arch
level since we should be enabling the code for all exynos variants.

Update the PINCTRL descriptions to indicate that PINCTRL_EXYNOS is not
for exynos5440.  Also add basic dependencies for the PINCTRL_EXYNOS
kernel config.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Enable XHCI support on exynos5
Vivek Gautam [Wed, 10 Apr 2013 10:38:41 +0000 (19:38 +0900)]
ARM: EXYNOS: Enable XHCI support on exynos5

This patch enables support for XHCI on exynos5 series of SOCs,
to support host side USB 3.0 support.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoclk: exynos5250: Add enum entries for divider clock of i2s1 and i2s2
Padmavathi Venna [Mon, 17 Jun 2013 15:02:36 +0000 (00:02 +0900)]
clk: exynos5250: Add enum entries for divider clock of i2s1 and i2s2

This patch adds enum entries for div_i2s1 and div_i2s2 which are
required for i2s1 and i2s2 controllers.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Update Samsung I2S documentation
Padmavathi Venna [Mon, 17 Jun 2013 15:02:31 +0000 (00:02 +0900)]
ARM: dts: Update Samsung I2S documentation

This patch updates the samsung i2s documentation for pinmux and
clock entries.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: add clock provider information for i2s controllers in Exynos5250
Padmavathi Venna [Mon, 17 Jun 2013 15:02:26 +0000 (00:02 +0900)]
ARM: dts: add clock provider information for i2s controllers in Exynos5250

Add clock lookup information for i2s controllers on exynos5250 SoC.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: add Exynos audio subsystem clock controller node
Padmavathi Venna [Mon, 17 Jun 2013 15:02:21 +0000 (00:02 +0900)]
ARM: dts: add Exynos audio subsystem clock controller node

Audio subsystem introduced in s5pv210 and exynos platforms
which has a internal clock controller. This patch adds a node
for the same on exynos5250.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoclk: samsung: register audio subsystem clocks using common clock framework
Padmavathi Venna [Mon, 17 Jun 2013 15:02:17 +0000 (00:02 +0900)]
clk: samsung: register audio subsystem clocks using common clock framework

Audio subsystem is introduced in s5pv210 and exynos platforms.
This has seperate clock controller which can control i2s0 and
pcm0 clocks. This patch registers the audio subsystem clocks
with the common clock framework on Exynos family.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: use #include for all device trees for Samsung
Padmavathi Venna [Mon, 17 Jun 2013 15:02:08 +0000 (00:02 +0900)]
ARM: dts: use #include for all device trees for Samsung

Replace /include/ (dtc) with #include (C pre-processor) for all
Samsung DT files

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoMerge branch 'v3.11-next/s3c24xx-dt-2' into v3.11-next/dt-n-clk-audio
Kukjin Kim [Tue, 18 Jun 2013 18:27:44 +0000 (03:27 +0900)]
Merge branch 'v3.11-next/s3c24xx-dt-2' into v3.11-next/dt-n-clk-audio

11 years agoARM: SAMSUNG: Remove unused plat/regs-watchdog.h header
Tomasz Figa [Mon, 17 Jun 2013 14:45:44 +0000 (23:45 +0900)]
ARM: SAMSUNG: Remove unused plat/regs-watchdog.h header

Since there are no remaining users of this header, it can be safely
dropped.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Remove legacy watchdog reset code
Tomasz Figa [Mon, 17 Jun 2013 14:45:40 +0000 (23:45 +0900)]
ARM: SAMSUNG: Remove legacy watchdog reset code

Since all platforms have been moved to the new watchdog reset driver,
the legacy code can be removed safely.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Let platforms use the new watchdog reset driver
Tomasz Figa [Mon, 17 Jun 2013 14:45:37 +0000 (23:45 +0900)]
ARM: SAMSUNG: Let platforms use the new watchdog reset driver

This patch moves all platforms using the legacy watchdog reset helper
function to the new watchdog reset driver.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Add watchdog reset driver
Tomasz Figa [Mon, 17 Jun 2013 14:45:33 +0000 (23:45 +0900)]
ARM: SAMSUNG: Add watchdog reset driver

This patch adds a watchdog reset driver that can be used on Samsung SoCs
that do not provide dedicated reset method. It replaces the legacy
helper function that relies on static IO mapping.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Use local definitions of watchdog registers
Tomasz Figa [Mon, 17 Jun 2013 14:45:29 +0000 (23:45 +0900)]
ARM: SAMSUNG: Use local definitions of watchdog registers

This patch adds local definitions of required watchdog registers and
bitfields to the uncompress header, allowing to remove the dependency on
plat/regs-watchdog.h header and the ugly hack to replace virtual with
physical addresses.

In addition, it fixes reboot on decompression failure feature, due to
the mentioned ugly hack not working anymore (the macro being redefined
got renamed, without fixing this code).

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agowatchdog: s3c2410_wdt: Use local register definitions
Tomasz Figa [Mon, 17 Jun 2013 14:45:24 +0000 (23:45 +0900)]
watchdog: s3c2410_wdt: Use local register definitions

This patch moves register and bitfield definitions to the driver itself,
removing remaining dependencies on plat/ and mach/ headers.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agopinctrl: s3c24xx: use correct header for chained_irq functions
Heiko Stuebner [Tue, 18 Jun 2013 17:41:14 +0000 (02:41 +0900)]
pinctrl: s3c24xx: use correct header for chained_irq functions

chained_irq_enter and chained_irq_exit moved to a real header
under linux/pinctrl instead of asm/.

Update the pinctrl driver to use the correct header and fix the
build error.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>`
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: S3C24XX: update uart addresses in s3c2416-dt auxdata
Heiko Stuebner [Tue, 18 Jun 2013 17:40:18 +0000 (02:40 +0900)]
ARM: S3C24XX: update uart addresses in s3c2416-dt auxdata

Commit 9ee51f01eee8 (tty: serial/samsung: make register definitions
global) removed the S3C2410_PA_UARTX defines that the newly merged
s3c2416 dt support still expected.

So update mach-s3c2416-dt.c to use the S3C24XX_PA_UART constant until
we have support for the common clock framework the the s3c2416-dt.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: S5P64X0: Use common uncompress.h part for plat-samsung
Tomasz Figa [Tue, 18 Jun 2013 17:22:22 +0000 (02:22 +0900)]
ARM: S5P64X0: Use common uncompress.h part for plat-samsung

Since uart_base can be set dynamically in arch_detect_cpu(), there is no
need to have a copy of all code locally, just to override UART base
address.

This patch removes any duplicate code in uncompress.h variant of s5p64x0
and implements proper arch_detect_cpu() function to initialize UART with
SoC-specific parameters.

While at it, replace hard-coded register address with macro.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Consolidate uncompress subroutine
Tushar Behera [Tue, 18 Jun 2013 17:22:18 +0000 (02:22 +0900)]
ARM: SAMSUNG: Consolidate uncompress subroutine

For mach-exynos, uart_base is a pointer and the value is calculated
in the machine folder. For other machines, uart_base is defined as
a macro in platform directory. For symmetry, the uart_base macro
definition is removed and the uart_base calculation is moved to
specific machine folders.

This would help us consolidating uncompress subroutine for s5p64x0.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove remaining dead code after non-DT support removal
Arnd Bergmann [Tue, 18 Jun 2013 16:36:56 +0000 (01:36 +0900)]
ARM: EXYNOS: Remove remaining dead code after non-DT support removal

This patch removes remaining small bits of unused code that was left
after removing non-DT support.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy L2X0 initialization
Arnd Bergmann [Tue, 18 Jun 2013 16:36:52 +0000 (01:36 +0900)]
ARM: EXYNOS: Remove legacy L2X0 initialization

Since Exynos is now supporting only DT-based boot, the old L2X0
initialization code is not needed anymore, so exynos4_l2x0_cache_init()
can be greatly simplified.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Use exynos_init_io() as map_io callback
Arnd Bergmann [Tue, 18 Jun 2013 16:36:47 +0000 (01:36 +0900)]
ARM: EXYNOS: Use exynos_init_io() as map_io callback

Since there is no board specific mapping needed on Exynos,
exynos_init_io() can be simplified and used as map_io callback for both
Exynos4 and Exynos5.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove custom init_irq callbacks
Arnd Bergmann [Tue, 18 Jun 2013 16:35:22 +0000 (01:35 +0900)]
ARM: EXYNOS: Remove custom init_irq callbacks

Since both exynos4_init_irq() and exynos5_init_irq() are just calling
irqchip_init(), there is no need for them to exist any more, since this
is the default that is called when init_irq callback is not specified.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove mach/regs-usb-phy.h header
Tomasz Figa [Sat, 15 Jun 2013 00:31:40 +0000 (09:31 +0900)]
ARM: EXYNOS: Remove mach/regs-usb-phy.h header

This patch removes mach/regs-usb-phy.h header, which is not used
anywhere in the kernel.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agothermal: exynos: Support both EXYNOS4X12 SoCs
Tomasz Figa [Tue, 18 Jun 2013 16:31:50 +0000 (01:31 +0900)]
thermal: exynos: Support both EXYNOS4X12 SoCs

EXYNOS4212 and EXYNOS4412 have the same thermal block, so there is no
reason to include support only for EXYNOS4412 in this driver.

Cc: linux-pm@vger.kernel.org
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove unused base addresses from mach/map.h header
Tomasz Figa [Sat, 15 Jun 2013 00:29:25 +0000 (09:29 +0900)]
ARM: EXYNOS: Remove unused base addresses from mach/map.h header

This patch removes all the unused base addresses from mach/map.h header,
leaving only addresses of IPs that currently use static IO mapping or
need the address hardcoded, like low level debug UART.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove mach/irqs.h header
Tomasz Figa [Sat, 15 Jun 2013 00:29:22 +0000 (09:29 +0900)]
ARM: EXYNOS: Remove mach/irqs.h header

Since Exynos now uses CONFIG_SPARSE_IRQ and all remaining users of this
header has been fixed, we can safely remove it.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Select SPARSE_IRQ for Exynos
Tomasz Figa [Sat, 15 Jun 2013 00:28:55 +0000 (09:28 +0900)]
ARM: EXYNOS: Select SPARSE_IRQ for Exynos

This patch adds selection of CONFIG_SPARSE_IRQ for ARCH_EXYNOS, since it
is required by multiplatform and allows to remove the legacy mach/irqs.h
header.

To make this possible, a dummy IRQ_EINT_BIT macro is added to pm-core.h
header to allow plat-samsung/pm.c compile. This macro is irrelevant for
Exynos and will be removed after reworking Samsung pm code for
multiplatform compatibility.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Make legacy MFC support code depend on SAMSUNG_ATAGS
Tomasz Figa [Tue, 18 Jun 2013 16:28:56 +0000 (01:28 +0900)]
ARM: SAMSUNG: Make legacy MFC support code depend on SAMSUNG_ATAGS

This allows to bypass compilation of static platform device and resource
definitions that require interrupts and base addresses to be defined
statically.

Cc: Jeongtae Park <jtp.park@samsung.com>
Cc: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove mach/regs-gpio.h header
Tomasz Figa [Sat, 15 Jun 2013 00:28:46 +0000 (09:28 +0900)]
ARM: EXYNOS: Remove mach/regs-gpio.h header

Contents of this header are not used any more and can be safely removed.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove mach/gpio.h
Tomasz Figa [Sat, 15 Jun 2013 00:28:46 +0000 (09:28 +0900)]
ARM: EXYNOS: Remove mach/gpio.h

This patch removes mach/gpio.h header that is not required any more on
Exynos.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove setup-i2c0.c
Tomasz Figa [Sat, 15 Jun 2013 00:28:46 +0000 (09:28 +0900)]
ARM: EXYNOS: Remove setup-i2c0.c

Now since SAMSUNG_ATAGS is no longer selected for ARCH_EXYNOS, we can
safely remove the remaining setup code.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Do not select legacy Kconfig symbols any more
Tomasz Figa [Tue, 18 Jun 2013 16:27:37 +0000 (01:27 +0900)]
ARM: EXYNOS: Do not select legacy Kconfig symbols any more

This patch removes selection of several legacy Kconfig symbols from
ARCH_EXYNOS to bypass compilation of code used only for ATAGS based
boot.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Include most of mach/ headers conditionally
Tomasz Figa [Sat, 15 Jun 2013 00:17:33 +0000 (09:17 +0900)]
ARM: SAMSUNG: Include most of mach/ headers conditionally

Since it is illegal to include mach/ headers from source files outside
of respective mach-* directory and DT-only Samsung platforms might not
have all of them anyway, this patches makes inclusion of them
conditional, based on CONFIG_SAMSUNG_ATAGS.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Decouple ARCH_EXYNOS from PLAT_S5P
Tomasz Figa [Tue, 18 Jun 2013 16:26:42 +0000 (01:26 +0900)]
ARM: EXYNOS: Decouple ARCH_EXYNOS from PLAT_S5P

After removing support for ATAGS based boot on Exynos, there is not much
that can be shared between Exynos and other S5P platforms. This patch
makes Exynos a standalone Samsung platform, not using PLAT_S5P.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoUSB: Check for ARCH_EXYNOS separately
Tomasz Figa [Tue, 18 Jun 2013 16:25:48 +0000 (01:25 +0900)]
USB: Check for ARCH_EXYNOS separately

ARCH_EXYNOS is going to be excluded from PLAT_S5P, so it must be checked
separately in Exynos-related Kconfig entries.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoplatform: Check for ARCH_EXYNOS separately
Tomasz Figa [Tue, 18 Jun 2013 16:25:44 +0000 (01:25 +0900)]
platform: Check for ARCH_EXYNOS separately

ARCH_EXYNOS is going to be excluded from PLAT_S5P, so it must be checked
separately in Exynos-related Kconfig entries.

Cc: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Kamil Debski <k.debski@samsung.com>
Cc: Tomasz Stanislawski <t.stanislaws@samsung.com>
Cc: Jeongtae Park <jtp.park@samsung.com>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Compile legacy IRQ and GPIO PM code only with ATAGS support
Tomasz Figa [Tue, 18 Jun 2013 16:24:12 +0000 (01:24 +0900)]
ARM: SAMSUNG: Compile legacy IRQ and GPIO PM code only with ATAGS support

This patch adds new Kconfig symbols, SAMSUNG_PM_GPIO and S5P_IRQ_PM that
get enabled when GPIO_SAMSUNG, PM and S5P_PM are enabled, but only if
SAMSUNG_ATAGS is selected.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Provide compatibility stubs for PM code in pm-core.h header
Tomasz Figa [Sat, 15 Jun 2013 00:13:26 +0000 (09:13 +0900)]
ARM: EXYNOS: Provide compatibility stubs for PM code in pm-core.h header

This patch adds several compatibility definitions that are not relevant
for Exynos, but are required by Samsung PM core.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Introduce GPIO_SAMSUNG Kconfig entry
Tomasz Figa [Tue, 18 Jun 2013 16:22:20 +0000 (01:22 +0900)]
ARM: SAMSUNG: Introduce GPIO_SAMSUNG Kconfig entry

This patch adds Kconfig entry that selects whether legacy Samsung GPIO
driver should be built or not. For platforms that support only DT based
boot, the new pinctrl driver is used and so the old one is not needed.

Cc: Grant Likely <grant.likely@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Set BUCK7 as always on for Origen board
Tushar Behera [Tue, 18 Jun 2013 15:41:56 +0000 (00:41 +0900)]
ARM: dts: Set BUCK7 as always on for Origen board

The LDO for LCD driver is currently not handled by any of the drivers.
This disables the LDO during booting time. To fix this, the LDO
is forced to enabled always.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add FIMD node to Origen4210 board
Sachin Kamat [Tue, 18 Jun 2013 15:41:51 +0000 (00:41 +0900)]
ARM: dts: Add FIMD node to Origen4210 board

Added FIMD and display timing node to Origen4210 board.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add LCD related pinctrl entries for exynos4210
Sachin Kamat [Tue, 18 Jun 2013 15:41:46 +0000 (00:41 +0900)]
ARM: dts: Add LCD related pinctrl entries for exynos4210

Adds pinctrl entries required by FIMD.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add PWM related pinctrl entries for exynos4210
Sachin Kamat [Tue, 18 Jun 2013 15:41:41 +0000 (00:41 +0900)]
ARM: dts: Add PWM related pinctrl entries for exynos4210

PWM nodes are added to EXYNOS4210 pinctrl DT file.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: exynos_defconfig: Enable GPIO buttons and RTC drivers
Tushar Behera [Tue, 18 Jun 2013 15:35:01 +0000 (00:35 +0900)]
ARM: exynos_defconfig: Enable GPIO buttons and RTC drivers

Many of the boards use GPIO-mapped buttons for generic input.
For Arndale board, these buttons also serve as wakeup source.

And the issues reported in commit 522ccdb6fd0e ("ARM: dts:
Disable the RTC by default on exynos5") are no longer reproduced
on EXYNOS5250 based systems. Hence it would be better to re-enable
RTC support for EXYNOS5250.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
[mturquette@linaro.org: ack on RTC enabling]
Acked-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoMAINTAINERS: Add exynos filename match to ARM/S5P EXYNOS ARM ARCHITECTURES
Doug Anderson [Mon, 17 Jun 2013 22:02:23 +0000 (07:02 +0900)]
MAINTAINERS: Add exynos filename match to ARM/S5P EXYNOS ARM ARCHITECTURES

This will help direct patches related to exynos to the
linux-samsung-soc mailing list for discussion.

Suggested by Joe Perches.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoDocumentation: Add examples to samsung-pinctrl device tree bindings documentation
Leela Krishna Amudala [Mon, 17 Jun 2013 21:58:48 +0000 (06:58 +0900)]
Documentation: Add examples to samsung-pinctrl device tree bindings documentation

This patch adds examples to samsung-pinctrl.txt documentaion file
on how to make gpio binding and gpio request

Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Enable RTC node for exynos5250-snow
Doug Anderson [Mon, 17 Jun 2013 21:46:20 +0000 (06:46 +0900)]
ARM: dts: Enable RTC node for exynos5250-snow

By default the exynos RTC is disabled.  Enable it for snow.  There's
also an external RTC on the max77686 PMIC but we haven't yet enabled
that.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Enable RTC node for Arndale
Tushar Behera [Mon, 17 Jun 2013 21:46:06 +0000 (06:46 +0900)]
ARM: dts: Enable RTC node for Arndale

The issues reported in commit 522ccdb6fd0e ("ARM: dts: Disable the RTC
by default on exynos5") are no longer reproduced on EXYNOS5250 based
Arndale board. Hence re-enabling RTC support for Arndale board.

This is helpful for testing S2R on Arndale board.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Removing pdma for exynos5440
Giridhar Maruthy [Mon, 17 Jun 2013 21:42:42 +0000 (06:42 +0900)]
ARM: dts: Removing pdma for exynos5440

Since the pdma works only in secure mode, accessing the same
in hypervisor mode gives an abort. As we are not using pdma
anywhere, removing the same.

Signed-off-by: Giridhar Maruthy <giridhar.m@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: update bootargs to support 8GiB for SSDK5440 and SD5v1
Subash Patel [Mon, 17 Jun 2013 21:41:04 +0000 (06:41 +0900)]
ARM: dts: update bootargs to support 8GiB for SSDK5440 and SD5v1

Since ssdk5440 and sd5v1 have 8GiB memory, this patch
updates bootargs for them.

Signed-off-by: Subash Patel <subash.rp@samsung.com>
Signed-off-by: Jungseok Lee <jays.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add more opp levels in exynos5440
Amit Daniel Kachhap [Mon, 17 Jun 2013 21:39:41 +0000 (06:39 +0900)]
ARM: dts: Add more opp levels in exynos5440

This patch updates cpu frequency level from 1500 to 800MHZ in steps
of 100MHZ. The corresponding voltage(in uV) is also added.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add wm8994 regulator support on smdk5250
Padmavathi Venna [Mon, 17 Jun 2013 21:38:13 +0000 (06:38 +0900)]
ARM: dts: Add wm8994 regulator support on smdk5250

This patch adds the required regulator supplies and properties
for wm8994 codec on smdk5250 board.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: enable spi for EXYNOS5440 SOC
Girish K S [Mon, 17 Jun 2013 21:35:14 +0000 (06:35 +0900)]
ARM: dts: enable spi for EXYNOS5440 SOC

This patch enables the SPI in EXYNOS5440 SoC. The NOR
Flash can be accessed by enabling the spi interface

Signed-off-by: Girish K S <ks.giri@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoclocksource: samsung_pwm_timer: Do not request PWM mem region
Tomasz Figa [Sun, 16 Jun 2013 21:21:14 +0000 (06:21 +0900)]
clocksource: samsung_pwm_timer: Do not request PWM mem region

PWM registers are shared between clocksource and PWM drivers and so can
not be claimed for exclusive use.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy power domain registration code
Tomasz Figa [Sat, 15 Jun 2013 00:13:25 +0000 (09:13 +0900)]
ARM: EXYNOS: Remove legacy power domain registration code

This patch removes static definitions of power domains and code
responsible for registering them and adding devices to them, since only
DT based boot is now supported on Exynos.

Cc: linux-pm@vger.kernel.org
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove check for device tree presence
Tomasz Figa [Sat, 15 Jun 2013 00:13:25 +0000 (09:13 +0900)]
ARM: EXYNOS: Remove check for device tree presence

This patch makes the firmware setup code assume presence of DT, since it
is now the only way of booting supported for Exynos.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy mapping of chip ID block
Tomasz Figa [Sat, 15 Jun 2013 00:13:25 +0000 (09:13 +0900)]
ARM: EXYNOS: Remove legacy mapping of chip ID block

This patch removes static mapping of chip ID block that was used when
booting with ATAGS, which is not supported on Exynos any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove platform device initialization
Tomasz Figa [Sat, 15 Jun 2013 00:13:24 +0000 (09:13 +0900)]
ARM: EXYNOS: Remove platform device initialization

This patch removes legacy platform device initialization code that was
used to set names and other parameters of static platform devices when
booting with ATAGS, which is not supported on Exynos any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy timer initialization code
Tomasz Figa [Sat, 15 Jun 2013 00:04:58 +0000 (09:04 +0900)]
ARM: EXYNOS: Remove legacy timer initialization code

This patch removes legacy timer initialization code that was used to
set up system timers when booting with ATAGS, which is not supported
on Exynos any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy interrupt initialization code
Tomasz Figa [Sat, 15 Jun 2013 00:04:55 +0000 (09:04 +0900)]
ARM: EXYNOS: Remove legacy interrupt initialization code

This patch removes legacy IRQ initialization code that was used to set
up interrupt handling when booting with ATAGS, which is not supported
any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy dev- and setup- files
Tomasz Figa [Sat, 15 Jun 2013 00:04:50 +0000 (09:04 +0900)]
ARM: EXYNOS: Remove legacy dev- and setup- files

This patch removes now unused files containing old device and GPIO setup
code that was needed for ATAGS based boot, which is not supported on
Exynos any more.

The only exception is setup-i2c0.c that will be removed later, since it
has dependencies in plat-samsung/ directory.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy UART initialization code
Tomasz Figa [Sat, 15 Jun 2013 00:03:49 +0000 (09:03 +0900)]
ARM: EXYNOS: Remove legacy UART initialization code

This patch removes legacy UART initialization code that was used to
set up UART platform devices when booting with ATAGS, which is not
supported on Exynos any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy EINT initialization code
Tomasz Figa [Sat, 15 Jun 2013 00:02:50 +0000 (09:02 +0900)]
ARM: EXYNOS: Remove legacy EINT initialization code

This patch removes legacy EINT initialization code that was used to
handle external interrupts when booting with ATAGS, which is not
supported any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove legacy PMU initialization code
Tomasz Figa [Sat, 15 Jun 2013 00:01:53 +0000 (09:01 +0900)]
ARM: EXYNOS: Remove legacy PMU initialization code

This patch removes legacy PMU initialization code that was used to set
up PMU when booting with ATAGS, which is not supported any more.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: SAMSUNG: Introduce SAMSUNG_ATAGS Kconfig entry
Tomasz Figa [Sat, 15 Jun 2013 00:01:49 +0000 (09:01 +0900)]
ARM: SAMSUNG: Introduce SAMSUNG_ATAGS Kconfig entry

This patch adds a Kconfig entry that enables compilation of legacy
support code required for Samsung platforms that require ATAGS based
boot.

This allows to bypass compilation of this code when platforms without
ATAGS support are selected.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Make ARCH_EXYNOS select USE_OF
Tomasz Figa [Sat, 15 Jun 2013 00:01:11 +0000 (09:01 +0900)]
ARM: EXYNOS: Make ARCH_EXYNOS select USE_OF

Since EXYNOS is now DT-only, it always requires USE_OF option to be
selected. This patch moves USE_OF selection from entries of DT board
files to ARCH_EXYNOS.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Remove unused board files
Tomasz Figa [Fri, 14 Jun 2013 23:58:54 +0000 (08:58 +0900)]
ARM: EXYNOS: Remove unused board files

Since commit 383ffda ARM: EXYNOS: no more support non-DT for EXYNOS SoCs
all non-DT Exynos board files are not used anymore. This patch removes
them.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoMerge branch 'v3.11-next/driver-cpufreq' into v3.11-next/s3c24xx-driver
Kukjin Kim [Tue, 11 Jun 2013 20:24:22 +0000 (05:24 +0900)]
Merge branch 'v3.11-next/driver-cpufreq' into v3.11-next/s3c24xx-driver

11 years agoMerge branch 'v3.11-next/driver-pinctrl' into v3.11-next/s3c24xx-driver
Kukjin Kim [Tue, 11 Jun 2013 20:24:16 +0000 (05:24 +0900)]
Merge branch 'v3.11-next/driver-pinctrl' into v3.11-next/s3c24xx-driver

11 years agoMerge branch 'v3.11-next/driver-gpio' into v3.11-next/s3c24xx-driver
Kukjin Kim [Tue, 11 Jun 2013 20:24:08 +0000 (05:24 +0900)]
Merge branch 'v3.11-next/driver-gpio' into v3.11-next/s3c24xx-driver

11 years agogpio: samsung: Remove OF support for s3c24xx
Sylwester Nawrocki [Mon, 10 Jun 2013 09:22:19 +0000 (18:22 +0900)]
gpio: samsung: Remove OF support for s3c24xx

There is no users of this code and there is already a pinctrl
driver written for s3c24xx which is going to be used on any
s3c24xx DT platforms. Hence this has been effectively a dead
code in mainline.

This reverts commit 172c6a13653ac8cd6a231293b87c93821e90c1d6
gpio: samsung: add devicetree init for s3c24xx arches

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: add ohci and ehci controller nodes for EXYNOS5440
Thomas Abraham [Tue, 11 Jun 2013 19:58:34 +0000 (04:58 +0900)]
ARM: dts: add ohci and ehci controller nodes for EXYNOS5440

EXYNOS5440 includes both OHCI and EHCI usb host controllers.
This patch adds device tree nodes for both of them. And the
EHCI and OHCI controllers on exynos5440 do not need any
explicit phy configuration. So need to assign a different
compatible value for these controllers.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Update G2D documentation for clock entries
Sachin Kamat [Mon, 10 Jun 2013 08:52:30 +0000 (17:52 +0900)]
ARM: dts: Update G2D documentation for clock entries

Added clock entry definitions to G2D bindings document.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add clock entries to G2D node for exynos4x12
Sachin Kamat [Mon, 10 Jun 2013 08:52:27 +0000 (17:52 +0900)]
ARM: dts: Add clock entries to G2D node for exynos4x12

Added clock entries to G2D node for exynos4x12 DT file.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>