[U-Boot] [PATCH 0/2] clk: at91: utmi: Fix to set the main clock

Wenyou Yang wenyou.yang at microchip.com
Tue Sep 5 10:30:06 UTC 2017


The source clock of the UTMI PLL is the main clock (MAINCK).
The MAINCK must select the fast crystal oscillator to meet
the frequency accuracy required by USB.
The crystal frequency selection among 12, 16, 24 MHz must be
configured to the correct value in the field SFR_UTMICKTRIM.FREQ,
in order to apply the correct multiplier, x40, x30 or x20,
respectively. By default, it is assumed that the UTMI clock is
generated from a 12 MHz MAINCK.


Wenyou Yang (2):
  clk: at91: utmi: Set the reference clock frequency
  ARM: dts: at91: sama5: Add the sfr node

 arch/arm/dts/sama5d2.dtsi                   |  6 +++
 arch/arm/dts/sama5d3.dtsi                   |  2 +
 arch/arm/mach-at91/include/mach/sama5_sfr.h |  5 ++
 drivers/clk/at91/Kconfig                    |  4 ++
 drivers/clk/at91/clk-utmi.c                 | 77 ++++++++++++++++++++++++++++-
 drivers/clk/at91/pmc.h                      |  3 ++
 6 files changed, 95 insertions(+), 2 deletions(-)

-- 
2.13.0



More information about the U-Boot mailing list