pinctrl: samsung: Fix suspend/resume for Exynos5433 GPF1..5 banks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 May 2018 06:34:49 +0000 (08:34 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:58:02 +0000 (14:58 +0900)
commitd7357272ad2ba38031961bfbbafe4f74bd469c9a
tree01940a87f5400e627a933e5eafe50b338fb05600
parented9381c2fe3a43c76f9456dea0e431d935793ce0
pinctrl: samsung: Fix suspend/resume for Exynos5433 GPF1..5 banks

GPF1..5 banks in Exynos5433 are located in two pinctrl devices: ALIVE and
IMEM. Although they are partially located in ALIVE section, the state of
their registers in IMEM section is lost after suspend/resume cycle. To
properly handle such case, those banks have to be defined with standard
'exynos5433_bank_type_off' type (with PINCFG_TYPE_CON_PDN and
PINCFG_TYPE_PUD_PDN register offsets). This automatically instructs
the generic Samsung pinctrl suspend/resume code to save and restore state
of those registers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Change-Id: Ib097dca4d0a3a44a9e6216461b0e97aa090d3b16
drivers/pinctrl/samsung/pinctrl-exynos.h