]> Zhao Yanbai Git Server - minix.git/commit
kernel: add padconf kernel call 95/795/1
authorThomas Cort <tcort@minix3.org>
Wed, 28 Aug 2013 04:43:45 +0000 (00:43 -0400)
committerThomas Cort <tcort@minix3.org>
Wed, 28 Aug 2013 16:53:05 +0000 (12:53 -0400)
commit4593804bf0e5d8725479802680d3cd582c88d0c6
tree63e03b3da92d3ea1cef18f13bb9a5828a28b8262
parentc8f3b10909c82594396a5e25031538a15090fab0
kernel: add padconf kernel call

On the AM335X, writes to the padconf registers must be done in privileged
mode. To allow userspace drivers to dynamically change the padconf at
runtime, a kernel call has been added.

Change-Id: I4b25d2879399b1785a360912faa0e90b5c258533
24 files changed:
commands/service/parse.c
distrib/sets/lists/minix/md.evbarm
drivers/gpio/Makefile
drivers/gpio/gpio.c
drivers/i2c/Makefile
drivers/i2c/arch/earm/omap_i2c.c
etc/system.conf
include/minix/com.h
include/minix/padconf.h
include/minix/syslib.h
kernel/arch/earm/arch_system.c
kernel/arch/earm/omap_padconf.c
kernel/arch/earm/omap_padconf.h
kernel/arch/earm/omap_padconf_registers.h [deleted file]
kernel/config.h
kernel/system.c
kernel/system.h
kernel/system/Makefile.inc
kernel/system/do_padconf.c [new file with mode: 0644]
lib/Makefile
lib/libpadconf/Makefile [deleted file]
lib/libpadconf/padconf.c [deleted file]
lib/libsys/Makefile
lib/libsys/sys_padconf.c [new file with mode: 0644]