pinmux_dev: Add the pinmux_dev driver for Atmel SAM3X
This introduces the pinmux_dev driver for the Atmel SAM3X. This driver implements what used to be the pinmux driver API, which applications could use to modify the function of pins during runtime. That functionality is now protected under the CONFIG_PINMUX_DEV option, which should only be set during the early enabling of a new board, as there is risk of damage to the board when misused. Change-Id: I3aa00505d2771b53c41fe687c3e5230e804756be Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
This commit is contained in:
parent
03f920e50d
commit
05cbf0b20b
5 changed files with 184 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
ccflags-y +=-I$(srctree)/drivers
|
||||
|
||||
# Board initialization
|
||||
obj-$(CONFIG_PINMUX_K64) += frdm_k64f/pinmux_k64.o frdm_k64f/pinmux_board_frdm_k64f.o
|
||||
obj-$(CONFIG_PINMUX_STM32) += pinmux_stm32.o
|
||||
obj-$(CONFIG_BOARD_ARDUINO_101) += quark_mcu/pinmux_board_arduino_101.o
|
||||
|
@ -7,3 +8,7 @@ obj-$(CONFIG_BOARD_ARDUINO_DUE) += sam3x/pinmux_board_arduino_due.o
|
|||
obj-$(CONFIG_BOARD_GALILEO) += galileo/pinmux_board_galileo.o galileo/pinmux_galileo.o
|
||||
obj-$(CONFIG_BOARD_QUARK_D2000_CRB) += quark_mcu/pinmux_board_quark_d2000_crb.o
|
||||
obj-$(CONFIG_BOARD_QUARK_SE_DEVBOARD) += quark_mcu/pinmux_board_quark_se_dev.o
|
||||
|
||||
# "runtime" pinmux
|
||||
obj-$(CONFIG_PINMUX_DEV) += dev/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue