bandwidth: add min bandwidth read in usage_stat [1/1]

PD#SWPL-7960

Problem:
There is no min ddr bandwidth data

Solution:
Add this value in sysfs

Verify:
p212

Change-Id: I9d90476d30c0ca7789046d8d205f0802de2b4acf
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
This commit is contained in:
Tao Zeng
2019-04-30 10:56:18 +08:00
committed by Luke Go
parent 0899d02319
commit 5e1ec0d89d

View File

@@ -160,6 +160,7 @@ struct ddr_bandwidth {
spinlock_t lock;
struct ddr_bandwidth_sample cur_sample;
struct ddr_bandwidth_sample max_sample;
struct ddr_bandwidth_sample min_sample;
struct ddr_avg_bandwidth avg;
u64 port[MAX_CHANNEL];
void __iomem *ddr_reg;