From owner-freebsd-current@freebsd.org Sun Jun 12 17:13:43 2016 Return-Path: Delivered-To: freebsd-current@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 AA145AF1C70 for ; Sun, 12 Jun 2016 17:13:43 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 6374528D2 for ; Sun, 12 Jun 2016 17:13:43 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: e679ab1d-30c0-11e6-8929-8ded99d5e9d7 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sun, 12 Jun 2016 17:12:53 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u5CHCXv6011632; Sun, 12 Jun 2016 11:12:33 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1465751553.1188.110.camel@freebsd.org> Subject: Re: GPIO driver for Intel Atom SoC From: Ian Lepore To: "Lundberg, Johannes" , "freebsd-mobile@freebsd.org" , FreeBSD Current Date: Sun, 12 Jun 2016 11:12:33 -0600 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 17:13:43 -0000 On Sat, 2016-06-11 at 21:59 -0700, Lundberg, Johannes wrote: > Hi > > I want to port the pinctrl-cherryview driver from Linux. > > I've seen there is the gpiobus and a controller gpioc, can any of > these be > leverage when porting pinctrl? > > What is the recommend way to proceed? > > Thanks! > The term 'pinctrl' has a very specific meaning in the FDT/devicetree world which is prevelant in linux these days. A pinctrl driver is not just a gpio controller driver. If the linux driver you're talking about is in fact an FDT pinctrl driver, then you'll essentially be embracing the entire FDT world (it's an alternative to ACPI and hints and other types of metadata for describing hardware). You'll also be breaking new ground in freebsd by being the first to try to use freebsd's FDT support framework on an x86 platform. -- Ian