pinctrl is not working for RPI2

Alexander Mishin mishin at mh.net.ru
Mon Apr 6 20:21:45 UTC 2020


I reviewed the expectations from initializing the pins using the overlay 
and look towards fdt_pinctrl_configure_tree(9).
Question canceled.
Thanks.

mishin at mh.net.ru писал 2020-04-05 14:33:
> Hi!
> I write a character device driver for tm1637-display and want to
> initialize pins for it as output pins.
> Now I do it by gpio_pin_setflags() from dev_attach(). But I wonder if
> I could do it from a fdt-overlay?
> For OPI PC an overlay I wrote works fine (&pio instead &gpio) but RPI2
> seems to be ignoring its overlay:
................
> But a "gpioctl -l" output reads:
> ....
> pin 20:	1	pin 20<>
> pin 21:	0	pin 21<>
> .....
> 
> What have I done wrong?
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


More information about the freebsd-arm mailing list