summaryrefslogtreecommitdiff
path: root/drivers/clk/meson/g12a.h
diff options
context:
space:
mode:
authorMaxime Jourdan <mjourdan@baylibre.com>2019-03-19 11:11:38 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2019-04-01 10:45:11 +0200
commit4b0f73055acaced436d5de909b26d001ea7f667c (patch)
treee8e11b4c5f63bde19c6ddf2a14a744b582f740ea /drivers/clk/meson/g12a.h
parent34775209ba37bff3b4e60ddee0a2d69966146a5d (diff)
clk: meson-g12a: add video decoder clocks
Add the necessary clock parts for: - VDEC_1: used to feed VDEC_1 - VDEC_HEVC: the "back" part of the VDEC_HEVC block - VDEC_HEVCF: the "front" part of the VDEC_HEVC block In previous SoC generations (GXL, GXBB), there was only one VDEC_HEVC clock, which got split in two parts for G12A. Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lkml.kernel.org/r/20190319101138.27520-2-mjourdan@baylibre.com
Diffstat (limited to 'drivers/clk/meson/g12a.h')
-rw-r--r--drivers/clk/meson/g12a.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/clk/meson/g12a.h b/drivers/clk/meson/g12a.h
index 1393a09730a6..39c41af70804 100644
--- a/drivers/clk/meson/g12a.h
+++ b/drivers/clk/meson/g12a.h
@@ -189,8 +189,14 @@
#define CLKID_PCIE_PLL_DCO 198
#define CLKID_PCIE_PLL_DCO_DIV2 199
#define CLKID_PCIE_PLL_OD 200
+#define CLKID_VDEC_1_SEL 202
+#define CLKID_VDEC_1_DIV 203
+#define CLKID_VDEC_HEVC_SEL 205
+#define CLKID_VDEC_HEVC_DIV 206
+#define CLKID_VDEC_HEVCF_SEL 208
+#define CLKID_VDEC_HEVCF_DIV 209
-#define NR_CLKS 202
+#define NR_CLKS 211
/* include the CLKIDs that have been made part of the DT binding */
#include <dt-bindings/clock/g12a-clkc.h>