generic: routerboot sysfs: soft_config support for ath79 cpufreq
authorThibaut VARÈNE <hacks@slashdirt.org>
Fri, 15 May 2020 16:02:02 +0000 (18:02 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Thu, 28 May 2020 09:09:10 +0000 (11:09 +0200)
commit48b14b9cbe521580e9d3f75a5ee1eabdd0440de8
tree2d0308288853b15bf15a119b0471e473f0c71688
parent89226b86665b135fbf4c9eefecccde0c0d0e9f05
generic: routerboot sysfs: soft_config support for ath79 cpufreq

This commit introduces support for R/W access to the CPU frequency
setting of routerboot on ath79 hardware.

On unsupported hardware, the sysfs attribute will expose the raw tag
value (read-only) to help with reverse engineering its meaning.

Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
target/linux/generic/files/drivers/platform/mikrotik/rb_softconfig.c