]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: meson: add Hardware Clock measure driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 18 Dec 2023 09:47:55 +0000 (10:47 +0100)
committerSean Anderson <seanga2@gmail.com>
Tue, 30 Jan 2024 03:34:39 +0000 (22:34 -0500)
commit2da1331d20b34fb9b7ff41ddaf622dd880965a02
tree3594d6f2cc15a2cd7989a350a7370fc3bea34a43
parent6faba41927bdc8973b59678649ef83c564cc421e
clk: meson: add Hardware Clock measure driver

Amlogic SoCs embeds an hardware clock measure block, port it
from Linux and implement it as a UCLK_CLK with only the dump
op and fail-only xlate.

Based on the Linux driver introduced in [1].

[1] commit 2b45ebef39a2 ("soc: amlogic: Add Meson Clock Measure driver").

Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231218-uboot-meson-clk-msr-v3-1-acf4d90ccfee@linaro.org
drivers/clk/meson/Kconfig
drivers/clk/meson/Makefile
drivers/clk/meson/clk-measure.c [new file with mode: 0644]