Skip to content

Store QSPI reference clock in kHz for SOCFPGA SOC64

Siew Chin Lim u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

--------
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.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: socfpga: Move Stratix10 and Agilex clock manager common codearch/arm/mach-socfpga/clock_manager.c arch/arm/mach-socfpga/clock_manager_agilex.c arch/arm/mach-socfpga/clock_manager_s10.c +4 more+13 -191 reply
2/2arm: socfpga: Changed to store QSPI reference clock in kHzarch/arm/mach-socfpga/clock_manager.c arch/arm/mach-socfpga/include/mach/clock_manager.h arch/arm/mach-socfpga/include/mach/system_manager_soc64.h +1 more+58 -110 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLey Foon Tan
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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 at intel.com/ [v2] https://patchwork.ozlabs.org/project/uboot/cover/20210324061935.7306-1-elly.siew.chin.lim at 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 at 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 at intel.com/

2. Restructure Stratix10 and Agilex handoff code

     https://patchwork.ozlabs.org/project/uboot/cover/20210315094329.30282-1-elly.siew.chin.lim at 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(-)
Signature · 1 line
2.13.0