]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: AM4372: clk: efuse based crystal frequency detect
authorAfzal Mohammed <afzal@ti.com>
Wed, 14 May 2014 11:36:37 +0000 (17:06 +0530)
committerTero Kristo <t-kristo@ti.com>
Fri, 23 May 2014 09:29:38 +0000 (12:29 +0300)
commitcddd8b19f778246278c5d05067905d1cbea6705d
tree84756b044bf9eb338115ded297b77327ec129269
parentc8310c9ab362908191ef386ab4c7bf7d4596cf3a
ARM: dts: AM4372: clk: efuse based crystal frequency detect

Currently oscillator frequency is determined based on sysboot settings,
it may not be the case always. To determine it properly, efuse settings
also has to be read. CONTROL_STATUS register holds this information.
Bit 31: if 0, frequency to be determined based on sysboot
if 1, frequency to be determined based on efuse
Bit 29,30 - for efuse detection of frequency
Bit 22,23 - for sysboot detection of frequency

Add clock nodes (mux) to determine oscillator frequency as above.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/boot/dts/am43xx-clocks.dtsi