Add the feature-disable property.
It will be parsed when brcmfmac is probed.
If someone want to disable some features by default, it's possible to
use this property.
Change-Id: Id9062624d5bc87055295209a329a817103fd11f5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
if (bus_type != BRCMF_BUSTYPE_SDIO)
return;
+ if (of_property_read_u32(np, "brcm,feature-disable", &val) == 0) {
+ settings->feature_disable |= val;
+ brcmf_info("Disabled feature 0x%x\n", settings->feature_disable);
+ }
+
if (of_property_read_u32(np, "brcm,drive-strength", &val) == 0)
sdio->drive_strength = val;