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

From: Alex Elder
Date: Thu Nov 19 2020 - 17:40:48 EST


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(-)

--
2.20.1