The patch is delivered by Cypress to add OOB switch interface
and a P2P stability fix.
Whether to enable OOB is controlled by the gpios property under
bcmdhd_wlan_0 node.
e.g.
bcmdhd_wlan_0: bcmdhd_wlan@0 {
compatible = "android,bcmdhd_wlan";
gpios = <&gpio5 20 0>; /* WL_HOST_WAKE */
wlreg_on-supply = <&wlreg_on>;
};
If valid gpios property found, then driver will consider to use
OOB feature.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
(cherry picked from commit a1f93352b071d37697ad7c09c9bb910482d5a77e)