From nobody Thu Oct 28 03:40:34 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 AF8CC1828F7C for ; Thu, 28 Oct 2021 03:40:37 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfrtY4S1bz4Yvn; Thu, 28 Oct 2021 03:40:37 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: philip/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 797892BFC; Thu, 28 Oct 2021 03:40:37 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 7230227C005A; Wed, 27 Oct 2021 23:40:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 27 Oct 2021 23:40:37 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdeguddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffokfgjfhggtgesthdtmh dtredttdenucfhrhhomheprfhhihhlihhpucfrrggvphhsuceophhhihhlihhpsehfrhgv vggsshgurdhorhhgqeenucggtffrrghtthgvrhhnpedvgfdtledvgfeggeehfefgvedtke fhjeeludfgvdeftefgudduleegtdeludekudenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphdomhgvshhmthhprghuthhhphgvrh hsohhnrghlihhthidqudduieeivdeivdegkedqvdefhedukedttdekqdhphhhilhhiphep pehfrhgvvggsshgurdhorhhgsehtrhhouhgslhgvrdhish X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Oct 2021 23:40:35 -0400 (EDT) From: Philip Paeps To: Thomas Skibo Cc: freebsd-riscv@freebsd.org Subject: Re: i2c driver for SiFive Unmatched Date: Thu, 28 Oct 2021 11:40:34 +0800 X-Mailer: MailMate (1.14r5842) Message-ID: <0FE65505-39B1-42D7-B016-9122ECA098D3@freebsd.org> In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N 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