]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments
authorandrew <andrew@FreeBSD.org>
Sat, 18 Oct 2014 17:51:34 +0000 (17:51 +0000)
committerandrew <andrew@FreeBSD.org>
Sat, 18 Oct 2014 17:51:34 +0000 (17:51 +0000)
commit95ec3a85b37cbf72bd8fb3d76d98772877b85eb7
tree03be6a962b40f7f3ea79c2d1c2b7a37ba548b635
parent5e3149e8b3c2716712df41245d43fc1e8de0eb1e
Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments
to be present. Thsi creates a new per-SoC driver that handles probe and
setting/getting the gpio flags.

Differential Revision: https://reviews.freebsd.org/D943
Reviewed by: loos, rpaulo
MFC after: 1 week
13 files changed:
sys/arm/ti/am335x/am335x_gpio.c [new file with mode: 0644]
sys/arm/ti/am335x/am335x_scm_padconf.c
sys/arm/ti/am335x/am335x_scm_padconf.h [new file with mode: 0644]
sys/arm/ti/am335x/files.am335x
sys/arm/ti/files.ti
sys/arm/ti/omap4/files.omap4
sys/arm/ti/omap4/omap4_gpio.c [new file with mode: 0644]
sys/arm/ti/omap4/omap4_scm_padconf.c
sys/arm/ti/omap4/omap4_scm_padconf.h [new file with mode: 0644]
sys/arm/ti/ti_gpio.c
sys/arm/ti/ti_gpio.h [new file with mode: 0644]
sys/arm/ti/ti_gpio_if.m [new file with mode: 0644]
sys/arm/ti/ti_scm.h