Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2020 00:21:36 +0400
From:      Alexander Mishin <mishin@mh.net.ru>
To:        freebsd-arm@freebsd.org
Subject:   Re: pinctrl is not working for RPI2
Message-ID:  <3cdb27900d94d01b3b970f669aabf80d@mh.net.ru>
In-Reply-To: <db482bddfd5fd0c3ea7b000df623425d@mh.net.ru>

index | next in thread | previous in thread | raw e-mail

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

mishin@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"


home | help

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