From nobody Mon May 16 13:51:23 2022 X-Original-To: dev-commits-src-branches@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 BA62D1B35900; Mon, 16 May 2022 13:51:24 +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 4L20z01wXMz3Ggm; Mon, 16 May 2022 13:51:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652709084; 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=E/wItjOckeCyh35JMhcEwQQjlH9lYW4DDeH6ZvDvA+U=; b=hQLfSS5xRpYd9dg9rKwyclFzyyDY8IW429OK3uKAeSToqMquMTlJYXb8ZqM+KKbFcMlhCZ qNzQSTz9ucF17GSORm4eS44waKkr5hTbYYif3QPGAYr77gCThFlFLC9pGsD/+LDMnFfuJA lvbm8cJZmdBOlQt0x9k2T866jIhkJVvff08J7sKe75oTbOzb4MezRbqYyNtIQE1VE2IAQt HTKPGHl/cND4AXG5ufnFtmxqlSkcelpu5+YcobllhHTkn/0lIjXSN7iNH8+v/Zs8mHxpBI a6FilvIHjRgBAa5x/QZcOU59aaBn0vsDjrKTxVvVZSDj31lOdq9oj+79UfFt7w== 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 B62D721044; Mon, 16 May 2022 13:51:23 +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 24GDpNnM079774; Mon, 16 May 2022 13:51:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GDpNGK079773; Mon, 16 May 2022 13:51:23 GMT (envelope-from git) Date: Mon, 16 May 2022 13:51:23 GMT Message-Id: <202205161351.24GDpNGK079773@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 13033a1549e0 - stable/13 - riscv: add iicbus and iicoc to GENERIC List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 13033a1549e05e3a3f273b17d7da05fcf8861fc5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652709084; 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=E/wItjOckeCyh35JMhcEwQQjlH9lYW4DDeH6ZvDvA+U=; b=kuUf7QJ7uJV6A+LKSBz0sfNd1r7/AI9Vc4d+04YoWMWy4gmJ6B2KhfDySceyYyqFXEGLa2 QWGwfOIAzAnRtfLNhYDxfJqfLJcMDr7+wySMm0NPsyDYZ9TvVicwKZHwVMlyCK56HG0Q0X RHZohWC7uLS/PcQ33NgD979R6itGkDppVu0plzjcyjHHa8IaP8cLBg6BB/scsSVqn51FYq 59O0A75i8Qq3FuvfVSV/gYS3n1SE1irwECcnuJLI+T1Rtd4w2tD59TLNTO0Fnjox1aAmKB i4ZYcUrv56giCaxAdKCvW7TLi4rZmnmklpkSCxhXsQQO1VBlCjV1BJVeVT16rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652709084; a=rsa-sha256; cv=none; b=hwS3myOTHUkZB6Y9aiTVY1NVnu8onWKHeF+ucQ70kpJDevzWuQNgKtHMSTGV9H8XH0OLEA 8G5Iwz/mXgRXkQLOrJTxmHFarlQZVPLEPo6PMc/GuKAgyZr8/WPiR4S3PXdOYxFO79Ti/E FBsEvfvRaN0RkopFlaRr2zytl6YiEXZuAFUCuCOewXC8RH7rwzw7asS/k7ij8jBy4OEDAY VpolOgC0sz3GWVhGF/mwY8JQdZq0xsA2d/Hkc42OPRfQDfOjm2FoM861RRRSMurhcXDxvJ Uh3RmI5pBzJ6zspdv4loNPrzV5wYuKpE4ZZ0AahmzSiItlupRfUXM4fFZuDSPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=13033a1549e05e3a3f273b17d7da05fcf8861fc5 commit 13033a1549e05e3a3f273b17d7da05fcf8861fc5 Author: Philip Paeps AuthorDate: 2021-11-01 05:16:27 +0000 Commit: Mitchell Horne CommitDate: 2022-05-16 13:34:04 +0000 riscv: add iicbus and iicoc to GENERIC The iicoc driver supports the OpenCores I2C IP. This is included in at least the SiFive "Unleashed" and "Unmatched" cores and probably others. Suggested by: jrtc27 (cherry picked from commit 91feb4f42075e2d7c8d6d50cd5faa651ab3a0e7d) --- sys/riscv/conf/GENERIC | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC index 4ce3ffe059ba..7849ddb38485 100644 --- a/sys/riscv/conf/GENERIC +++ b/sys/riscv/conf/GENERIC @@ -193,6 +193,10 @@ device bpf # Berkeley packet filter options FDT makeoptions MODULES_EXTRA+="dtb/sifive" +# I2C support +device iicbus # Bus support, required for iicoc below. +device iicoc # OpenCores I2C controller support + # SiFive device drivers device fu740_pci_dw device sifive_gpio