Hello,
I have a custom board with imx6dp, I connected an external oscillator of 32MHz to RTC_XTALI pin . I know that when the imx6 detects this signal comming from the XTALI it uses automatically this external clock. I have three questions:
1- how does this affect the device tree configuration?
I found in internet this config of the sabreauto board:
clocks { | |
codec_osc: anaclk2 { | |
compatible = "fixed-clock"; | |
#clock-cells = <0>; | |
clock-frequency = <24576000>; | |
}; | |
}; |
but it confuses me beacuse the oscillator for the board is of 28MHz not 24 as can be seen in the layout of the board.
2- When I use the clock from the ESAI interface, is it taking this frequency for the ESAI_TX_HF_CLK??
3- In the imx6qdl-clock.h it gives different clock values, but what does it mean the number , what is the frequency for each one of the definitions?
I have read different documents, please dont refere me to read I will appreciate a clear answer :smileyhappy:
Thanks in advance
Kind regards.
Hi jaime
1. 32MHz connected to RTC_XTALI pin does not affect device tree configuration
2. yes, also please refer to sect.Table 25-1. ESAI External Signals i.MX6DQ Reference Manual
http://cache.nxp.com/files/soft_dev_tools/doc/support_info/iMX6DQPRM.pdf
3. clocks names are given in linux/include/dt-bindings/clock/imx6qdl-clock.h
frequencies are dfined in linux/arch/arm/mach-imx/clk-imx6q.c
Best regards
igor