From nobody Tue Dec 20 08:55:06 2022 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 4Nbr4W1TZkz1GDqp; Tue, 20 Dec 2022 08:55:07 +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 4Nbr4W0X9jz3NFL; Tue, 20 Dec 2022 08:55:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671526507; 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=dDnY63eytwL23Fhn8yHpUjt5wCZCEpVFB13UgAOhgg4=; b=ZMRktIMZdOLDKUXTXQZjSKYD3Q3v12iq3E+awMxqbZNiVi+cJniLo10qrv0KJbha2j16Ha F05sSZAPQOlme2kFblqSC8G0SmmWYF39xnraSB8NJKCA3K4LzKM0rvSRm3YVR5C53ek9lZ 8MGuVswRte9TNyJ/jdsDMqci87lQyVyDusvkTIlZ3jOx1/GQizaTUa/oWW8V64JIUlrGUb o2/COl4P3HgoDhVLVU4o0KTrQ+m+x1kG13GkNrwT9fxClqxu6ZwtZFUJjA+gWt1QlcVOa8 OjCqOCLDuFMKHV7ExGO46qYC8NTzV0mG3cDu+nN2DDzTtH5JwPOWU9jxxGFY7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671526507; 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=dDnY63eytwL23Fhn8yHpUjt5wCZCEpVFB13UgAOhgg4=; b=HkCWAj13uc2cpne+vbP4iCrYzW7l20GpNmrQB/18mRvXZSlHvKosm/shHmKHCOlH8A+X9Z cwn2vfVyfWMrpgfZ79ZuI+Rse5s1ddk75tyJHksk45ORs0+6UPvDqFaC7gqKeBXgcFAojm Iu0TQXoV+QxljGC7h3+y2MP5lhq30WC3IatdNDtml8/FHHvNPXHb+kO4W894HXT+DiduXS Yun3GoTtI5cSxfz965M5v3oye7gHXCSWk9u6IQDR181hCdvqmbJi1oQzV52QQYKhQZAiPo 47vH59J37ACgwtn++Wnpzp33CKQTi+eOIGjspjsJ7vbIyukgDAyPYSxI64gIoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671526507; a=rsa-sha256; cv=none; b=w9OGHhkX8+uh4HoNdgUMnGVHFyJF3CxYfMtHxyocbgwCiJLt/33l6cFSpUppj7tirn/kqo OF3SmoY3QKIvV1enWN7yw5fknn27Hdkpt+NYTrhL9va7rglOO+GEUnL1abgbyoReAf0GUl VQiNHi/rbpFaAS0j4CkNuz9G7O6dn/1gg0i+QtU+8Rms9egxLgR7lVgsANb5K4CzutYt6S RfzV1zf+iZrHvxxmhB2fkTI+TAsGx7CByxNE1+qaOUSHK9TYntbFnm0zg5ODZ5c+ockBGf jeSJD4e+CclBA/KMUfH/Vqv4bWsPwDXGyFmbLe5bHdJ4uh34bow1EcoS2dKx1A== 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 4Nbr4V6cfYzTHJ; Tue, 20 Dec 2022 08:55:06 +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 2BK8t6Jo075819; Tue, 20 Dec 2022 08:55:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BK8t65Q075818; Tue, 20 Dec 2022 08:55:06 GMT (envelope-from git) Date: Tue, 20 Dec 2022 08:55:06 GMT Message-Id: <202212200855.2BK8t65Q075818@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ganbold Tsagaankhuu Subject: git: 1d8c07b7ab7b - main - 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: ganbold X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1d8c07b7ab7bc123ec62e97176beffef4052eba8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ganbold: URL: https://cgit.FreeBSD.org/src/commit/?id=1d8c07b7ab7bc123ec62e97176beffef4052eba8 commit 1d8c07b7ab7bc123ec62e97176beffef4052eba8 Author: Søren Schmidt AuthorDate: 2022-12-20 08:53:58 +0000 Commit: Ganbold Tsagaankhuu 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)