This series adds support for configuring ath9k based devices via devicetree. This was tested on PCI(e) based devices. This should work for AHB based devices as well as soon as the ath79 platform is ready to populate the ath9k wmac via devicetree. Changes since v3: - dropped RFC status - dropped all GPIO and LED related devicetree properties (namely: qca,gpio-mask, qca,gpio-val, qca,led-pin, qca,led-active-high). These are only needed as long as ath9k doesn't register itself as a GPIO controller. However, patches for this are already available in LEDE and OpenWrt. Instead of adding new "legacy" properties we should try to get the GPIO controller patches upstream. - rewording of large parts of the documentation which now makes clear when specific properties should be set (or not set) any the reason behind it. Thanks to everyone who suggested improvements or pointed out typos. - use an array for accessing the string representation of the bus types (as suggested by Felix) Martin Blumenstingl (3): Documentation: dt: net: add ath9k wireless device binding ath9k: add a helper to get the string representation of ath_bus_type ath9k: parse the device configuration from an OF node .../devicetree/bindings/net/wireless/qca,ath9k.txt | 59 ++++++++++++++++++++++ drivers/net/wireless/ath/ath.h | 6 +++ drivers/net/wireless/ath/ath9k/init.c | 55 ++++++++++++++++++++ drivers/net/wireless/ath/main.c | 7 +++ 4 files changed, 127 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/wireless/qca,ath9k.txt -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html