]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: imx8mp: detect dwc3 core node via compatible string
authorLi Jun <jun.li@nxp.com>
Fri, 30 Apr 2021 06:57:16 +0000 (14:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 12:57:37 +0000 (14:57 +0200)
commit60f80a47e8e3081cfcfe30cbbfac83a79ea39198
tree3348986179792aed522e8625b2c76d7b5ff66215
parentc099c40584a298b71083c99bff29845ece9cc745
usb: dwc3: imx8mp: detect dwc3 core node via compatible string

New schema of usb controller DT-node should be named with prefix
"^usb(@.*)?", dt changed the node name, but missed counter part
change in driver, fix it by switching to use compatible string as
the dwc3 core compatible string keeps "snps,dwc3" in all dt.

Fixes: 708893286177 ("arm64: dts: imx8mp: Use the correct name for child node "snps, dwc3"")
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Li Jun <jun.li@nxp.com>
Link: https://lore.kernel.org/r/1619765836-20387-1-git-send-email-jun.li@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-imx8mp.c