mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 06:05:12 +07:00
c84e358718
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>
16 lines
493 B
C
16 lines
493 B
C
#ifndef _DT_BINDINGS_POWER_MT8183_POWER_H
|
|
#define _DT_BINDINGS_POWER_MT8183_POWER_H
|
|
|
|
#define MT8173_POWER_DOMAIN_VDEC 0
|
|
#define MT8173_POWER_DOMAIN_VENC 1
|
|
#define MT8173_POWER_DOMAIN_ISP 2
|
|
#define MT8173_POWER_DOMAIN_MM 3
|
|
#define MT8173_POWER_DOMAIN_VENC_LT 4
|
|
#define MT8173_POWER_DOMAIN_AUDIO 5
|
|
#define MT8173_POWER_DOMAIN_USB 6
|
|
#define MT8173_POWER_DOMAIN_MFG_ASYNC 7
|
|
#define MT8173_POWER_DOMAIN_MFG_2D 8
|
|
#define MT8173_POWER_DOMAIN_MFG 9
|
|
|
|
#endif /* _DT_BINDINGS_POWER_MT8183_POWER_H */
|