[PATCH 0/4] clk: at91: fix system clocks display for sam9x60

Claudiu Beznea claudiu.beznea at microchip.com
Fri Jul 16 07:43:47 CEST 2021


Hi,

After added CCF support for SAM9X60 the CPU, crystal and master clocks
were not displayed correctly. These clocks are now displayed by at91_cpu driver.
Adapt master clock driver by adding control logic for its prescaler and
divider such that these to be correctly retrived by at91_cpu driver
via device tree (or any other mechanism).

Thank you,
Claudiu Beznea

Claudiu Beznea (4):
  clk: at91: clk-master: split master clock in pres and divider
  cpu: at91: add compatible for ARM9260EJ-S
  ARM: dts: at91: sam9x60: add bindings for CPU
  configs: sam9x60ek: enable CONFIG_CPU

 arch/arm/dts/sam9x60.dtsi             |  12 +++
 configs/sam9x60ek_mmc_defconfig       |   1 +
 configs/sam9x60ek_nandflash_defconfig |   1 +
 configs/sam9x60ek_qspiflash_defconfig |   1 +
 drivers/clk/at91/clk-master.c         | 107 +++++++++++++++++++++-----
 drivers/clk/at91/pmc.h                |   7 +-
 drivers/clk/at91/sam9x60.c            |  44 +++++++----
 drivers/clk/at91/sama7g5.c            |  36 +++++----
 drivers/cpu/at91_cpu.c                |   1 +
 9 files changed, 160 insertions(+), 50 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list