Re: [ath9k-devel] [PATCH v4 3/3] ath9k: parse the device configuration from an OF node

2016-07-10 Thread Martin Blumenstingl
On Sun, Jul 10, 2016 at 2:19 AM, Bjørn Mork wrote: > Martin Blumenstingl writes: > >> + if (of_property_read_bool(np, "qca,clk-25mhz")) >> + ah->is_clk_25mhz = true; >> + >> + if (of_property_read_bool(np,

Re: [ath9k-devel] [PATCH v4 3/3] ath9k: parse the device configuration from an OF node

2016-07-10 Thread Oleksij Rempel
Am 10.07.2016 um 02:19 schrieb Bjørn Mork: > Martin Blumenstingl writes: > >> +if (of_property_read_bool(np, "qca,clk-25mhz")) >> +ah->is_clk_25mhz = true; >> + >> +if (of_property_read_bool(np, "qca,disable-2ghz")) >> +

[ath9k-devel] [PATCH v4 3/3] ath9k: parse the device configuration from an OF node

2016-07-09 Thread Martin Blumenstingl
This makes it possible to configure ath9k based devices using devicetree. That makes some out-of-tree "convert devicetree to ath9k_platform_data glue"-code obsolete. Signed-off-by: Martin Blumenstingl --- drivers/net/wireless/ath/ath9k/init.c | 55