dt-bindings: phy: brcm,ns-usb2-phy: bind just a PHY block
authorRafał Miłecki <rafal@milecki.pl>
Mon, 13 Sep 2021 08:00:22 +0000 (10:00 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 1 Oct 2021 10:06:07 +0000 (15:36 +0530)
commit55b9b741712de84d144cfed6cb3987314002ea21
tree81628697b520a6c6395adac217fd074ad0797387
parent0fd732f8246786164db7375f7ae7b8d1f4cdbc14
dt-bindings: phy: brcm,ns-usb2-phy: bind just a PHY block

The old binding was covering the whole DMU block space (DMU block
contains CRU block which contains USB PHY). It was a bad design,
overkill and a non-generic solution.

Northstar's USB 2.0 PHY is a small block (part of the CRU MFD) and
binding should be designed to represent that properly. Rework the
binding to map just PHY with the "reg" property and use syscon to
reference shared register that controls block access.

The old binding is deprecated now.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210913080024.6951-2-zajec5@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/bcm-ns-usb2-phy.yaml