aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_config.h
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2022-04-26 18:31:24 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2022-05-05 12:56:33 +0000
commit301399d9e0b619fb2e229c9a9223aaf31ec6bcfa (patch)
tree5dbbfa41d5186add0e28b6d6b3e07b2267856c4f /src/ethosu_config.h
parentc6505f3f8df8a5f00197f0eee5cc502e4e59c6a4 (diff)
downloadethos-u-core-driver-301399d9e0b619fb2e229c9a9223aaf31ec6bcfa.tar.gz
Refactor power handling22.05-rc1
Add reference counted ethosu_request_power(), ethosu_release_power() functions. While there are active requests, disable the Q-channel power gating of the Ethos-U device, leaving the device powered on. Note that clock gating is implemented to follow the state of the power gating. Add ethosu_soft_reset() function. Restore power- and clock gating state after reset. Refactor and simplify driver code to use the new functions. Change-Id: I9756572c5c3e51b2be244bcea856d88e890e2d40
Diffstat (limited to 'src/ethosu_config.h')
0 files changed, 0 insertions, 0 deletions