phy: phy-rockchip-inno-usb2: support standalone phy nodes
authorPeter Geis <pgwipeout@gmail.com>
Wed, 15 Dec 2021 21:02:48 +0000 (16:02 -0500)
committerVinod Koul <vkoul@kernel.org>
Thu, 23 Dec 2021 11:24:48 +0000 (16:54 +0530)
commite6915e1acca57bc4fdb61dccd5cc2e49f72ef743
tree654234540fe5f612503167eb375d85497b615027
parent9c19c531dc98d7ba49b44802a607042e763ebe21
phy: phy-rockchip-inno-usb2: support standalone phy nodes

New Rockchip devices have the usb2 phy devices as standalone nodes
instead of children of the grf node.
Allow the driver to find the grf node from a phandle.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net>
Link: https://lore.kernel.org/r/20211215210252.120923-5-pgwipeout@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c