clk: at91: utmi: Fix to set the main clock
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clk: at91: utmi: Set the reference clock frequencyarch/ drivers/ drivers/ +1 more | +87 | 2 replies | |
| 2/2 | ARM: dts: at91: sama5: Add the sfr nodearch/ arch/ | +8 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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