Skip to content

clk: at91: utmi: Fix to set the main clock

Wenyou Yang u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: at91: utmi: Set the reference clock frequencyarch/arm/mach-at91/include/mach/sama5_sfr.h drivers/clk/at91/Kconfig drivers/clk/at91/clk-utmi.c +1 more+87 -22 replies
2/2ARM: dts: at91: sama5: Add the sfr nodearch/arm/dts/sama5d2.dtsi arch/arm/dts/sama5d3.dtsi+8 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.13.0