Re: [PATCH 7/7] net: phy: Add pm support for scan ctrl register to bcm mdio mux

From: Arun Parameswaran
Date: Thu Jul 26 2018 - 15:32:52 EST




On 18-07-26 12:20 PM, Andrew Lunn wrote:
> On Thu, Jul 26, 2018 at 11:36:24AM -0700, Arun Parameswaran wrote:
>> Add support for saving and restoring the 'scan control' register
>> in the Broadcom iProc mdio mux driver.
>
> Hi Arun
>
> I don't see anything setting this register. So why is it necessary to
> save it over suspend/resume?
>
> Andrew
>
Hi Andrew
In the Omega SoC (only), this register was defaulted incorrectly (to use
a test mode) by the hardware. So we added the setup of the register to
the early bootloader (ATF).

We still need to restore this register while resuming from sleep.

Thanks
Arun