Commit a95a63f9 authored by Jilai Wang's avatar Jilai Wang Committed by Gerrit - the friendly Code Review server
Browse files

msm: npu: Calculate NPU FMAX based on hw fuse value



NPU FMAX can be calculated using fomula
FMax = hw_fuse * 19.2 /2 MHz
Then it will be rounded up to the closest frequency in NPU's
frequency plan to determine the maximum power level that it can
be set.

Change-Id: Ie8a03e866b8bb4e8f56b349d9c24855f5ce9308b
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent 6592439c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment