phy: cadence: salvo: add access for USB2PHY
authorPeter Chen <peter.chen@nxp.com>
Wed, 17 May 2023 16:16:41 +0000 (12:16 -0400)
committerVinod Koul <vkoul@kernel.org>
Fri, 19 May 2023 17:44:06 +0000 (23:14 +0530)
commit88bc4cda5e27a63061d83ba031bc69526180c3a1
treedc34ebf3b4aa25df262690c63618a543b3594686
parent1178c93c0ab70f8f758b529ef40386e1a3cc5646
phy: cadence: salvo: add access for USB2PHY

There is an offset for USB2PHY in SALVO phy, add offset parameter for read
and write API to cover both USB2 and USB3 PHY control.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20230517161646.3418250-2-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-salvo.c