soc: mediatek: Add infracfg misc driver support
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Jun 2015 06:17:02 +0000 (08:17 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 6 Jul 2015 16:36:31 +0000 (18:36 +0200)
commit16a624a9c81814cc2f1353eff2e502430c3fa79a
tree3c96296333870a05928a846967084de73e1446fd
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
soc: mediatek: Add infracfg misc driver support

This adds support for some miscellaneous bits of the infracfg controller.
The mtk_infracfg_set/clear_bus_protection functions are necessary for
the scpsys power domain driver to handle the bus protection bits which
are contained in the infacfg register space.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/Kconfig
drivers/soc/mediatek/Makefile
drivers/soc/mediatek/mtk-infracfg.c [new file with mode: 0644]
include/linux/soc/mediatek/infracfg.h [new file with mode: 0644]