mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
2907a1f80d
New driver module to read RPM RBCPR stats. RPM processor maintains the RBCPR stats in MSG RAM. This driver module will read the stats from the MSG RAM and display the stats. Users can acess the RPM RBCPR stats through debugfs. Currently these stats are only maintained for MSM8930. CRs-Fixed: 364785 Change-Id: I306409609e9aeb103a88207be7fc3a7ab2638d36 Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
30 lines
877 B
C
30 lines
877 B
C
/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __ARCH_ARM_MACH_MSM_RPM_RBCPR_STATS_H
|
|
#define __ARCH_ARM_MACH_MSM_RPM_RBCPR_STATS_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct msm_rpmrbcpr_design_data {
|
|
u32 upside_steps;
|
|
u32 downside_steps;
|
|
int svs_voltage;
|
|
int nominal_voltage;
|
|
int turbo_voltage;
|
|
};
|
|
|
|
struct msm_rpmrbcpr_platform_data {
|
|
struct msm_rpmrbcpr_design_data rbcpr_data;
|
|
};
|
|
#endif
|