freebsd-dev/share/man
Andriy Gapon 061b38cdcc gpiobus: provide a new hint, pin_list
"pin_list" allows to specify child pins as a list of pin numbers.
Existing hint "pins" serves the same purpose but with a 32-bit wide bit
mask.  One problem with that is that a controller can have more than 32
pins.  One example is amdgpio.  Also, a list of numbers is a little bit
more human friendly than a matching bit mask.  As a side note, it seems
that in FDT pins are typically specified by their numbers as well.

This commit also adds accessors for instance variables (IVARs) that
define the child pins.  My primary goal is to allow a child to be
configured programmatically rather than via hints (assuming that FDT is
not supported on a platform).  Also, while a child should not care about
specific pin numbers that are allocated to it, it could be interested in
how many were actually assigned to it.

While there, I removed "flags" instance variable.  It was unused.

Reviewed by:	mizhka
MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D20459
2019-06-27 15:46:06 +00:00
..
man1 share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
man3 Add some missing MLINKs for tree(3). 2019-06-17 16:57:44 +00:00
man4 gpiobus: provide a new hint, pin_list 2019-06-27 15:46:06 +00:00
man5 Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
man6 Update intro(6) - remove hint that doesn't work, add explicit list 2017-11-27 12:39:35 +00:00
man7 Make tests(7) point people at the atf(7) man page. 2019-06-02 16:33:24 +00:00
man8 Add rc.resume(8) alias for rc(8) to fix the manpage cross references 2019-02-12 23:33:16 +00:00
man9 Document the KERN_PROTECTION_FAILURE return value from vm_map_protect(). 2019-06-25 17:27:37 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00