Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2018 22:22:17 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Rajesh Kumar <rajfbsd@gmail.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: Do we have a equivalent for Linux pinctrl framework in FreeBSD?
Message-ID:  <CALM2mEk=_oUELFWp2ZnKnF0=5YPkW50X7E-eo8oQz3sVmCxTDw@mail.gmail.com>
In-Reply-To: <CAAO%2BANOJ-SX6Us%2BEdE9iMCvXydO4oi0SqA1=wjLEXbkYcmAJrA@mail.gmail.com>
References:  <CAAO%2BANN-UMqkwLB0HBMqUuAsNeaAMHa-Nda3oPnr-azYYCOt6g@mail.gmail.com> <CALM2mEkgLKV-G=FBu4JvCGuejo78C4NZ8RVmoRfiE2%2BP=e1uLQ@mail.gmail.com> <CAAO%2BANOJ-SX6Us%2BEdE9iMCvXydO4oi0SqA1=wjLEXbkYcmAJrA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 24, 2018, 22:14 Rajesh Kumar <rajfbsd@gmail.com> wrote:

> Thanks for your response Blubee.
>
> This show the usage of pinctrl framework with FDT attached devices with
> ARM platform.  I guess fdt_pinctrl will work with amd64 also, but will it
> be working with ACPI attached devices?
>
> On Mon, Sep 24, 2018 at 7:10 PM blubee blubeeme <gurenchan@gmail.com>
> wrote:
>
>>
>>
>> On Mon, Sep 24, 2018, 21:23 Rajesh Kumar <rajfbsd@gmail.com> wrote:
>>
>>> Hi Everyone,
>>>
>>> Do we have a pinctrl subsystem in FreeBSD which is kind of equivalent to
>>> the Linux Pinctrl subsystem?
>>>
>>> I have a GPIO controller which is attached on the ACPI bus (on amd64
>>> platform). I am trying to add the support to configure the pins as
>>> interrupts.  I looked to use the INTRNG framework, but that seems to be
>>> not
>>> available for amd64 platforms.  So, I am exploring the pinctrl framework
>>> available in FreeBSD, but that seems available only for FDT devices.  So,
>>> Is there any way I can use this pinctrl framework for my purpose (or) is
>>> there anything else I need to look after?
>>>
>>> Thanks,
>>> Rajesh.
>>> _______________________________________________
>>> freebsd-drivers@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-drivers
>>> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.or
>>> <freebsd-drivers-unsubscribe@freebsd.org>
>>
>>
>> This might be helpful: https://reviews.freebsd.org/D14104?id=38750
>>
>>> I'm not 100% certain on that, I am also doing some stuff with the gpio
and decided to just get the pi running FreeBSD and do most of my work
through that.

Best,
Owen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEk=_oUELFWp2ZnKnF0=5YPkW50X7E-eo8oQz3sVmCxTDw>