]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5b8c96e04f2e34100a9dd0f79fd38cc6177c28d
tree4fe8cdcb1a8caeac25959add9d1792e555f895b9
parent2358d48a6db92cb022eb848a0943363a742d51a5
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