]> 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)
commit2e4614a582f0ea39a0cf3434e89dc8a4d57ffd7e
treef9690b493f3bb0fb217f0e630de974cb0c121276
parent74cafeccdd16aaaac69c44ac8b56d2844c88deda
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