Hook up sxipio(4) to the generic pinctrl code. The device binding is pretty
authorkettenis <kettenis@openbsd.org>
Fri, 12 Aug 2016 16:02:31 +0000 (16:02 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 12 Aug 2016 16:02:31 +0000 (16:02 +0000)
commit09a309794186e365e4a96aacef52b2f7cebfe173
treec8b7302cf82ad1e257a2e89805fc2eaf47c2f0ff
parentfd2dba808f748cd65c22d5b7e800506bb63d5d07
Hook up sxipio(4) to the generic pinctrl code.  The device binding is pretty
retarded, requiring tables to map text strings to the apropriate numbers.
These tables were generated automatically from data extracted from the
Linux kernel and are kept in a separate file.  This should make it easy
to add support for more SoCs from the same family.

ok deraadt@, millert@
sys/arch/armv7/sunxi/sxipio.c
sys/arch/armv7/sunxi/sxipio_pins.h [new file with mode: 0644]
sys/arch/armv7/sunxi/sxipiovar.h