Skip to content

arm: mach-k3: Fixes for j721e/j7200 clock data and drivers

Dave Gerlach u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v15 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5arm: mach-k3: j721e: Fix clk-data parenting for postdiv PLL clocksarch/arm/mach-k3/j721e/clk-data.c+4 -41 reply
2/5arm: mach-k3: j7200: Fix clk-data parenting for postdiv PLL clocksarch/arm/mach-k3/j7200/clk-data.c+4 -41 reply
3/5arm: mach-k3: Add note to auto-generated filesarch/arm/mach-k3/j7200/clk-data.c arch/arm/mach-k3/j7200/dev-data.c arch/arm/mach-k3/j721e/clk-data.c +1 more+20 -41 reply
4/5clk: ti: k3-pll: Change DIV_CTRL programming to read-modify-writedrivers/clk/ti/clk-k3-pll.c+11 -21 reply
5/5clk: ti: k3: Update driver to account for divider flagsarch/arm/mach-k3/j7200/clk-data.c arch/arm/mach-k3/j721e/clk-data.c drivers/clk/ti/clk-k3.c +1 more+118 -1121 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] arm: mach-k3: Fixes for j721e/j7200 clock data and drivers

Hi,
This is v2 of series with fixes for TI j721e and j7200 platforms data and also some fixes for TI clock drivers that make use of this data.

Updates are to patch 3 to address comments from Lokesh and Suman. Patch 3 now contains a note with contact for issues with autogenerated files, http->https in URLs, and an extra blank line before first header.

As with v1, all fixes are related to PLL post dividers reporting the wrong frequency, and now the new frequencies for below clocks match what registers are actually configured for.

Clock: Old Frequency -> New Frequency
-----------------------------------------
postdiv2_16fft_main_0_hsdivout6_clk: 66666667 -> 200000000 postdiv2_16fft_main_1_hsdivout5_clk: 320000000 -> 960000000 postdiv2_16fft_main_1_hsdivout7_clk: 320000000 -> 960000000

Regards,
Dave

[v1] https://patchwork.ozlabs.org/project/uboot/list/?series=257518

Dave Gerlach (2):
arm: mach-k3: Add note to auto-generated files
clk: ti: k3-pll: Change DIV_CTRL programming to read-modify-write

Suman Anna (3):
arm: mach-k3: j721e: Fix clk-data parenting for postdiv PLL clocks
arm: mach-k3: j7200: Fix clk-data parenting for postdiv PLL clocks
clk: ti: k3: Update driver to account for divider flags

 arch/arm/mach-k3/j7200/clk-data.c |  91 ++++++++++++-----------
 arch/arm/mach-k3/j7200/dev-data.c |   6 +-
 arch/arm/mach-k3/j721e/clk-data.c | 117 ++++++++++++++++--------------
 arch/arm/mach-k3/j721e/dev-data.c |   6 +-
 drivers/clk/ti/clk-k3-pll.c       |  13 +++-
 drivers/clk/ti/clk-k3.c           |   4 +-
 include/k3-clk.h                  |  30 ++++----
 7 files changed, 149 insertions(+), 118 deletions(-)
Signature · 1 line
2.28.0