From owner-freebsd-embedded@FreeBSD.ORG Wed May 14 21:42:58 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE3131FF for ; Wed, 14 May 2014 21:42:58 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF7002DA3 for ; Wed, 14 May 2014 21:42:58 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id i8so318382qcq.32 for ; Wed, 14 May 2014 14:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/cJd4N7XA7Lz+Lf9CDY/m3hT9twY7+IWLo9KYMULuVc=; b=ePCjX8aB/XE+oBB/4jEE11uae/Oea5oFdMp6F/9YHuAOyck/wMK6+7S8H7WBZaVDWv HHB253fKwLH6Ff09UBR0aG3bWQQI4K9aAB/W6F18VF+tVcKPWzi1z8kos+c6lxehxjuF aiF80TLNEcW4gMuAo4lL1TXqgw+vIj0iacMYYVbtN3LwHfE1RUb0HjjpmqxecN/+sOE4 sS0AI7b7AJsXTxF2KclED4NM1fcJLq44Fdc8NQGwWa8cpl5NM6SEa7I7X07pXaBy3knu 0YRURdUMav/323VnSCXPz2qBnlkbmHORnyZBEuJrXb0da7E+vj+2UxbvDDEfZu0I1zjE Jaqg== MIME-Version: 1.0 X-Received: by 10.140.91.5 with SMTP id y5mr9675282qgd.12.1400103777909; Wed, 14 May 2014 14:42:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.191.201 with HTTP; Wed, 14 May 2014 14:42:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 14 May 2014 14:42:56 -0700 X-Google-Sender-Auth: -4KuuaJ0JTbZjolmNUBT8UeZUK4 Message-ID: Subject: Re: [RFC] GPIO interrupt support From: Adrian Chadd To: Luiz Otavio O Souza Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2014 21:42:59 -0000 Hi! Cool! Which ATheros chips did you test this on? -a On 14 May 2014 12:30, Luiz Otavio O Souza wrote: > Hi, > > I've been working on the attached patches which adds the GPIO interrupt support. > > gpio-intr.diff has the bus changes for FDT and non-FDT systems. > > ar71xx_gpio-intr.diff has the changes to AR71xx GPIO driver. > > bcm2835_gpio-intr.diff has the changes to BCM2835 (RPi) GPIO driver. > > ti_gpio-intr.diff has the changes for AM335x (Beaglebone), OMAP3 and > OMAP4 (panda board). > > The other attached file (gpio-intr-kqueue.c) is an example program > i've been using to check for interrupts from userland. > > Userland is notified about GPIO interrupts by a kqueue event. > > The changes have been tested on BBB, RPi and RSPRO. > > The manual page changes are still to be done (but it will surely be done). > > Comments ? > > Regards, > Luiz > > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org"