From 1ff0141f43d74dcc4d8430575be048c9e10f710c Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Tue, 10 Jul 2018 13:13:39 -0700 Subject: meta-agl-bsp: linux: add NFC configuration fragment Add various NFC options to kernel configuration Bug-AGL: SPEC-1554 Change-Id: I94c985421a3b78466d44140ebadcec5c50166212 Signed-off-by: Matt Ranostay --- meta-agl-bsp/recipes-kernel/linux/linux-agl.inc | 3 +++ meta-agl-bsp/recipes-kernel/linux/linux/nfc.cfg | 34 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta-agl-bsp/recipes-kernel/linux/linux/nfc.cfg (limited to 'meta-agl-bsp') diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc index 0a2b19c2e..db3c2d1b8 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc +++ b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc @@ -31,6 +31,7 @@ SRC_URI_append = "\ file://btusb.cfg \ file://usbaudio.cfg \ file://i2c-led.cfg \ + file://nfc.cfg \ " KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/can-bus.cfg" # Enable support for usb video class for usb camera devices @@ -48,6 +49,8 @@ KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/btusb.cfg" KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/usbaudio.cfg" # Enable I2C and LED for demontrator KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/i2c-led.cfg" +# Enable NFC devices +KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/nfc.cfg" # Enable required features for the agl-netboot feature SRC_URI_append_netboot = " file://nbd.cfg \ diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/nfc.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/nfc.cfg new file mode 100644 index 000000000..6d863a075 --- /dev/null +++ b/meta-agl-bsp/recipes-kernel/linux/linux/nfc.cfg @@ -0,0 +1,34 @@ +CONFIG_NFC=m +CONFIG_NFC_DIGITAL=m +CONFIG_NFC_NCI=m +CONFIG_NFC_NCI_SPI=m +CONFIG_NFC_HCI=m +CONFIG_NFC_SHDLC=y +CONFIG_NFC_TRF7970A=m +CONFIG_NFC_MEI_PHY=m +CONFIG_NFC_PORT100=m +CONFIG_NFC_FDP=m +CONFIG_NFC_FDP_I2C=m +CONFIG_NFC_PN544=m +CONFIG_NFC_PN544_I2C=m +CONFIG_NFC_PN544_MEI=m +CONFIG_NFC_PN533=m +CONFIG_NFC_PN533_USB=m +CONFIG_NFC_PN533_I2C=m +CONFIG_NFC_MICROREAD=m +CONFIG_NFC_MICROREAD_I2C=m +CONFIG_NFC_MICROREAD_MEI=m +CONFIG_NFC_MRVL=m +CONFIG_NFC_MRVL_USB=m +CONFIG_NFC_MRVL_I2C=m +CONFIG_NFC_MRVL_SPI=m +CONFIG_NFC_ST21NFCA=m +CONFIG_NFC_ST21NFCA_I2C=m +CONFIG_NFC_ST_NCI=m +CONFIG_NFC_ST_NCI_I2C=m +CONFIG_NFC_ST_NCI_SPI=m +CONFIG_NFC_NXP_NCI=m +CONFIG_NFC_NXP_NCI_I2C=m +CONFIG_NFC_S3FWRN5=m +CONFIG_NFC_S3FWRN5_I2C=m +CONFIG_NFC_ST95HF=m -- cgit 1.2.3-korg