dt-bindings: switch Exynos EHCI/OHCI bindings to use array of generic PHYs
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 26 Jul 2019 08:14:51 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Jul 2019 11:00:37 +0000 (13:00 +0200)
commitc27989cc536b5e0ba179d7ab50ebc2a06fddf663
tree6f11d03d6ad7f5ef36492e66c30ad9fa6867f01e
parent2a0f4f16d20127ae0c3f0a3f0190dbbb4d286ba7
dt-bindings: switch Exynos EHCI/OHCI bindings to use array of generic PHYs

Commit 69bec7259853 ("USB: core: let USB device know device node") added
support for attaching devicetree node for USB devices. Those nodes are
children of their USB host controller. However Exynos EHCI and OHCI
driver bindings already define child-nodes for each physical root hub
port and assigns respective PHY controller and parameters to them. This
leads to the conflict. A workaround for it has been merged as commit
01d4071486fe ("usb: exynos: add workaround for the USB device bindings
conflict"), but it disabled support for USB device binding for Exynos
EHCI/OHCI controllers.

To resolve it properly, lets move PHYs from the sub-nodes to a standard
array under the 'phys' property.

Suggested-by: Måns Rullgård <mans@mansr.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20190726081453.9456-2-m.szyprowski@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/exynos-usb.txt