[PATCH net-next 0/5] net: ipa: add clock references

From: Alex Elder
Date: Tue Jul 27 2021 - 17:21:20 EST


This series continues preparation for implementing runtime power
management for IPA. We need to ensure that the IPA core clock and
interconnects are operational whenever IPA hardware is accessed.
And in particular this means that any external entry point that can
lead to accessing IPA hardware must guarantee the hardware is "up"
when it is accessed.

The first four patches in this series take IPA clock references when
needed by such external entry points, dropping those references in
those same functions when they are no longer required.

The last patch is a bit different, though it too prepares for
enabling runtime power management. It avoids suspending/resuming
endpoints if setup is not complete.

-Alex

Alex Elder (5):
net: ipa: get clock in ipa_probe()
net: ipa: get another clock for ipa_setup()
net: ipa: add clock reference for remoteproc SSR
net: ipa: add a clock reference for netdev operations
net: ipa: don't suspend endpoints if setup not complete

drivers/net/ipa/ipa_main.c | 37 ++++++++++++++++++++++++++-----------
drivers/net/ipa/ipa_modem.c | 14 +++++++++++++-
drivers/net/ipa/ipa_smp2p.c | 5 +++++
3 files changed, 44 insertions(+), 12 deletions(-)

--
2.27.0