freebsd-dev/sys
Oleksandr Tymoshenko 91cc58af37 [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver
On Raspberry Pi platform GPIO controller also responsible for pins
multiplexing. Pi code predates proper FDT support in FreeBSD so a
lot of pinmux info is hardcoded. This patch:

- Implements pinctl methods in bcm2835_gpio
- Converts all devices with ad-hoc pinmux info to proper pin control
  mechanisms and adds pinmux info in FreeBSD's custom dts files.
- Adds fdt_pinctrl option to RPI2 and RPI-B kernels
- Adds SPI pinmux config to FreeBSD's customization of GNU DTS.

Reviewed by:	imp, manu
Differential Revision:	https://reviews.freebsd.org/D14104
2018-04-08 00:56:19 +00:00
..
amd64 Handle Skylake-X errata SKZ63. 2018-04-07 17:06:13 +00:00
arm [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
arm64 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam Do not fail devices just for errors in descriptor format. 2018-04-06 19:47:44 +00:00
cddl 9434 Speculative prefetch is blocked by device removal code. 2018-04-03 21:16:41 +00:00
compat Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
conf Add an unused _COMPAT_LINUX32 option to ensure opt_compat.h exists on 2018-04-06 19:11:22 +00:00
contrib Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8 2018-04-02 23:40:50 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb db_script_exec: use a saved script name when reporting commands executed 2018-03-04 13:27:21 +00:00
dev Cast the data pointer to the correct type for the data being accessed (as 2018-04-07 22:21:06 +00:00
dts [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driver 2018-04-08 00:56:19 +00:00
fs Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
gnu bwn(4): txpid2g/txpid5g[lh] are not defined after sromrev 7; the default 2018-02-13 17:43:54 +00:00
i386 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
modules Add nvme_util.c to cam.ko. 2018-04-07 19:29:19 +00:00
net Remove the thread argument from ifr_buffer_*() accessors. 2018-04-06 23:25:54 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
netinet6 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
netipsec Set the proper vnet in IPsec callback functions. 2018-03-20 17:05:23 +00:00
netpfil pf: Improve ioctl validation 2018-04-06 19:36:35 +00:00
netsmb Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
nfs Remove infrastructure for token-ring networks. 2018-03-28 23:33:26 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
powerpc Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
riscv Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
sys Add the ioctl definitions for spigen get/set spi mode. Should have been 2018-04-07 20:53:34 +00:00
teken sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
tests
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Handle Skylake-X errata SKZ63. 2018-04-07 17:06:13 +00:00
x86 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00