clk: samsung: Add clock driver for S5PV210 and S5P6442 SoCs

This patch adds new, Common Clock Framework-based clock driver for Samsung
S5PV210 and S5P6442 SoCs. The driver is just added, without enabling it yet.

Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[t.figa: Added support for S5P6442 and clock output. Fixed remaining
minor issues.]
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s5pv210: Migrate clock handling to Common Clock Framework

This patch migrates the s5pv210 platform to use new clock driver
using Common Clock Framework.

Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[t.figa: Fixed merge conflicts.]
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: S5PV210: Remove legacy clock code

Since S5PV210 now has a complete clock driver using Common Clock
Framework, there is no reason to keep the old code. Remove it.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
clk: samsung: Add S5PV210 Audio Subsystem clock driver

This patch adds a driver for clock controller being a part of Audio
Subsystem present on S5PV210 and compatible SoCs. It is used to provide
clocks for other IP blocks of this subsystem.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s5pv210: Add board file for boot using Device Tree

This patch adds board file that will be used to boot S5PV210/S5PC110-based
boards using Device Tree.

Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[t.figa: Rebased and cleaned-up a bit.]
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: Samsung: DT: Add Device tree for s5pv210

Add generic device tree for s5pv210 and s5pv210-pinctrl

Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: Samsung: DT: Add Device tree for S5PC110/S5PV210 Boards

Add DTS for s5pc110 boards: goni, aquila, smdkc110
s5pv210: smdkv210, tiny210, torbreck

Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[t.figa: Fixed merge conflicts.]
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: S5PV210: Remove support for board files

Since all in-tree boards have been moved to device tree, we can now drop
legacy code and make mach-s5pv210 DT-only. This patch does it.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: S5PV210: Untie PM support from legacy code

This patch makes S5PV210 not rely on legacy suspend helpers in
plat-samsung and implements platform suspend logic locally, similarly to
Exynos.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: S5PV210: Remove remaining legacy code

After refactoring suspend/resume, which was last part with dependencies
on legacy code, all Kconfig symbols related to Samsung ATAGS support can
be deselected and more unused code removed.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: SAMSUNG: Correct dependencies of SAMSUNG_PM_DEBUG

Currently SAMSUNG_PM_DEBUG is defined to depend on DEBUG_S3C_UART which
is of "int" type and always evaluates to "n" in logical expressions,
which makes the whole condition never met and the symbol never appears.

This patch replaces DEBUG_S3C_UART with logical OR of all four
DEBUG_S3C_UART[0-3], which might be not the most beautiful solution
ever, but at least gives the user a chance to enable PM debugging.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: S5PV210: Rename mach-s5pv210-dt.c to s5pv210.c

Following the same convention as other platforms, the main source file
of mach directory is renamed by this patch to mach_name.c, which in this
case is s5pv210.c.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: SAMSUNG: Fix missing include in pm-debug.c

Due to merge conflict happening some time ago and further issues leading
this file to be never compiled, it ended up missing inclusion of
linux/serial_s3c.h, which is needed for definitions S3C UART registers.
This patch adds it.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>