imx23: add lradc support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37632
master
Zoltan Herpai 11 years ago
parent 91e8082e2d
commit 9eb3572b7b
  1. 17
      target/linux/imx23/config-default
  2. 15
      target/linux/imx23/modules.mk
  3. 2
      target/linux/imx23/profiles/01-olinuxino.mk

@ -68,7 +68,6 @@ CONFIG_CRYPTO_HASH2=y
CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_DEBUG_USER is not set
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DMADEVICES=y
CONFIG_DMA_ENGINE=y
CONFIG_DMA_OF=y
@ -142,7 +141,6 @@ CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCA=y
CONFIG_I2C_ALGOPCF=y
# CONFIG_I2C_ARB_GPIO_CHALLENGE is not set
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_COMPAT=y
@ -155,7 +153,21 @@ CONFIG_I2C_MUX=y
# CONFIG_I2C_MUX_PCA954x is not set
CONFIG_I2C_MUX_PINCTRL=y
CONFIG_I2C_MXS=y
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
# CONFIG_IIO_BUFFER_CB is not set
CONFIG_IIO_CONSUMERS_PER_TRIGGER=2
CONFIG_IIO_GPIO_TRIGGER=y
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_PERIODIC_RTC_TRIGGER=y
# CONFIG_IIO_SIMPLE_DUMMY is not set
# CONFIG_IIO_ST_ACCEL_3AXIS is not set
# CONFIG_IIO_ST_GYRO_3AXIS is not set
# CONFIG_IIO_ST_MAGN_3AXIS is not set
CONFIG_IIO_SYSFS_TRIGGER=y
CONFIG_IIO_TRIGGER=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_INPUT=y
CONFIG_IRQCHIP=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_WORK=y
@ -174,6 +186,7 @@ CONFIG_MTD_OF_PARTS=y
# CONFIG_MTD_PHYSMAP_OF is not set
CONFIG_MULTI_IRQ_HANDLER=y
CONFIG_MXS_DMA=y
# CONFIG_MXS_LRADC is not set
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_NET_DMA is not set

@ -100,3 +100,18 @@ endef
$(eval $(call KernelPackage,sound-soc-imx23))
define KernelPackage/iio-mxs-lradc
SUBMENU:=$(OTHER_MENU)
TITLE:=LRADC driver for i.MX23/28
DEPENDS:=@TARGET_imx23
KCONFIG:=CONFIG_MXS_LRADC
FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/mxs-lradc.ko \
$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko
AUTOLOAD:=$(call AutoLoad,70,industrialio-triggered-buffer mxs-lradc)
endef
define KernelPackage/iio-mxs-lradc/description
Kernel module for i.MX23/28 LRADC driver
endef
$(eval $(call KernelPackage,iio-mxs-lradc))

@ -9,7 +9,7 @@ define Profile/olinuxino
NAME:=Olimex Olinuxino boards
PACKAGES += imx-bootlets kmod-usb-mxs-phy kmod-usb-net kmod-usb-net-smsc95xx \
kmod-gpio-mcp23s08 kmod-leds-gpio kmod-ledtrig-heartbeat kmod-rtc-stmp3xxx \
kmod-sound-core kmod-sound-soc-imx23
kmod-sound-core kmod-sound-soc-imx23 kmod-iio-mxs-lradc
endef
define Profile/olinuxino/Description

Loading…
Cancel
Save