clk: mtmips: add clock driver for MediaTek MT7621 SoC
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 20 May 2022 03:22:36 +0000 (11:22 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 13 Jul 2022 21:03:37 +0000 (23:03 +0200)
commite75cc00982f6fa035a476ab90bd5ddd66ff23622
tree4bb3bad685cefca0ef4c1bc13a708a2e7b4deb5b
parent46c7e9ed03dfeb2ac6a05ccd05d1a884573bb452
clk: mtmips: add clock driver for MediaTek MT7621 SoC

This patch adds a clock driver for MediaTek MT7621 SoC.
This driver provides clock gate control as well as getting clock frequency
for CPU/SYS/XTAL and some peripherals.

Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/clk/mtmips/Makefile
drivers/clk/mtmips/clk-mt7621.c [new file with mode: 0644]
include/dt-bindings/clock/mt7621-clk.h [new file with mode: 0644]