]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ipa-clock'
authorDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 22:09:31 +0000 (23:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 22:09:31 +0000 (23:09 +0100)
commitef875a340156a4fb6f701c63fd88b12853d318ef
tree10f435320328f6a5058a8612eb437cf9634efc2d
parent9a5283de4b52cd906b8cc672a88e48bd7f1570ad
parent28aff9d7bd5d37aa7b8f63d8d0a97148085b2ce6
Merge branch 'ipa-clock'

Alex Elder says:

====================
net: ipa: defer taking uC proxy clock

This series rearranges some of the IPA initialization code.

The first patch gets rid of two trivial setup and teardown
functions, open-coding them in their callers instead.

The second patch has memory regions get configured before endpoints.

IPA interrupts do not depend on GSI being initialized.  Therefore
they can be initialized in the config phase rather than waiting for
setup.  The third patch moves this initialization earlier; memory
regions must already be defined, so it's done after memory config.

The microcontroller also has no dependency on GSI, though it does
require IPA interrupts to be configured.  The fourth patch moves
microcontroller initialization so it too happens during the config
phase rather than setup.

Finally, we currently take a "proxy clock" for the microcontroller
during the config phase, dropping it only after we learn the
microcontroller is initialized.  But microcontroller initialization
is started by the modem, so there's no point in taking that clock
reference before we know the modem has booted.  So the last patch
arranges to wait to take the "proxy clock" for the microcontroller
until we know the modem is about to boot.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>