cnss2: Support enable 32k sleep clk from cnss2
Add one new device tree config item "qcom,sleep-clk-supported"
to support enable 32k internal sleep clock in case it has no
external 32k clk attached in wlan chipset HW. Like qca6390
on some auto platform, host need explicitly tell firmware
to use internal sleep clock, otherwise it will cause LMAC
ps failure.
Change-Id: I52f5d332a912235596eb127ab8e4660355988038
CRs-Fixed: 3448595
This commit is contained in:

committed by
Madan Koyyalamudi

parent
8eb1e1e993
commit
03a337ba78
@@ -288,6 +288,14 @@ cnss_get_pld_bus_ops_name(struct cnss_plat_data *plat_priv)
|
||||
}
|
||||
#endif
|
||||
|
||||
void cnss_get_sleep_clk_supported(struct cnss_plat_data *plat_priv)
|
||||
{
|
||||
plat_priv->sleep_clk = of_property_read_bool(plat_priv->dev_node,
|
||||
"qcom,sleep-clk-support");
|
||||
cnss_pr_dbg("qcom,sleep-clk-support is %d\n",
|
||||
plat_priv->sleep_clk);
|
||||
}
|
||||
|
||||
void cnss_get_bwscal_info(struct cnss_plat_data *plat_priv)
|
||||
{
|
||||
plat_priv->no_bwscale = of_property_read_bool(plat_priv->dev_node,
|
||||
|
Reference in New Issue
Block a user