Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2016 11:12:33 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        "Lundberg, Johannes" <johannes@brilliantservice.co.jp>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: GPIO driver for Intel Atom SoC
Message-ID:  <1465751553.1188.110.camel@freebsd.org>
In-Reply-To: <CAASDrVkw_G38J7owN-pKGOaeUCGUCodoXk84ZKF2GT5WL=3jFA@mail.gmail.com>
References:  <CAASDrVkw_G38J7owN-pKGOaeUCGUCodoXk84ZKF2GT5WL=3jFA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1465751553.1188.110.camel>