From nobody Mon May 16 15:33:36 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 D01AC1AE616A; Mon, 16 May 2022 15:33:36 +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 4L23Dw4MtZz3rRd; Mon, 16 May 2022 15:33:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652715216; 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=MVRBRC56ju/K6VgmJwDH8BvwPF9LAHmZsWT1KImfr9Y=; b=gB+cuU2RGWK+ryDepiXKK7Rcy6Raa9xVXYF58odXC41iJmdQzjPLdoKmD+vzNRHJKrt5vv 09Kn0ZcGEJJRaCKFtH9Spdg+hLX/RU5EErZI//UFjdQI6Ty9F5Fa7ePY2BGHaJpv4uvPNP 4jWlHLGCsbb4OKofkxIhOk0b7sS0krGyA1KDjMN6onmDGJArHRSTp6qx58psMGAnOWRZum 1SCRHIwic1hulr1jWGCaFiaEQdSovG/Ox6X1VvxsSsBbJUPgpit3Vx2ScjXek4GtlDKxG0 HOkR+tnYEafZRUNCDEGQHBQKFJd14nnQxZtvPMHtlSneTCAmbdVxt8dJ/+IkaA== 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 6523822D9B; Mon, 16 May 2022 15:33:36 +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 24GFXa3Z020201; Mon, 16 May 2022 15:33:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GFXaRJ020200; Mon, 16 May 2022 15:33:36 GMT (envelope-from git) Date: Mon, 16 May 2022 15:33:36 GMT Message-Id: <202205161533.24GFXaRJ020200@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 687d5fb11f06 - stable/13 - arm64: rockchip: rk3328: Add watchdog clock 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 687d5fb11f061ced258135fbf44106d90aa3bce0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652715216; 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=MVRBRC56ju/K6VgmJwDH8BvwPF9LAHmZsWT1KImfr9Y=; b=h2l1iqYqa91pS+/jFBkFxf54dYCoI0t/4eWz31N6RcITLFj9unaCj6YN7sUVtnmQIm3VsS r5TNQZ78Cefypoomn4GmMU8YUmwZlzygQ6nQQv8ngIST2PB9+SBEuZp6ADumXulUoJEYTg rz0UQza035sWkaEVIFub1s04n//TFX+zyXK6Ip55L793xyItNL0Zok0w/6hcDBa04i3YpS cVlizyUZSWXhAL1YCxijSk6e7ZFW8PV5uiCPEzkb3nDue54j7on8wlhoHeEbmcmElEWelt ZLYkaIx0RykOk/L1TbkxrcZcYlhvd/GV5UPZvS1qHXpGje1VvxZ5yXwnde2NUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652715216; a=rsa-sha256; cv=none; b=xR6/K6G1P6mOQox49kvxmurAFULUEsewollvSbEa18mlJJVgkRwGb0ZRH4hxQKlhkm7n1e U9m8oTqjbmu6ylks1OurkDn5dpchDJjSAWvV9clMcPgQM0Ws7Y+p8bBwF7bROlk57JvBOj hyDEpecCyIzh75cwTO4FW+dEPGmPRBlu9Jo6ILyl5r872Fnw2E+UkHfMIg+lgpCUiE0GXE zLM6RSqbkziUz2SZIn24iX2TPsA0mMo8qn/Rog2YYIxUWwgqapQ4gDeyCNCEhFVM50v+5Q M8os9c+LvgMBJfrMbEaj9zgZhU53zxo80ymtnid2zznbolYdfWY7S8QfTYp0vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=687d5fb11f061ced258135fbf44106d90aa3bce0 commit 687d5fb11f061ced258135fbf44106d90aa3bce0 Author: Emmanuel Vadot AuthorDate: 2021-09-15 17:09:56 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-16 15:27:24 +0000 arm64: rockchip: rk3328: Add watchdog clock The watchdog clock is controlled by the secure world but we need a clock to sastify the driver so add a fixed clock for it. Reported by: avg (cherry picked from commit 548a706608d7291a72ed37e6c400654ee1ceadef) --- sys/arm64/rockchip/clk/rk3328_cru.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/arm64/rockchip/clk/rk3328_cru.c b/sys/arm64/rockchip/clk/rk3328_cru.c index 344bf3bcd7aa..63c8797f6b44 100644 --- a/sys/arm64/rockchip/clk/rk3328_cru.c +++ b/sys/arm64/rockchip/clk/rk3328_cru.c @@ -1064,6 +1064,11 @@ static struct rk_clk rk3328_clks[] = { /* GRF_MAC_CON2 */ MUXGRF(SCLK_MAC2PHY, "clk_mac2phy", mux_mac2phy_p, 0, RK3328_GRF_MAC_CON2, 10, 1), + + /* + * This clock is controlled in the secure world + */ + FFACT(PCLK_WDT, "pclk_wdt", "pclk_bus", 1, 1), }; static int