]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: cleanup Canaan Kendryte K210 sysctl driver
authorDamien Le Moal <damien.lemoal@wdc.com>
Sun, 13 Dec 2020 13:50:40 +0000 (22:50 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 14 Jan 2021 23:08:49 +0000 (15:08 -0800)
commitb8569f9fb28a1041b61600a489ecbb2f67ed7a54
tree08b47206150ccdd7f318a8a8a176eff2ff733bc0
parentc56868283fe324a6b4073b95ff95db1dd565a3d4
riscv: cleanup Canaan Kendryte K210 sysctl driver

Introduce the header file include/soc/canaan/k210-sysctl.h to have a
common definition of the Canaan Kendryte K210 SoC system controller
registers. Simplify the k210 system controller driver code by removing
unused register bits definition. The MAINTAINERS file is updated,
adding the entry "CANAAN/KENDRYTE K210 SOC SYSTEM CONTROLLER DRIVER"
with myself listed as maintainer for this driver.
This is a preparatory patch for introducing the K210 clock driver. No
functional changes are introduced.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
MAINTAINERS
drivers/soc/canaan/k210-sysctl.c
include/soc/canaan/k210-sysctl.h [new file with mode: 0644]