summaryrefslogtreecommitdiffstats
path: root/drivers/soc/amlogic/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2018-11-18 14:50:23 +0100
committerKevin Hilman <khilman@baylibre.com>2018-11-29 01:55:35 +0100
commit2b45ebef39a2caad409f70b22b4a2a41df9815b6 (patch)
tree5dd48700b89b6a6f505c8ce1d3d34d2662765cb5 /drivers/soc/amlogic/Kconfig
parentdt-bindings: amlogic: Add Internal Clock Measurer bindings (diff)
downloadlinux-2b45ebef39a2caad409f70b22b4a2a41df9815b6.tar.xz
linux-2b45ebef39a2caad409f70b22b4a2a41df9815b6.zip
soc: amlogic: Add Meson Clock Measure driver
The Amlogic Meson SoCs embeds a clock measurer IP to measure the internal clock paths frequencies. The precision is determined by stepping into the duration until the counter overflows. The debugfs slows a pretty summary and each clock can be measured individually aswell. Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'drivers/soc/amlogic/Kconfig')
-rw-r--r--drivers/soc/amlogic/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig
index 2f282b472912..36633bb6c8bb 100644
--- a/drivers/soc/amlogic/Kconfig
+++ b/drivers/soc/amlogic/Kconfig
@@ -7,6 +7,14 @@ config MESON_CANVAS
help
Say yes to support the canvas IP for Amlogic SoCs.
+config MESON_CLK_MEASURE
+ bool "Amlogic Meson SoC Clock Measure driver"
+ depends on ARCH_MESON || COMPILE_TEST
+ default ARCH_MESON
+ help
+ Say yes to support of Measuring a set of internal SoC clocks
+ from the debugfs interface.
+
config MESON_GX_SOCINFO
bool "Amlogic Meson GX SoC Information driver"
depends on ARCH_MESON || COMPILE_TEST