Loading Documentation/devicetree/bindings/cnss/cnss-wlan.txt +2 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ Optional properties: - qcom,notify-modem-status: Boolean property to decide whether modem notification should be enabled or not in this platform - wlan-soc-swreg-supply: phandle to the external 1.15V regulator for QCA6174 - qcom,wlan-uart-access: Boolean property to decide whether QCA6174 has exclusive access to UART. Example: Loading drivers/net/wireless/cnss/cnss.c +4 −0 Original line number Diff line number Diff line Loading @@ -322,6 +322,10 @@ static int cnss_wlan_get_resources(struct platform_device *pdev) goto err_reg_enable; } if (of_find_property((&pdev->dev)->of_node, "qcom,wlan-uart-access", NULL)) penv->cap.cap_flag |= CNSS_HAS_UART_ACCESS; if (of_get_property(pdev->dev.of_node, WLAN_SWREG_NAME"-supply", NULL)) { Loading include/net/cnss.h +1 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ struct cnss_wlan_driver { /* platform capabilities */ enum cnss_platform_cap_flag { CNSS_HAS_EXTERNAL_SWREG = 0x01, CNSS_HAS_UART_ACCESS = 0x02, }; struct cnss_platform_cap { Loading Loading
Documentation/devicetree/bindings/cnss/cnss-wlan.txt +2 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,8 @@ Optional properties: - qcom,notify-modem-status: Boolean property to decide whether modem notification should be enabled or not in this platform - wlan-soc-swreg-supply: phandle to the external 1.15V regulator for QCA6174 - qcom,wlan-uart-access: Boolean property to decide whether QCA6174 has exclusive access to UART. Example: Loading
drivers/net/wireless/cnss/cnss.c +4 −0 Original line number Diff line number Diff line Loading @@ -322,6 +322,10 @@ static int cnss_wlan_get_resources(struct platform_device *pdev) goto err_reg_enable; } if (of_find_property((&pdev->dev)->of_node, "qcom,wlan-uart-access", NULL)) penv->cap.cap_flag |= CNSS_HAS_UART_ACCESS; if (of_get_property(pdev->dev.of_node, WLAN_SWREG_NAME"-supply", NULL)) { Loading
include/net/cnss.h +1 −0 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ struct cnss_wlan_driver { /* platform capabilities */ enum cnss_platform_cap_flag { CNSS_HAS_EXTERNAL_SWREG = 0x01, CNSS_HAS_UART_ACCESS = 0x02, }; struct cnss_platform_cap { Loading