Need few clarifications regarding GPIO implemenation in FreeBSD

Rajesh Kumar rajfbsd at gmail.com
Sun Aug 12 19:34:43 UTC 2018


Hi,

I am porting a Linux GPIO driver to FreeBSD. I have few questions,

1) Is Linux "pin_config_get/set"(pinconf_ops) equivalent to
"gpio_pin_getflags/setflags" routine in FreeBSD?  If so, how
"gpio_pin_getcaps" is different from getflags?

2) Does FreeBSD support pin groups? Do we have equivalent of
"pin_config_group_set/get" in Linux?

Thanks,
Rajesh.


More information about the freebsd-drivers mailing list