ARM: EXYNOS: manta: modify eMMC's drive stregnth to LV4

Bug: 7390764

Change-Id: I0c75ba51eac511301f69f10ef09286a6492eb42b
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
mmc: dw_mmc: add h/w reset for mmc card

This patch adds h/w reset to support mmc core sequence
for mmc card. This patch provides more stability on mmc driver.

Bug: 7118793

Change-Id: I2b8a7553f48ce9622aaad843e4679b09e5d49760
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
ARM: EXYNOS: manta: add h/w reset function for eMMC

This patch adds h/w reset function to board file with using EMMC_EN
gpio pin. And other eMMC's pins should be set to output low for
power off.

Bug: 7390764

Change-Id: I5073f00fc5b2554a03d0d81ce67ce4e439e9d057
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
mmc: dw_mmc: add DW_MMC_QUIRK_HW_RESET_PW quirk

This patch adds DW_MMC_QUIRK_HW_RESET_PW quirk for supporting
hardware reset using power off/on of card instead of reset pin
that is explicit in ext_csd regs.

Bug: 7390764

Change-Id: Ieb151ccae0bbc6d2d9c2120472afbbc82ccd5908
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
mmc: dw_mmc: remove wait_prvdata_complete bit setting

This patch removes wait_prvdata_complete bit setting of CMD reg in
abnormal status. This bit is used for waiting for previous data transfer
completion before sending command. In abnormal status, it is not needed.

Bug: 7390764

Change-Id: I8c55f19184d6716a99d8e4da0ffe770789961fac
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
mmc: dw_mmc: fix to check data busy on request func by CMD13

CMD13 is used to check the card state whether card is busy or not
after block write. If busy time is long, CMD13 should be issued many times.
Instead of that case, old patch was added to reduce cpu load.
But it was not considered for some erase operations which takes long
times over a few seconds. If it was taking time over a few seconds,
though it returned error, it was not error.
This patch fixes CMD13 is able to issue every 1 seconds.

Bug: 7336393, 7118793

Change-Id: I82ae59e0ebb0a07b9660e509ed848dfe73333255
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
ARM: EXYNOS: manta: Enable DW_MMC_QUIRK_HW_RESET_PW

This enables resetting the emmc chip when transaction errors are detected.

Change-Id: Ia5771acc8d69ae49735f996448c1c061342783d0
Signed-off-by: Ken Sumrall <ksumrall@android.com>
s3c-fb: add register dump to debugfs

Bug: 7572971
Change-Id: I78a86db637a090791258d541e8bf4f4c5e138e50
Signed-off-by: Greg Hackmann <ghackmann@google.com>
ARM: exynos: manta: reserve 384MB for mali driver

Call kbase_carveout_mem_reserve to create a 384MB carveout for
use by the Mali GPU driver.  This will avoid sprinkling unmovable
pages mapped into the gpu all over the kernel's memory.

Change-Id: I3227556e175319553c25751a8447ed43be99dbcf
Signed-off-by: Colin Cross <ccross@android.com>