phy: bcm-ns-usb2: support updated DT binding with PHY reg space
authorRafał Miłecki <rafal@milecki.pl>
Tue, 26 Oct 2021 09:37:16 +0000 (11:37 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Nov 2021 04:52:56 +0000 (10:22 +0530)
commitd3bc6269e21fc474763708e79c7a118740befb94
tree710a2607ac348f9032131b5ff5852771184a5706
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
phy: bcm-ns-usb2: support updated DT binding with PHY reg space

Updated DT binding maps just a PHY's register space instead of the whole
DMU block. Accessing a common CRU reg is handled using syscon &
regmap.

The old binding has been deprecated and remains supported as a fallback
method.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20211026093716.5567-1-zajec5@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/broadcom/phy-bcm-ns-usb2.c