From owner-freebsd-arch@FreeBSD.ORG Tue Dec 4 20:27:58 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12A6DB89 for ; Tue, 4 Dec 2012 20:27:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx1.freebsd.org (Postfix) with ESMTP id C1FB58FC13 for ; Tue, 4 Dec 2012 20:27:57 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id c11so7664111ieb.33 for ; Tue, 04 Dec 2012 12:27:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=VvZS9si8Bgx1dyQCmOu8t3S3a3BWR9WtPs4HQVXmUj4=; b=dOqIkc5OoiajS6p21Lu4XQ1IaCAPeqPJPjbbG+k345mInvx9nwCm4FJq80ydoN9ieA /YfbNpRTtpgwrwKhVJK/iMyCsCVQHU5nXNPrfPMFoZlzSUkwYt1Rw3lsnH+uwSGLY/UN A2VrZcSe6oZB0OtOsBajtbk6dhRdbTmYVkos+KExJrFCd5e4p9BGZ27vtlxhIP0yVVrt LuSNANO09zMKBKX9zuqODB2w2sLvC6CPGmljnR10GTea42cKWxWCPWBf1ev2Nc1VdDeZ RhqSCxdd3/erUggEKGIPmVb4i32YanvU1MHvzIHZuhmxNpvulf6zGaCC+2ag13dl/0P8 CoPg== Received: by 10.50.76.195 with SMTP id m3mr4023165igw.64.1354652871177; Tue, 04 Dec 2012 12:27:51 -0800 (PST) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPS id xn10sm10696365igb.4.2012.12.04.12.27.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 12:27:50 -0800 (PST) Sender: Warner Losh Subject: Re: FDT Support for GPIO (gpiobus and friends) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 4 Dec 2012 13:27:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQm/OAxVzkf8ZUTJhQ/Sp5uJlnlFfcB/W1RwWZns3KELnEhrEXkl+tsYcF0A8COC61R9a22P Cc: freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:27:58 -0000 Does this implement the standard DTS info for these things? Linux has = extensive support for all things GPIO that tends to be reflected in the = FDT standards... I'm interested in getting support for pinctl and = pinmux, for example... Regardless, this is cool! Warner On Dec 4, 2012, at 12:19 PM, Luiz Otavio O Souza wrote: > Hi, >=20 > I've been playing with GPIO on RPi and found the missing support of = FDT on gpiobus very annoying. >=20 > The following patch (gpio-fdt.diff) adds FDT support to GPIO (gpiobus, = gpioc, gpioled). >=20 > The bcm2835_gpio.c.fdt.diff will add (a better) support of FDT on RPi = GPIO controller and the bcm2835.dts.diff has my changes on the RPi dts = for adding support of gpioled on 'ok' led (pin 16). >=20 > Comments ? >=20 > Thanks, > Luiz >=20 > = ________________= _______________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to = "freebsd-arch-unsubscribe@freebsd.org"