diff options
author | Alex Elder <elder@linaro.org> | 2021-01-15 15:50:48 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-18 22:51:05 +0300 |
commit | e938d7ef92c38f43bbb6de03e8399f6f821d217b (patch) | |
tree | 4eaba7f82f3573a6b281631767734559a63a6b58 /drivers/net/ipa/ipa_data-sc7180.c | |
parent | db6cd5148724b07617cf43eb2cb916a853d52bc3 (diff) | |
download | linux-e938d7ef92c38f43bbb6de03e8399f6f821d217b.tar.xz |
net: ipa: add interconnect name to configuration data
Add the name to the configuration data for each interconnect. Use
this information rather than a constant string during initialization.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_data-sc7180.c')
-rw-r--r-- | drivers/net/ipa/ipa_data-sc7180.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data-sc7180.c b/drivers/net/ipa/ipa_data-sc7180.c index 491572c0a34d..1936ecb4c110 100644 --- a/drivers/net/ipa/ipa_data-sc7180.c +++ b/drivers/net/ipa/ipa_data-sc7180.c @@ -314,15 +314,18 @@ static struct ipa_clock_data ipa_clock_data = { /* Interconnect bandwidths are in 1000 byte/second units */ .interconnect = { [IPA_INTERCONNECT_MEMORY] = { + .name = "memory", .peak_bandwidth = 465000, /* 465 MBps */ .average_bandwidth = 80000, /* 80 MBps */ }, /* Average bandwidth unused for the next two interconnects */ [IPA_INTERCONNECT_IMEM] = { + .name = "imem", .peak_bandwidth = 68570, /* 68.57 MBps */ .average_bandwidth = 0, /* unused */ }, [IPA_INTERCONNECT_CONFIG] = { + .name = "config", .peak_bandwidth = 30000, /* 30 MBps */ .average_bandwidth = 0, /* unused */ }, |