From nobody Thu Nov 12 09:51:36 2026 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 4jQFyx1b1yz70KKd for ; Thu, 12 Nov 2026 09:51:37 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jQFyw5j3cz3GDt for ; Thu, 12 Nov 2026 09:51:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794477096; 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=ZazU3y/jGwUNyk0os5/xKXe0jmJ0Or17KjVAUovTnDI=; b=MC+8YSq9oI+8FGXFRbpetMJmzz28G26lzeB37Ns9FpTorTqZbRiHdUk8c3ETL9vD7k7slL lwzlMwxygnrV63CW6uW+QCxuvPuYzA6x5HdbVr7aad7vhYssE//Nbe5DVHPZTVegMQlLHr 66Ecy6x3dys9Q/fe0jLb1Dfr6V0G3vyyO6QQXdXMF6bgRPZ4lNguW9HylnwwXJ3rQyfgBh cq0ANLZM+W1bIG3BHOWP85Qrtp9RXiXRsDA43IGBYx2oVmLPXIhxHJozzmEyfVSfeOhCcn 4auCxCgwe5vUj5WxbngK5D6cj765ZfsljGxclCXYHsaFDVjOzq/yoUc+Gt3oNA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794477096; b=pgwz1kDZxCppuzfjzYOUCfH/xXNggIGZlRndkTC8woXMYyT2aMLf5/nb1mMmGX60nf5MDH M/xe0FC3jjFaFmKTm0EQYkw/WxoL5BugdHfRJ7ji5QrRAhE3nZFumJC3fOFXzn1GdFFnbv eFpjDoJlpjkbZUDDACdYeWa2TBmWKHd1mMlBJi5ymUCYtdIlxKUUcUAPdCy3ZeqVirmn8I o1azejks+wehyApLBKlkwFJn1PlKDSVGLbdApDa2k6Wlwjz7qnfdzDi8LLyH0EdlzSox9I wJxedqmrhiY1793T7YGX3B3HAVeGJrs8NBx6VHdUaZLEedtHJ1HDJo72SobJDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794477096; 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=ZazU3y/jGwUNyk0os5/xKXe0jmJ0Or17KjVAUovTnDI=; b=HPjShpZAQGh6XREsG+fuh2Q7FO/7rmiRffxAS1JRDdH6K3TAppjO6yKs82U36H1RoKu2xe iZHJyOtqRduw5PCHDFAMynE7WtfYfF6Y97wcpXi+it5o4kwGwFAsrxAM+B28Wwq2wcmY3p LKS2BxIlJqpOdwqsw1rXCtasgphOdm5+NdAD/4Qvie9zQYYGXKyIFb8wXBGtLy4UeXpPuJ Yb76m1jMZAwjeHO+e9fSCBU6b6HUiTZs+W/wsCr3pwQlFQAZycwY+TpqRyPsZJWpZO/6kw gfI11XgeEQV3TBAaOBwSPhI5W2hlxyFgvUg/6tsRc+ndXRhrbTiuhOSYtOWWHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jQFyw5Mxjzy0S for ; Thu, 12 Nov 2026 09:51:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 20db0 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 12 Nov 2026 09:51:36 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 8f5dfd3c860f - main - aw_ccu: h6: Add the DMA, MSGBOX, SPINLOCK, HSTIMER and DBGSYS clocks List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/main X-Git-Reftype: branch X-Git-Commit: 8f5dfd3c860fb7d50b8e026e5fcb089ad06477d6 Auto-Submitted: auto-generated Date: Thu, 12 Nov 2026 09:51:36 +0000 Message-Id: <6af58c28.20db0.3c37cf00@gitrepo.freebsd.org> The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=8f5dfd3c860fb7d50b8e026e5fcb089ad06477d6 commit 8f5dfd3c860fb7d50b8e026e5fcb089ad06477d6 Author: Emmanuel Vadot AuthorDate: 2026-11-10 16:42:57 +0000 Commit: Emmanuel Vadot CommitDate: 2026-11-12 09:47:31 +0000 aw_ccu: h6: Add the DMA, MSGBOX, SPINLOCK, HSTIMER and DBGSYS clocks Add the bus gates and the resets of the DMA controller, the message box, the spinlock, the high speed timer and the debug system. They are on the PSI bus. Tested on: H6 --- sys/dev/clk/allwinner/ccu_h6.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sys/dev/clk/allwinner/ccu_h6.c b/sys/dev/clk/allwinner/ccu_h6.c index a3c140f481e8..c67b06562f03 100644 --- a/sys/dev/clk/allwinner/ccu_h6.c +++ b/sys/dev/clk/allwinner/ccu_h6.c @@ -72,6 +72,21 @@ #define CLK_APB2 27 static struct aw_ccung_reset h6_ccu_resets[] = { + /* DMA_BGR_REG */ + CCU_RESET(RST_BUS_DMA, 0x70c, 16) + + /* MSGBOX_BGR_REG */ + CCU_RESET(RST_BUS_MSGBOX, 0x71c, 16) + + /* SPINLOCK_BGR_REG */ + CCU_RESET(RST_BUS_SPINLOCK, 0x72c, 16) + + /* HSTIMER_BGR_REG */ + CCU_RESET(RST_BUS_HSTIMER, 0x73c, 16) + + /* DBGSYS_BGR_REG */ + CCU_RESET(RST_BUS_DBG, 0x78c, 16) + /* PSI_BGR_REG */ CCU_RESET(RST_BUS_PSI, 0x79c, 16) @@ -115,6 +130,21 @@ static struct aw_ccung_reset h6_ccu_resets[] = { }; static struct aw_ccung_gate h6_ccu_gates[] = { + /* DMA_BGR_REG */ + CCU_GATE(CLK_BUS_DMA, "bus-dma", "psi_ahb1_ahb2", 0x70c, 0) + + /* MSGBOX_BGR_REG */ + CCU_GATE(CLK_BUS_MSGBOX, "bus-msgbox", "psi_ahb1_ahb2", 0x71c, 0) + + /* SPINLOCK_BGR_REG */ + CCU_GATE(CLK_BUS_SPINLOCK, "bus-spinlock", "psi_ahb1_ahb2", 0x72c, 0) + + /* HSTIMER_BGR_REG */ + CCU_GATE(CLK_BUS_HSTIMER, "bus-hstimer", "psi_ahb1_ahb2", 0x73c, 0) + + /* DBGSYS_BGR_REG */ + CCU_GATE(CLK_BUS_DBG, "bus-dbg", "psi_ahb1_ahb2", 0x78c, 0) + /* PSI_BGR_REG */ CCU_GATE(CLK_BUS_PSI, "bus-psi", "psi_ahb1_ahb2", 0x79c, 0)