git: 1d8c07b7ab7b - main - Get clocks for Rockchip RK3568.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Dec 2022 08:55:06 UTC
The branch main has been updated by ganbold: URL: https://cgit.FreeBSD.org/src/commit/?id=1d8c07b7ab7bc123ec62e97176beffef4052eba8 commit 1d8c07b7ab7bc123ec62e97176beffef4052eba8 Author: Søren Schmidt <sos@FreeBSD.org> AuthorDate: 2022-12-20 08:53:58 +0000 Commit: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> CommitDate: 2022-12-20 08:53:58 +0000 Get clocks for Rockchip RK3568. --- sys/dev/usb/controller/dwc3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/controller/dwc3.c b/sys/dev/usb/controller/dwc3.c index d5e3b3f50a9d..361db0f5e835 100644 --- a/sys/dev/usb/controller/dwc3.c +++ b/sys/dev/usb/controller/dwc3.c @@ -428,7 +428,8 @@ snps_dwc3_common_attach(device_t dev, bool is_fdt) node = ofw_bus_get_node(dev); /* Get the clocks if any */ - if (ofw_bus_is_compatible(dev, "rockchip,rk3328-dwc3") == 1) { + if (ofw_bus_is_compatible(dev, "rockchip,rk3328-dwc3") == 1 || + ofw_bus_is_compatible(dev, "rockchip,rk3568-dwc3") == 1) { if (clk_get_by_ofw_name(dev, node, "ref_clk", &sc->clk_ref) != 0) device_printf(dev, "Cannot get ref_clk\n"); if (clk_get_by_ofw_name(dev, node, "suspend_clk", &sc->clk_suspend) != 0)