Skip to content

net: ipa: platform-specific clock and interconnect rates

Alex Elder lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: ipa: define clock and interconnect datadrivers/net/ipa/ipa_clock.c drivers/net/ipa/ipa_clock.h drivers/net/ipa/ipa_data.h +1 more+50 -140 repliesApplied
2/3net: ipa: populate clock and interconnect datadrivers/net/ipa/ipa_data-sc7180.c drivers/net/ipa/ipa_data-sdm845.c+42 -00 repliesApplied
3/3net: ipa: use config data for clockingdrivers/net/ipa/ipa_clock.c+20 -200 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: ipa: platform-specific clock and interconnect rates

This series changes the way the IPA core clock rate and the bandwidth parameters for interconnects are specified. Previously these were specified with hard-wired constants, with the same values used for the SDM845 and SC7180 platforms. Now these parameters are recorded in platform-specific configuration data.

For the SC7180 this means we use an all-new core clock rate and interconnect parameters.

Additionally, while developing this I learned that the average bandwidth setting for two of the interconnects is ignored (on both platforms). Zero is now used explicitly as that unused bandwidth value. This means the SDM845 bandwidth settings are also changed by this series.

-Alex

Alex Elder (3):
net: ipa: define clock and interconnect data
net: ipa: populate clock and interconnect data
net: ipa: use config data for clocking

 drivers/net/ipa/ipa_clock.c       | 47 +++++++++++++++++--------------
 drivers/net/ipa/ipa_clock.h       |  5 +++-
 drivers/net/ipa/ipa_data-sc7180.c | 21 ++++++++++++++
 drivers/net/ipa/ipa_data-sdm845.c | 21 ++++++++++++++
 drivers/net/ipa/ipa_data.h        | 31 +++++++++++++++++++-
 drivers/net/ipa/ipa_main.c        | 21 +++++++-------
 6 files changed, 112 insertions(+), 34 deletions(-)
Signature · 1 line
2.20.1