generic: routerboot sysfs: soft_config support for ath79 cpufreq
authorThibaut VARÈNE <[email protected]>
Fri, 15 May 2020 16:02:02 +0000 (18:02 +0200)
committerKoen Vandeputte <[email protected]>
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 <[email protected]>
Tested-by: Roger Pueyo Centelles <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
target/linux/generic/files/drivers/platform/mikrotik/rb_softconfig.c