]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: exynos-lpass: Add support for clocks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 23 Mar 2017 08:03:25 +0000 (09:03 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 Apr 2017 08:25:07 +0000 (09:25 +0100)
commit8f1be5bd14e8faf5a1255a32621601bb11a96232
treed1f09c00ebfa5b1792848121c0a90ecf4873eae3
parentaddebf1588ab812b891651ef5fba194659f71ea5
mfd: exynos-lpass: Add support for clocks

Exynos LPASS requires some clocks to be enabled to make any access to its
registers. This patch adds code for handling such clocks. For current set
of registers it is enough to keep sfr0_ctrl clock enabled. Till now it
worked only because those clocks were enabled by bootloader and driver
probe() happened before they were disabled by clock core because of lack
of users. Handling those clocks is also needed to make it possible to
enable support for audio power domain.

This patch requires adding sfr0_ctrl clock to device tree.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt
drivers/mfd/exynos-lpass.c