Hi,
On the beaglebone running the Angstrom distribution (current kernel from git), how do I change the clkout2 pin to use the L3 clock as a source instead of the 32.768 kHz oscillator?
Without Linux, I’d just write 0x81 to the CM_CLKOUT_CTRL register, but there seem to be data structures in place in arch/arm/mach-omap2/clock33xx_data.c that define the various clock sources, the control registers, dividers and so on and this information is entered into a global clock table.
Thus, as a result of this the clkout2_ck then shows up in /sys/kernel/debug/clock/clk_32768_cl/sysclkout_pre_ck/clkout2_ck.
However, I can not seem to find information anywhere on how to change the clock source to the l3_gclk (which is also defined in the same file, but does now show up in /sys/kernel/debug/clock).
Thanks for any hints!
Cheers,
Hermann