From nobody Fri Oct 29 18:24:23 2021 X-Original-To: freebsd-riscv@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 CEAE4181E13B for ; Fri, 29 Oct 2021 18:24:32 +0000 (UTC) (envelope-from thomas-bsd@skibo.net) Received: from aye.elm.relay.mailchannels.net (aye.elm.relay.mailchannels.net [23.83.212.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HgrRz2cDcz3Dp5; Fri, 29 Oct 2021 18:24:30 +0000 (UTC) (envelope-from thomas-bsd@skibo.net) X-Sender-Id: dreamhost|x-authsender|thomas-bsd@skibo.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BD5EB121D06; Fri, 29 Oct 2021 18:24:22 +0000 (UTC) Received: from pdx1-sub0-mail-a290.central1.pdx1.dh-int.com (100-96-133-198.trex.outbound.svc.cluster.local [100.96.133.198]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 443DF121C60; Fri, 29 Oct 2021 18:24:22 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|thomas-bsd@skibo.net Received: from pdx1-sub0-mail-a290.central1.pdx1.dh-int.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.133.198 (trex/6.4.3); Fri, 29 Oct 2021 18:24:22 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|thomas-bsd@skibo.net X-MailChannels-Auth-Id: dreamhost X-Oafish-Name: 68728b2e551ea5b6_1635531862518_501352361 X-MC-Loop-Signature: 1635531862518:1699851961 X-MC-Ingress-Time: 1635531862518 Received: from sherman (unknown [98.207.154.189]) (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) (Authenticated sender: thomas-bsd@skibo.net) by pdx1-sub0-mail-a290.central1.pdx1.dh-int.com (Postfix) with ESMTPSA id 4HgrRn5vn6z1r4; Fri, 29 Oct 2021 11:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=skibo.net; s=skibo.net; t=1635531861; bh=G5LUSOMfWct/7tG7ALtcUNEiNhM=; h=Date:From:To:Cc:Subject:Content-Type; b=dNBAdQvv1FZDticizrBpI7MQ9TLRus375L4ENxgucPVxijpBV837GwsoXaaa/yB/b lBNt4iwHBALL4dtNOgKRzg4xVT+4F7/WAg75tvKdkF0o8/0sHdOOlMt9qKxGcZbkdZ JvMLibsuk9lGpm1WWChl9pwUsh4dvw4CHbvL3mNk= Date: Fri, 29 Oct 2021 11:24:23 -0700 From: Thomas Skibo To: Philip Paeps Cc: freebsd-riscv@freebsd.org Subject: Re: i2c driver for SiFive Unmatched Message-ID: References: <0FE65505-39B1-42D7-B016-9122ECA098D3@freebsd.org> List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0FE65505-39B1-42D7-B016-9122ECA098D3@freebsd.org> X-Rspamd-Queue-Id: 4HgrRz2cDcz3Dp5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skibo.net header.s=skibo.net header.b=dNBAdQvv; dmarc=none; spf=pass (mx1.freebsd.org: domain of thomas-bsd@skibo.net designates 23.83.212.6 as permitted sender) smtp.mailfrom=thomas-bsd@skibo.net X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[skibo.net:s=skibo.net]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[skibo.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; RWL_MAILSPIKE_GOOD(0.00)[23.83.212.6:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[skibo.net:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[23.83.212.6:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36483, ipnet:23.83.208.0/21, country:CA]; MID_RHS_NOT_FQDN(0.50)[]; RECEIVED_SPAMHAUS_PBL(0.00)[98.207.154.189:received] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On Thu, Oct 28, 2021 at 11:40:34AM +0800, Philip Paeps wrote: > On 2021-10-23 05:05:47 (+0800), Thomas Skibo wrote: > > I have the OpenCores i2c driver (dev/iicbus/iicoc.c) up and running on the > > SiFive Unmatched. It was just a matter of adding the right compatibility > > strings and implementing iicoc_iicbus_repeated_start() which, oddly, was > > stubbed out. (Seems to me it should have returned an error if not > > implemented.) > > > > I can put it up on Phabricator if there is interest. > > Yes please! > > Philip > > -- > Philip Paeps > Senior Reality Engineer > Alternative Enterprises > It's up at https://reviews.freebsd.org/D32737 --Thomas Skibo