summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2017-08-02 17:47:19 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-18 07:02:53 -0700
commit5eebfeaa9c34ca88ce0c0a72af8022a5798941b7 (patch)
tree882d5d79874eb0b7e3f64d5b5e6ea61697939cd2 /include/linux
parenta49bb61510b938152025049730fa922c5da950a1 (diff)
wcnss: modularize wcnss power up sequence and debug logs
Modularize the wcnss power up sequence like wcnss voltage regulator enable/disable sequence and voltage regulator current and voltage level parsing method. Remove hack code from the power wcnss power process and enable/disable the power resource if it's defined in the wcnss device node. Update the debug logs to track the exact state of the power state during device bootup. Remove the unnecessary logging for the optional resource request fails during device bootup. CRs-Fixed: 2086414 Change-Id: I30b1e2196eb9d1c933275f3db34ca0ff5664ea3b Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/wcnss_wlan.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/wcnss_wlan.h b/include/linux/wcnss_wlan.h
index e0c47f8b06bf..bc838936d2c9 100644
--- a/include/linux/wcnss_wlan.h
+++ b/include/linux/wcnss_wlan.h
@@ -38,7 +38,6 @@ struct vregs_level {
};
struct wcnss_wlan_config {
- bool wcn_external_gpio_support;
int use_48mhz_xo;
int is_pronto_vadc;
int is_pronto_v3;
@@ -143,6 +142,8 @@ void wcnss_init_delayed_work(struct delayed_work *dwork , void *callbackptr);
int wcnss_get_iris_name(char *iris_version);
void wcnss_dump_stack(struct task_struct *task);
void wcnss_snoc_vote(bool clk_chk_en);
+int wcnss_parse_voltage_regulator(struct wcnss_wlan_config *wlan_config,
+ struct device *dev);
#ifdef CONFIG_WCNSS_REGISTER_DUMP_ON_BITE
void wcnss_log_debug_regs_on_bite(void);