usb: exynos: add support for getting PHYs from the standard dt array
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 26 Jul 2019 08:14:52 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Jul 2019 11:00:37 +0000 (13:00 +0200)
commit214b606e90dd087d190b7307183ec8c16f500371
tree34dca932e98a86a8452bacb2db98d078d04fe9a4
parentc27989cc536b5e0ba179d7ab50ebc2a06fddf663
usb: exynos: add support for getting PHYs from the standard dt array

Add the code for getting generic PHYs from standard device tree array
from the main controller device node. This is a first step in resolving
the conflict between Exynos EHCI/OHCI sub-nodes and generic USB device
bindings. Later the sub-nodes currently used for assigning PHYs to root
ports of the controller will be removed making a place for the generic
USB device bindings nodes.

Suggested-by: Måns Rullgård <mans@mansr.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20190726081453.9456-3-m.szyprowski@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ohci-exynos.c