Do we have a equivalent for Linux pinctrl framework in FreeBSD?

Rajesh Kumar rajfbsd at gmail.com
Mon Sep 24 14:14:10 UTC 2018


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 at gmail.com> wrote:

>
>
> On Mon, Sep 24, 2018, 21:23 Rajesh Kumar <rajfbsd at 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 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-drivers
>> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.or
>> <freebsd-drivers-unsubscribe at freebsd.org>
>
>
> This might be helpful: https://reviews.freebsd.org/D14104?id=38750
>
>>
>>


More information about the freebsd-drivers mailing list