FROMGIT: soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected

The mmsys driver supports only MT8173 device for now, but like other system
controllers is an important piece for other Mediatek devices. Actually
it depends on the mt8173 clock specific driver but that dependency is
not real as it can build without the clock driver. Instead of depends on
a specific model, make the driver depends on the generic ARCH_MEDIATEK and
enable by default so other Mediatek devices can start using it without
flood the Kconfig.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20200401201736.2980433-1-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
(cherry picked from commit 52660e568518b07daf15d117ef5a704909ea2513
 https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git for-next)

BUG=1079334
TEST=./chromeos/scripts/kernelconfig olddefconfig

Signed-off-by: CK Hu <ck.hu@mediatek.com>
Change-Id: Icbe2d381fdbf0a590213f0b3df5d99e3c88ef40b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2214817
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Commit-Queue: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
1 file changed