From nobody Sun Apr 30 06:58:01 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q8HGx3mMWz48sDB; Sun, 30 Apr 2023 06:58:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q8HGx24lvz3NCY; Sun, 30 Apr 2023 06:58:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682837881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wsRj2+2Ve8Hiw1ZvpCBOSxnoL8g9rMZBTO2v/JGtycE=; b=LKvS8KSsLunJSmvEjZXG/YSX0KPZ5hTmjtjRSOOCIKrtWqrbCyLJA4TNuldP0d8tFZkC8O HMr8rrQIqdTVmcPXeuGza/Uf6Te14/8WoFItOvvppYj1Exp06hFy8S9ylxBn4F+JJICB91 4P73GVTBUFHwyZH/E9zh1hVkg4EXtyAqsW3/vS4PDB6BegVIZWU/tN3rNaPbAdd8ojuPpd xUKoc5z60/8GvPnSTcCycwlvX+sqoQc9pf5x++itY4PRgsbpoh/CPq2yGV4Ui00/x43wIY wp5cXAuHo4DEsYL1FhfsvRUte4BV7yX767mPzqWknqmAIN5q/0t4y5E+uKqrAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682837881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wsRj2+2Ve8Hiw1ZvpCBOSxnoL8g9rMZBTO2v/JGtycE=; b=rRO6OeMkM7TXBmMgOhWW4uTEvwhVUoZ1g22ubhIu/OU/121edOxn7mJUJMom+Px9wsVbB7 FkYh1Yf92OXCG7nCQ/T18+XGSFqlNWc36c+1OC9LcapNIGHMlFTFTod533l99Av1k9i9D4 100/ObLbXK+OITaIUT63tZuzx7K9aSRGoZlmnS0UPUwjztm2GBif15uvfgTBJGd5dlQ4z3 tNB0CVqK7hPEuWgUE2JG1pVccOm1YCaJb46Q0Nx+Xq+/joEZTr/n1xFN59MeAJuiK85xsx vVaxSZJ9/TrtZtU3Ur4bzpt3KaxFPxaK0VYUbDzSd9nPzhoWVX10QE7wrE8gPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682837881; a=rsa-sha256; cv=none; b=aGrvtQwyPFiskwReR7BE79sdnnGBYtYDehmVTTs+35ilrXtRd43r680dYFvdRohXoaT8l0 +1q5kHJleJiYBb8q2OBcKOJCapW+vNmgfYmZ9QZB027c5Px+fOwakWuvQWySicwA/j+ogp aJW7ec0hn+1oJ9pcLKEIm74eIxkdxwgdrzF1lnh0RnzNGD5PuXv4bhtjZQhd1/LBN2g242 wyp7KeUN0fp8XJ0PWBtzyf+4icjzxGUtFLGrtKDFCGwRzd4welfoojfQMW5dD3OIJZjukn 4SbDj9EFqKOqyAhkBlHHur1ftpDdlc9ATsyGJDAh9RHlW1PQ69of6i5Ym51Rxg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q8HGx1B1pz1Ccd; Sun, 30 Apr 2023 06:58:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33U6w1Ua071682; Sun, 30 Apr 2023 06:58:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33U6w1vm071681; Sun, 30 Apr 2023 06:58:01 GMT (envelope-from git) Date: Sun, 30 Apr 2023 06:58:01 GMT Message-Id: <202304300658.33U6w1vm071681@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Hans Petter Selasky Subject: git: 6e21ac722620 - stable/13 - Get clocks for Rockchip RK3568. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6e21ac7226209fc44b880440d090e3918e830c71 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=6e21ac7226209fc44b880440d090e3918e830c71 commit 6e21ac7226209fc44b880440d090e3918e830c71 Author: Søren Schmidt AuthorDate: 2022-12-20 08:53:58 +0000 Commit: Hans Petter Selasky CommitDate: 2023-04-30 06:56:17 +0000 Get clocks for Rockchip RK3568. (cherry picked from commit 1d8c07b7ab7bc123ec62e97176beffef4052eba8) --- 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 d9f576a3dbb7..2f607e19248d 100644 --- a/sys/dev/usb/controller/dwc3.c +++ b/sys/dev/usb/controller/dwc3.c @@ -451,7 +451,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)