pinctrl: samsung: Define suspend and resume callbacks for all banks and SoCs
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 23 Jul 2018 17:52:53 +0000 (19:52 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 24 Jul 2018 19:35:54 +0000 (21:35 +0200)
commitcafec5a7e0cb6df1adff515e6ec69911d3362f89
tree4fe8cdcb1a8caeac25959add9d1792e555f895b9
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
pinctrl: samsung: Define suspend and resume callbacks for all banks and SoCs

Suspend and resume callbacks in Exynos/S5Pv210 pin controller drivers,
save and restore state of registers.  This operations should be done for
all banks which have external interrupts (as denoted by using
EXYNOS_PIN_BANK_EINTG/EINTW macros).

Add all banks of Exynos5260 and Exynos5420.  This is necessary step for
supporting suspend to RAM on these SoCs.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Sylwester Nawrocki <snawrocki@kernel.org>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/pinctrl/samsung/pinctrl-exynos-arm.c