hi
when we set 0x7 in CM_CLKOUT_CTRL register for SYS_CLKOUT2/8 we dont get output clock, however it works
for 0x5 and 0x6, for input we are using 192MHz clock.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi
when we set 0x7 in CM_CLKOUT_CTRL register for SYS_CLKOUT2/8 we dont get output clock, however it works
for 0x5 and 0x6, for input we are using 192MHz clock.
Hello,
File name is rowboat-kernel/arch/arm/mach-omap2/board-am335xevm.c
void __iomem *base;
unsigned int val;
base = ioremap(0x44E00700, SZ_4K);
val = (7 << 3) | (3 << 0);
writel(val, base);
iounmap(base);
setup_pin_mux(clkout2_pin_mux);
Source Clock is 192MHz register CM_CLKOUT_CTRL is set to 0xBF,(10111111) to get 24MHz output.
we use above code in board init, at runtime we enable/disable clock using clock_enable() api of kernel. Also we tested by writting 0xFF during init time but still it doesnt work.
We have tested above mechanism to work for clk/6 and clk/7