]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: samsung: Move retention control from mach-exynos to the pinctrl driver
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 26 Jan 2017 09:29:25 +0000 (10:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Jan 2017 15:56:57 +0000 (16:56 +0100)
commit393ffb9830d38a4cdf376ad7ff4103eb4df7ab6b
treef9690b493f3bb0fb217f0e630de974cb0c121276
parent495bd365e9edfde9b8de19a38e57af33117e9bb9
pinctrl: samsung: Move retention control from mach-exynos to the pinctrl driver

This patch moves pad retention control from PMU driver to Exynos pin
controller driver. This helps to avoid possible ordering and logical
dependencies between machine, PMU and pin control code. Till now it
worked fine only because sys_ops for PMU and pin controller were called
in registration order.
This is also a preparation for adding new features to Exynos pin
controller driver, like runtime power management and suspending
individual pin controllers, which might be a part of some power domain.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-exynos/suspend.c
drivers/pinctrl/samsung/pinctrl-exynos.c