Commit 2e120542 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Jerome Brunet

clk: meson: meson8b: Export the video clocks

Setting the video clocks requires fine-tuned adjustments of various
video clocks. Export the required ones to allow changing the video clock
for the CVBS and HDMI outputs at runtime.
Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210713232510.3057750-7-martin.blumenstingl@googlemail.com
parent 6880fa6c
...@@ -107,14 +107,11 @@ ...@@ -107,14 +107,11 @@
#define CLKID_PERIPH_SEL 125 #define CLKID_PERIPH_SEL 125
#define CLKID_AXI_SEL 127 #define CLKID_AXI_SEL 127
#define CLKID_L2_DRAM_SEL 129 #define CLKID_L2_DRAM_SEL 129
#define CLKID_HDMI_PLL_LVDS_OUT 131 #define CLKID_HDMI_PLL_LVDS_OUT 131
#define CLKID_HDMI_PLL_HDMI_OUT 132
#define CLKID_VID_PLL_IN_SEL 133 #define CLKID_VID_PLL_IN_SEL 133
#define CLKID_VID_PLL_IN_EN 134 #define CLKID_VID_PLL_IN_EN 134
#define CLKID_VID_PLL_PRE_DIV 135 #define CLKID_VID_PLL_PRE_DIV 135
#define CLKID_VID_PLL_POST_DIV 136 #define CLKID_VID_PLL_POST_DIV 136
#define CLKID_VID_PLL_FINAL_DIV 137
#define CLKID_VCLK_IN_SEL 138
#define CLKID_VCLK_IN_EN 139 #define CLKID_VCLK_IN_EN 139
#define CLKID_VCLK_DIV1 140 #define CLKID_VCLK_DIV1 140
#define CLKID_VCLK_DIV2_DIV 141 #define CLKID_VCLK_DIV2_DIV 141
...@@ -125,7 +122,6 @@ ...@@ -125,7 +122,6 @@
#define CLKID_VCLK_DIV6 146 #define CLKID_VCLK_DIV6 146
#define CLKID_VCLK_DIV12_DIV 147 #define CLKID_VCLK_DIV12_DIV 147
#define CLKID_VCLK_DIV12 148 #define CLKID_VCLK_DIV12 148
#define CLKID_VCLK2_IN_SEL 149
#define CLKID_VCLK2_IN_EN 150 #define CLKID_VCLK2_IN_EN 150
#define CLKID_VCLK2_DIV1 151 #define CLKID_VCLK2_DIV1 151
#define CLKID_VCLK2_DIV2_DIV 152 #define CLKID_VCLK2_DIV2_DIV 152
...@@ -137,17 +133,11 @@ ...@@ -137,17 +133,11 @@
#define CLKID_VCLK2_DIV12_DIV 158 #define CLKID_VCLK2_DIV12_DIV 158
#define CLKID_VCLK2_DIV12 159 #define CLKID_VCLK2_DIV12 159
#define CLKID_CTS_ENCT_SEL 160 #define CLKID_CTS_ENCT_SEL 160
#define CLKID_CTS_ENCT 161
#define CLKID_CTS_ENCP_SEL 162 #define CLKID_CTS_ENCP_SEL 162
#define CLKID_CTS_ENCP 163
#define CLKID_CTS_ENCI_SEL 164 #define CLKID_CTS_ENCI_SEL 164
#define CLKID_CTS_ENCI 165
#define CLKID_HDMI_TX_PIXEL_SEL 166 #define CLKID_HDMI_TX_PIXEL_SEL 166
#define CLKID_HDMI_TX_PIXEL 167
#define CLKID_CTS_ENCL_SEL 168 #define CLKID_CTS_ENCL_SEL 168
#define CLKID_CTS_ENCL 169
#define CLKID_CTS_VDAC0_SEL 170 #define CLKID_CTS_VDAC0_SEL 170
#define CLKID_CTS_VDAC0 171
#define CLKID_HDMI_SYS_SEL 172 #define CLKID_HDMI_SYS_SEL 172
#define CLKID_HDMI_SYS_DIV 173 #define CLKID_HDMI_SYS_DIV 173
#define CLKID_MALI_0_SEL 175 #define CLKID_MALI_0_SEL 175
......
...@@ -105,6 +105,16 @@ ...@@ -105,6 +105,16 @@
#define CLKID_PERIPH 126 #define CLKID_PERIPH 126
#define CLKID_AXI 128 #define CLKID_AXI 128
#define CLKID_L2_DRAM 130 #define CLKID_L2_DRAM 130
#define CLKID_HDMI_PLL_HDMI_OUT 132
#define CLKID_VID_PLL_FINAL_DIV 137
#define CLKID_VCLK_IN_SEL 138
#define CLKID_VCLK2_IN_SEL 149
#define CLKID_CTS_ENCT 161
#define CLKID_CTS_ENCP 163
#define CLKID_CTS_ENCI 165
#define CLKID_HDMI_TX_PIXEL 167
#define CLKID_CTS_ENCL 169
#define CLKID_CTS_VDAC0 171
#define CLKID_HDMI_SYS 174 #define CLKID_HDMI_SYS 174
#define CLKID_VPU 190 #define CLKID_VPU 190
#define CLKID_VDEC_1 196 #define CLKID_VDEC_1 196
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment