From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50B5CED9.2000600@antcom.de> Date: Wed, 28 Nov 2012 09:44:09 +0100 From: Roland Stigge MIME-Version: 1.0 References: <50B5B966.4080506@gmail.com> In-Reply-To: <50B5B966.4080506@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] GPIO in Xenomai List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Roese Cc: xenomai@xenomai.org On 11/28/2012 08:12 AM, Stefan Roese wrote: > I'm looking for a way to use the SoC GPIO's (MPC5200) in an RT thread. > Accessing them via the sysfs (the Linux userspace way) is not an option > since we need to access the GPIO's at a quite high frequency. > > How could the Linux gpiolib infrastructure best be exposed to RT > threads? Has this been discussed before? Any ideas about the "best" > approach here? Have you seen my block gpio patches (v7) that I posted recently to the kernel list? It now contains a dev interface - much faster than sysfs, and can operate on several GPIOs at once. I can re-post here if it helps. Thanks, Roland