linux-mips
[Top] [All Lists]

Re: [PATCH] provide functions for gpio configuration

To: Phil Sutter <n0-1@freewrt.org>
Subject: Re: [PATCH] provide functions for gpio configuration
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 30 Oct 2008 21:26:17 +0100
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id:sender; bh=DryMO8sAP7IZ+m1avBMDA7kf0J8n00ZheFEmBvfx9eE=; b=Ho6FUJi02NzhXIR8MIiKWZBu4YOwGGDGgSVoGZSwUbzSLexb48o5D7Ql7lvCqvBUNr 9ZF926W9MOKnhiEaDI2502REgJWrMRx1Z+/rGkQz1ZzopUTR9UhSp7NC5dSWUa5mzhJI cTyDRil3rfISRDOUigTIVGMoseyim+5xFEUpU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id:sender; b=vkXdZp+y9kGlKPa3U9S1HtUy0o8aNsNS5IMTobeyxxpsOp5bGY5CUEjdiZva2qzdDd h8JDbtnsU5fLEQloFyL0yt0bc60W6DvT3msl97PuIBqplCwWM4Ivgs8w9+uTNUKb3N10 zlAizo5zgDAkY0TPmP2quK99W3ZEZdRUsl1jQ=
In-reply-to: <1225398000-24020-1-git-send-email-n0-1@freewrt.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200810301916.25290.florian@openwrt.org> <1225398000-24020-1-git-send-email-n0-1@freewrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.9
Le Thursday 30 October 2008 21:20:00 Phil Sutter, vous avez écrit :
> As gpiolib doesn't support pin multiplexing, it provides no way to
> access the GPIOFUNC register. Also there is no support for setting
> interrupt status and level. These functions provide access to them and
> are needed by the CompactFlash driver.
>
> Also do a complete configuration of the GPIO pin used by the cf driver,
> which also serves as example for future drivers.

Great work, thanks !

>
> Signed-off-by: Phil Sutter <n0-1@freewrt.org>

Acked-by: Florian Fainelli <florian@openwrt.org>

<Prev in Thread] Current Thread [Next in Thread>