phy: renesas: r8a779f0-eth-serdes: Add .power_on() into phy_ops
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 26 Dec 2022 06:53:15 +0000 (15:53 +0900)
committerVinod Koul <vkoul@kernel.org>
Fri, 13 Jan 2023 18:03:56 +0000 (23:33 +0530)
commitd2aa66a9926530d7cd85e7863a55c5d25506c492
tree4088f4831ed83a1586ddf2816a14c3a492c902f5
parent4214f371d546589edc49dc079d5e4044cfa90f28
phy: renesas: r8a779f0-eth-serdes: Add .power_on() into phy_ops

Add r8a779f0_eth_serdes_power_on() to initialize the hardware for
each channel from the step 9 or later on the datasheet. In other words,
the procedure from the step 1 to 8 is for all channel and it is needed
once only. So, the .init() in any channel instance is called, this
driver initializes the hardware from step 1 to 8. And then, .power_on()
is called, this driver initializes the hardware from step 9 or later.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20221226065316.3895480-2-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/renesas/r8a779f0-ether-serdes.c