History log of /openbsd/sys/dev/ofw/ofw_pinctrl.c (Results 1 – 3 of 3)
Revision Date Author Comments
# a7702439 06-Jun-2020 patrick <patrick@openbsd.org>

Some devices have no phandle since they are not referenced in the
device tree, but they are still registered in our OFW framework.
These then tend to have a phandle 0. If we are trying to lookup
a d

Some devices have no phandle since they are not referenced in the
device tree, but they are still registered in our OFW framework.
These then tend to have a phandle 0. If we are trying to lookup
a device by phandle, we should explicitly check for phandle 0 and
bail, since otherwise it is possible that we falsely match that
phandle and return a device.

ok kettenis@

show more ...


# 50946bcb 12-Mar-2017 kettenis <kettenis@openbsd.org>

Introduce OF_getindex() API and use it to replace multiple instances of
pretty much identical code.

ok visa@


# 04796313 06-Aug-2016 kettenis <kettenis@openbsd.org>

Add a generic pinctrl "framework".

ok patrick@