]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: Add clock driver for Amlogic A1
authorIgor Prusov <ivprusov@salutedevices.com>
Mon, 25 Sep 2023 15:52:09 +0000 (18:52 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 12 Oct 2023 11:39:41 +0000 (13:39 +0200)
commit1fcf190e7001f0723dce7d36713e3530066a02f7
tree9e1d44980f0f948ac9e7fd8cfb345b818e17ce75
parent935d410c29601ca2502132a8235f4cec7e2932c9
clk: Add clock driver for Amlogic A1

This patch adds basic clock driver for Amlogic A1 Family which supports
enabling/disabling some gates, getting frequencies and setting rate
with limited reparenting.

Signed-off-by: Igor Prusov <ivprusov@salutedevices.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Link: https://lore.kernel.org/r/20230925155209.130671-3-ivprusov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/include/asm/arch-meson/clock-a1.h [new file with mode: 0644]
drivers/clk/meson/Kconfig
drivers/clk/meson/Makefile
drivers/clk/meson/a1.c [new file with mode: 0644]