From nobody Sat Nov 16 19:04:30 2024 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 4XrNc00wK4z5dhdQ; Sat, 16 Nov 2024 19:04:32 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XrNbz59M5z4Z8P; Sat, 16 Nov 2024 19:04:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731783871; 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=B4AfYR9FY1GFQOqIRYZckNkNLqFPWFb+UQsJ1YvYTY0=; b=vL4Lfdn4NK2PMhXf4v7yfkV8kI/qwz0rN0AmmgQXyVJ2pYQnlEUZPDIeglfUs7a+dTBPSL 48pqbAaanMPuE3kp4hXcXvxu4TRmtd2udq717o920k2E7RdsLd1nsrTIsl4Ce4vcxsN3bW S0ejOC63v769F1GHvUaAIA6/s0VCHN58O8C4zpDvihpHSXw1ztnBIruHMtTUIe21V7ulnR Jjs+aFy/JS29hpQcw3BB0Bwr9WN5pq7iBd5W9L19IuKBmwzbXhF87Td81KO+7cJWZs/VbC fpMaa/gXfQmckcERCKSWZpYwvCNTG/K7FfZehrEyqQAcGWG1zKyK2kvLSYLAoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731783871; 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=B4AfYR9FY1GFQOqIRYZckNkNLqFPWFb+UQsJ1YvYTY0=; b=tlTYcWcOTrH0xjGw9WPcCBw2NH5LT6FuNYJjTDRl1iVVp9V9bkQjusu6Dqxa9D59/5TvTW avYoApWkK/fVycKrAgh8bKb8gEn2yghE5PaVW4tfM0/sp2f/RFC1OeVtvUGLC5ND8rUFCw QmX51qeKPPS+hSci5r9WwvBnXcPXmHVPpuXqS8x+ZdeEJ1m1+xe6ILCb7MFtbJ/Nm+JGQ5 o46vIaPsuTv6KJP+UvUHhybkdmjHBLdpAaM4RS7eB9aN8O0fG36gVTNh1P+b3y1bqGOPXP FDYBWr4JPmBSj0ntKG16HCPZaBmbeAAzRAflRE/2D/lSqIrfcZVPsG+HsAXTGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731783871; a=rsa-sha256; cv=none; b=JhaDpMTTGvB37Pss5ZKhoSMOeI8A4HFcp8Xr8V8gWgLsOhZ7hjMlJtNyWS4rtZiHVAMqQZ oFNxFkK8VnPGUwZVXqvfm/asUMLB5wuFBZPPLaUC4Rvt/5VMb/8uQN8OTbzBl8L6pGoY0K uZIM/mtBMmHPJCMoKl2+yrY3TZTe4GQSqZlCZ1b6C9wTgz6AIMx1y2xy1YKhOZXGLOl64a Wy8MMIAIPvnRASHKPAXYlxNkGISbCjM22jD7ETZD75xCr7Ojhf3VoVV8pwCKpnJ3nfYKJe CVedJBxr4wQZ0AqdlXH+Uj0hO3LqEPG54p+T7ciqR48l9U0iOwWgEFD6nL5mqw== 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 4XrNby4x2rzJds; Sat, 16 Nov 2024 19:04:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AGJ4Uem020921; Sat, 16 Nov 2024 19:04:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AGJ4Uvc020918; Sat, 16 Nov 2024 19:04:30 GMT (envelope-from git) Date: Sat, 16 Nov 2024 19:04:30 GMT Message-Id: <202411161904.4AGJ4Uvc020918@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 184d0b3fe348 - main - aw_syscon: enable for Allwinner D1 (riscv) 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 184d0b3fe348a6419794673f9431a290cb32e47b Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=184d0b3fe348a6419794673f9431a290cb32e47b commit 184d0b3fe348a6419794673f9431a290cb32e47b Author: Mitchell Horne AuthorDate: 2024-11-16 19:02:49 +0000 Commit: Mitchell Horne CommitDate: 2024-11-16 19:04:04 +0000 aw_syscon: enable for Allwinner D1 (riscv) Add the relevant compatible string and build glue. Update the man page with relevant compat strings. Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47516 --- share/man/man4/man4.arm/aw_syscon.4 | 10 +++++++++- sys/arm/allwinner/aw_syscon.c | 1 + sys/riscv/allwinner/files.allwinner | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/share/man/man4/man4.arm/aw_syscon.4 b/share/man/man4/man4.arm/aw_syscon.4 index 034bca716bcf..e32f329e489a 100644 --- a/share/man/man4/man4.arm/aw_syscon.4 +++ b/share/man/man4/man4.arm/aw_syscon.4 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd January 7, 2018 +.Dd November 11, 2024 .Dt AW_SYSCON 4 .Os .Sh NAME @@ -48,9 +48,17 @@ strings: .It allwinner,sun50i-a64-system-controller .It +allwinner,sun50i-a64-system-control +.It allwinner,sun8i-a83t-system-controller .It allwinner,sun8i-h3-system-controller +.It +allwinner,sun8i-h3-system-control +.It +allwinner,sun50i-h5-system-control +.It +allwinner,sun20i-d1-system-control .El .Sh AUTHORS The diff --git a/sys/arm/allwinner/aw_syscon.c b/sys/arm/allwinner/aw_syscon.c index 6a880a9b617e..cd2d3eeb53cd 100644 --- a/sys/arm/allwinner/aw_syscon.c +++ b/sys/arm/allwinner/aw_syscon.c @@ -51,6 +51,7 @@ static struct ofw_compat_data compat_data[] = { {"allwinner,sun8i-h3-system-controller", 1}, {"allwinner,sun8i-h3-system-control", 1}, {"allwinner,sun50i-h5-system-control", 1}, + {"allwinner,sun20i-d1-system-control", 1}, {NULL, 0} }; diff --git a/sys/riscv/allwinner/files.allwinner b/sys/riscv/allwinner/files.allwinner index af6a9a36ee4c..e29300c627a1 100644 --- a/sys/riscv/allwinner/files.allwinner +++ b/sys/riscv/allwinner/files.allwinner @@ -1,5 +1,6 @@ arm/allwinner/aw_rtc.c optional aw_rtc fdt +arm/allwinner/aw_syscon.c optional syscon arm/allwinner/aw_wdog.c optional aw_wdog # Allwinner clock drivers