|
@@ -1,6 +1,6 @@
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
/*
|
|
|
- * Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
|
*/
|
|
|
|
|
|
#include <linux/slab.h>
|
|
@@ -8,8 +8,11 @@
|
|
|
#include "mmrm_debug.h"
|
|
|
|
|
|
int msm_mmrm_debug = MMRM_ERR | MMRM_WARN | MMRM_PRINTK;
|
|
|
+u8 msm_mmrm_enable_throttle_feature = 0;
|
|
|
u8 msm_mmrm_allow_multiple_register = 0;
|
|
|
|
|
|
+
|
|
|
+
|
|
|
#define MAX_DBG_BUF_SIZE 4096
|
|
|
|
|
|
static ssize_t msm_mmrm_debugfs_info_read(
|
|
@@ -61,6 +64,7 @@ struct dentry *msm_mmrm_debugfs_init(void)
|
|
|
/* add other params here */
|
|
|
debugfs_create_u32("debug_level", 0644, dir, &msm_mmrm_debug);
|
|
|
debugfs_create_u8("allow_multiple_register", 0644, dir, &msm_mmrm_allow_multiple_register);
|
|
|
+ debugfs_create_u8("enable_throttle_feature", 0644, dir, &msm_mmrm_enable_throttle_feature);
|
|
|
|
|
|
d_mpr_h("%s: exiting\n", __func__);
|
|
|
return dir;
|