soc: Mediatek: Add SCPSYS power domain driver
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Jun 2015 06:17:04 +0000 (08:17 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 6 Jul 2015 16:36:32 +0000 (18:36 +0200)
commitc84e358718a66f76ac0de1681d15d8d0c68fcdab
tree6135dd6b9e8d60033a5bf088017472f0033ec85b
parent859e42800bcfc4db9cefaa2c24d6e3a203fe961d
soc: Mediatek: Add SCPSYS power domain driver

This adds a power domain driver for the Mediatek SCPSYS unit.

The System Control Processor System (SCPSYS) has several power
management related tasks in the system. The tasks include thermal
measurement, dynamic voltage frequency scaling (DVFS), interrupt
filter and lowlevel sleep control. The System Power Manager (SPM)
inside the SCPSYS is for the MTCMOS power domain control.

For now this driver only adds power domain support, the more
advanced features are not yet supported. The driver implements
the generic PM domain device tree bindings, the first user will
most likely be the Mediatek AFE audio driver.

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-scpsys.c [new file with mode: 0644]
include/dt-bindings/power/mt8173-power.h [new file with mode: 0644]