Chuanhong Guo 107dc4326c generic: ar8216: add mib_poll_interval switch attribute
This allows specifying interval of polling MIB counters from userspace
and allow completely turning off MIB counter support by setting
mib_poll_interval to 0.

Since MIB counter polling is a heavy CPU load for GPIO emulated MDIO
bus, disable this behavior by default. Those who wants to use swconfig
LEDs can enable them with qca,mib-poll-interval dts property or with
swconfig command.

Fixes: FS#2230 ("kworker spikes 100% cpu every 2 second.")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-05-20 21:17:45 +02:00
..
2019-01-28 18:17:32 +01:00
2019-05-11 17:15:41 +02:00
2018-11-05 16:00:00 +01:00
2019-05-13 19:17:41 +02:00
2019-05-13 19:17:41 +02:00
2019-02-25 17:33:16 +01:00
2019-05-13 19:17:41 +02:00
2019-05-11 17:15:41 +02:00
2019-03-11 19:35:43 +01:00
2019-05-11 17:15:41 +02:00
2019-03-27 10:48:59 +01:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-05-11 17:15:41 +02:00
2019-05-11 17:15:41 +02:00