energy: Memory-mapped Energy Controller component

This patch provides an Energy Controller device that provides software
(driver) access to a DVFS handler. The device is currently residing in
the dev/arm tree, but there is nothing inherently ARM specific in the
behaviour. It is currently only tested and supported for ARM Linux,
hence the location.
This commit is contained in:
Akash Bagdia
2014-09-20 17:18:23 -04:00
parent 4422d1322a
commit 04e51e5e3e
4 changed files with 501 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ Import('*')
if env['TARGET_ISA'] == 'arm':
SimObject('Gic.py')
SimObject('RealView.py')
SimObject('EnergyCtrl.py')
Source('a9scu.cc')
Source('amba_device.cc')
@@ -59,6 +60,7 @@ if env['TARGET_ISA'] == 'arm':
Source('rtc_pl031.cc')
Source('timer_cpulocal.cc')
Source('vgic.cc')
Source('energy_ctrl.cc')
DebugFlag('AMBA')
DebugFlag('HDLcd')
@@ -66,4 +68,5 @@ if env['TARGET_ISA'] == 'arm':
DebugFlag('Pl050')
DebugFlag('GIC')
DebugFlag('RVCTRL')
DebugFlag('EnergyCtrl')
DebugFlag('VGIC')