u-boot/drivers/clk/meson/Kconfig
Neil Armstrong 2da1331d20 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
2024-01-29 22:34:39 -05:00

41 lines
1.1 KiB
Text

config CLK_MESON_GX
bool "Enable clock support for Amlogic GX"
depends on CLK && ARCH_MESON
default MESON_GX
help
Enable clock support for the Amlogic GX SoC family, such as
the S905, S905X/D and S912.
config CLK_MESON_AXG
bool "Enable clock support for Amlogic AXG"
depends on CLK && ARCH_MESON
default MESON_AXG
help
Enable clock support for the Amlogic AXG SoC family, such as
the A113X/D
config CLK_MESON_G12A
bool "Enable clock support for Amlogic G12A"
depends on CLK && ARCH_MESON
default MESON_G12A
help
Enable clock support for the Amlogic G12A SoC family, such as
the S905X/D2
config CLK_MESON_A1
bool "Enable clock support for Amlogic A1"
depends on CLK && ARCH_MESON
default MESON_A1
help
Enable clock support for the Amlogic A1 SoC family, such as
the A113L
config CLK_MESON_MSR
bool "Enable clock measure driver for Amlogic SoCs"
depends on CLK && ARCH_MESON
depends on CMD_CLK
default ARCH_MESON
help
Enable measuring a set of internal Amlogic SoC clock frequencies
using the Hardware Clock Measure registers and print them using
the clk dump command.