soc/intel/common: add processor power limits control support
commit4fafd412090d7de9a2ec6232ed22bbb1b1ce5dde
authorSumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Thu, 7 May 2020 10:02:39 +0000 (7 15:32 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 18 May 2020 07:09:25 +0000 (18 07:09 +0000)
treea6977fc548a989831a58ae21cc733ced126e629a
parent5f52c0e91fc4ea545b6920157af7508b4a69a718
soc/intel/common: add processor power limits control support

Add processor power limits control support under common code.

BRANCH=None
BUG=None
TEST=Built and checked this entry on Volteer system,
cat /sys/class/powercap/intel-rapl/intel-rapl\:0/*

Change-Id: I41fd95949aa2b02828aa2d13d29b962cb579904a
Signed-off-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39346
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/soc/intel/common/block/include/intelblocks/power_limit.h [new file with mode: 0644]
src/soc/intel/common/block/power_limit/Kconfig [new file with mode: 0644]
src/soc/intel/common/block/power_limit/Makefile.inc [new file with mode: 0644]
src/soc/intel/common/block/power_limit/power_limit.c [new file with mode: 0644]