]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/exynosy: Depend on sub-architecture for Exynos MCT and Samsung PWM
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 21 Oct 2021 06:35:00 +0000 (08:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 21 Oct 2021 10:54:28 +0000 (12:54 +0200)
commite8ffbfaf8bf64f43233c8d026a322cc64dcafe21
tree48dcad0c16c294d3c6376a0fae5f0cad69f4b817
parent23c29bfc9afaa723989b850ccd0940ef1a246f84
clocksource/drivers/exynosy: Depend on sub-architecture for Exynos MCT and Samsung PWM

The Exynos MCT and Samsung PWM Timer clocksource drivers are not usable
on anything else than Samsung Exynos, S3C or S5P SoC platforms.  These
are integral parts of a SoC.  Even though the drivers are not user
selectable, still document the hardware architecture explicitly with
depends on ARCH_EXYNOS and others.  This also serves a purpose of
documenting use-case, if someone ever wonders whether to select the
driver for his platform.  No functional change, because drivers are
already selected by the platform described in depends. We follow similar
approach also for other SoC-specific drivers.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211021063500.39314-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig