Team,
We are trying to use the internal clock output (clkout1) to drive a camera sensor. (The required clock signal of the camera is 12 MHz.)
The pinmux of that signal has already been set to MODE 3 in the dts file. However, we are not sure how to configure the control register to specify clkout1.
In the datasheet, we know the corresponding register is PRCM_CM_DIV_M4_DPLL_CORE. (As the figure shown below)
We want to set field HSDIVIDER_CLKOUT1_P to 1, field ST_HSDIVIDER_CLKOU to 1, field HSDIVIDER_CLKOUT1_ DIVCHACK to 1 and field HSDIVIDER_CLKOUT1_ DIV to 16.
If you can shed light on which file we should modify (either in U-Boot or in kernel), that will be a great help!
Thanks,
Evan