Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2022 13:51:23 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 13033a1549e0 - stable/13 - riscv: add iicbus and iicoc to GENERIC
Message-ID:  <202205161351.24GDpNGK079773@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=13033a1549e05e3a3f273b17d7da05fcf8861fc5

commit 13033a1549e05e3a3f273b17d7da05fcf8861fc5
Author:     Philip Paeps <philip@FreeBSD.org>
AuthorDate: 2021-11-01 05:16:27 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205161351.24GDpNGK079773>