From owner-freebsd-arm@freebsd.org Thu Apr 7 20:43:51 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30EC3B06F67 for ; Thu, 7 Apr 2016 20:43:51 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 ED5E0140F for ; Thu, 7 Apr 2016 20:43:50 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 6ff246f0-fd01-11e5-999f-1bb1acbc0c26 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 7 Apr 2016 20:43:51 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u37Khg9X004504; Thu, 7 Apr 2016 14:43:42 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1460061822.1091.314.camel@freebsd.org> Subject: Re: PPS input on GPIO pin RPI2. From: Ian Lepore To: Peter =?ISO-8859-1?Q?Ankerst=E5l?= , freebsd-arm@freebsd.org Date: Thu, 07 Apr 2016 14:43:42 -0600 In-Reply-To: <56FCEE15.60109@pean.org> References: <56FCEE15.60109@pean.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 20:43:51 -0000 On Thu, 2016-03-31 at 11:29 +0200, Peter Ankerstål wrote: > (Sorry for sort of double posting) > > Hi! > > I asked a question on the stable@ list a few weeks ago about having > PPS > input on a generic GPIO-pin on the RPI2. I received some positive > feedback that this should be easy to implement but have heard nothing > since. Today I found out about the arm-list and thought this maybe > was a > better place for this question. > > > Background: > https://lists.freebsd.org/pipermail/freebsd-stable/2016-March/084288. > html > > Similar question: > https://lists.freebsd.org/pipermail/freebsd-questions/2014-July/25905 > 5.html > > /Peter. > Sorry for the slow response on this, just wanted to let you know that work on this is finally underway. The big interrupt infrastructure changes I was waiting for were committed a few days ago. I started writing the pps driver and ran into some more "we have no way to do this" problems which we're building even more new infrastructure for now. :) I have no firm ETA, but I did get enough of a proof-of-concept hacked together yesterday that I was able to get pps input working on a gpio pin on a wandboard (and that work will generalize to any of the arm boards that use FDT data pretty quickly), so it shouldn't be much longer. -- Ian