From owner-freebsd-arm@freebsd.org Thu Nov 17 23:45:14 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 1D214C4729C for ; Thu, 17 Nov 2016 23:45:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 F3BC819DB for ; Thu, 17 Nov 2016 23:45:13 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: e0aa7d0d-ad1f-11e6-94b7-cbe6054a74b1 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id e0aa7d0d-ad1f-11e6-94b7-cbe6054a74b1; Thu, 17 Nov 2016 23:45:11 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id uAHNiwBG008748; Thu, 17 Nov 2016 16:45:05 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1479426298.59911.135.camel@freebsd.org> Subject: Re: PPS input on GPIO pin RPI2. From: Ian Lepore To: Peter =?ISO-8859-1?Q?Ankerst=E5l?= Cc: freebsd-arm@freebsd.org Date: Thu, 17 Nov 2016 16:44:58 -0700 In-Reply-To: <794E7B45-5512-4032-8CBE-7D2BD1533BD4@pean.org> References: <56FCEE15.60109@pean.org> <1460061822.1091.314.camel@freebsd.org> <794E7B45-5512-4032-8CBE-7D2BD1533BD4@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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 23:45:14 -0000 On Thu, 2016-11-17 at 16:36 -0700, Peter Ankerstål wrote: > > On 7 Apr 2016, at 14:43, Ian Lepore wrote: > > > > 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. > > > > Hi! > > I just stumbled upon this project: > > https://github.com/BobBallance/freebsd-gpio-pps > > > Thanks again for your work. > > /Peter. > I committed a gpiopps driver months ago... https://svnweb.freebsd.org/base/head/sys/dev/gpio/gpiopps.c?view=log It should work on any system that uses FDT data. -- Ian