ARM: EXYNOS: remove unused <mach/memory.h>

ARCH_EXYNOS doesn't select NEED_MACH_MEMORY_H, so <asm/memory.h> doesn't
include <mach/memory.h> and so this file is not used and can go away.

Signed-off-by: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
[t.figa@samsung.com: boot tested on Exynos4412-based Trats2 board]
Tested-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Sachin Kamat <sachin.kamat@samsung.com>
[sachin.kamat: Tested on Arndale octa board (Exynos 5420)]
Tested-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
ARM: S5PV210: move <mach/regs-clock.h> into mach-s5pv210/

This moves <mach/regs-clock.h> into mach-s5pv210 so no more
include/mach/ under mach-s5pv210.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Merge branch 'v3.17-next/power-exynos' into for-next
Merge branch 'v3.17-next/cleanup-samsung-2' into for-next
Merge remote-tracking branch 'tegra/for-3.17/dt-cros-ec-kbd' into for-next
Merge branch 'v3.17-next/dt-samsung-2' into for-next

Conflicts:
	arch/arm/boot/dts/exynos5250-snow.dts
Documentation: devicetree: Fix s2mps11 and s5m8767 typos

It's LDO2, not LD02.

Reviewed-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Documentation: devicetree: Fix s2mps11 example syntax

It's <1>, not 1.

Reviewed-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Documentation: devicetree: Fix tps65090 typos in example

Specification and existing device trees use vsys-l{1,2}-supply,
not vsys_l{1,2}-supply. Fix the example to match the specification.

Reviewed-by: Doug Anderson <dianders@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Fixes: 21d2202158e9 ("mfd: tps65090: add DT support for tps65090")
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Fix MMC pinctrl for exynos5250-snow

The pinctrl properties should be on the device directly and not on the
slot sub-node.

Reported-by: Doug Anderson <dianders@chromium.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Fold exynos5250-cros-common into exynos5250-snow

exynos5250-cros-common.dtsi was meant for sharing common pieces across
ChromeOS devices. This turned out premature, as several devices ended up
in the common file that are not common after all. Since the remaining
common ChromeOS pieces are fairly minor,  exynos5250-cros-common.dtsi
was requested to be merged into the Snow device tree, sharing only the
keyboard controller for now. This may be re-evaluated as both mature.

Suggested-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Clean up exynos5250-snow

Use the new style of referencing inherited nodes and use symbolic names.
Reorder one pinctrl node in GPIO order.

Goal is the alignment of all exynos5250 based device trees for comparison.

Suggested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Fill in bootargs for exynos5250-snow

exynos5250-cros-common.dtsi had an empty /chosen node.
Fill in exemplary boot arguments.

Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Move dp_hpd from exynos5250 into smdk5250 and snow

Spring uses a different GPIO, so this is not a generic SoC piece.

Suggested-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Clean up exynos5250-smdk5250

Use the new style for referencing inherited nodes and use symbolic names.

Goal is the alignment of all exynos5250 based device trees for comparison.

Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Clean up exynos5250-arndale

Use the new style of referencing inherited nodes, use symbolic names,
tidy indentation and reorder includes.

Goal is the alignment of all exynos5250 based device trees for comparison.

Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Fix apparent GPIO typo in exynos5250-arndale

The GPIO flag 2 has no constant assigned, so this was probably active-low.

Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Simplify USB3503 on exynos5250-arndale

There's no need for a simple-bus, place the smsc,usb3503a directly into
the root node. That's what we're going to do on exynos5250-spring.

Reported-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Add exynos5250-spring device tree

Adds initial support for the HP Chromebook 11.

Cc: Vincent Palatin <vpalatin@chromium.org>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Stephan van Schaik <stephan@synkhronix.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
TEST_ONLY: Disable dp-controller node

Allows to use simplefb rather than exynos drm.

Signed-off-by: Andreas Färber <afaerber@suse.de>