[v3 0/2] Store QSPI reference clock in kHz for SOCFPGA SOC64

Siew Chin Lim elly.siew.chin.lim at intel.com
Wed Mar 24 10:16:48 CET 2021


This is the 3rd version of patchset to clean up clock manager code
and store QSPI reference clock in kHz for SOCFPGA SOC64.

This patchset is extracted from "Add Intel Diamond Mesa SoC support" series.
We are in preparation to support new Intel N5X (Diamond Mesa) SOC64 device
and we would like to clean up some code before enable N5X device.

Patch status:
Have changes: Patch 1
Other patches unchanged.

Detail changelog can find in commit message.

v2->v3:
--------
Patch 1:
- Declare cm_get_qspi_controller_clk_hz function in clock_manager.h
  to share by all Intel SOCFPGA.
- Remove cm_get_qspi_controller_clk_hz function declaration from
  clock_manager_gen5.h and clock_manager_arria10.h.

History:
--------
  [v1] https://patchwork.ozlabs.org/project/uboot/cover/20210315143643.33102-1-elly.siew.chin.lim@intel.com/
  [v2] https://patchwork.ozlabs.org/project/uboot/cover/20210324061935.7306-1-elly.siew.chin.lim@intel.com/

  The first version of this patchset is extracted from "Add Intel Diamond Mesa SoC support" series.
  https://patchwork.ozlabs.org/project/uboot/cover/20201110064439.9683-1-elly.siew.chin.lim@intel.com/

This patchset has dependency on:
--------
  1. arm: socfpga: Move Stratix10 and Agilex SPL common code
     https://patchwork.ozlabs.org/project/uboot/patch/20210315075916.26336-1-elly.siew.chin.lim@intel.com/

  2. Restructure Stratix10 and Agilex handoff code
     https://patchwork.ozlabs.org/project/uboot/cover/20210315094329.30282-1-elly.siew.chin.lim@intel.com/

Siew Chin Lim (2):
  arm: socfpga: Move Stratix10 and Agilex clock manager common code
  arm: socfpga: Changed to store QSPI reference clock in kHz

 arch/arm/mach-socfpga/clock_manager.c              | 43 ++++++++++++++++++++--
 arch/arm/mach-socfpga/clock_manager_agilex.c       |  6 ---
 arch/arm/mach-socfpga/clock_manager_s10.c          |  6 ---
 arch/arm/mach-socfpga/include/mach/clock_manager.h |  5 +++
 .../include/mach/clock_manager_arria10.h           |  2 -
 .../mach-socfpga/include/mach/clock_manager_gen5.h |  1 -
 .../mach-socfpga/include/mach/clock_manager_s10.h  |  1 -
 .../include/mach/system_manager_soc64.h            | 16 +++++++-
 arch/arm/mach-socfpga/mailbox_s10.c                | 17 +++++----
 9 files changed, 69 insertions(+), 28 deletions(-)

-- 
2.13.0



More information about the U-Boot mailing list