Changeset 38187


Ignore:
Timestamp:
2013-09-25T20:00:35+02:00 (4 years ago)
Author:
juhosg
Message:

package/kernel: add support for industrial-io and AD799x

Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@…>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/linux/modules/other.mk

    r38185 r38187  
    194194$(eval $(call KernelPackage,gpio-pcf857x)) 
    195195 
     196define KernelPackage/iio-core 
     197  SUBMENU:=$(OTHER_MENU) 
     198  DEPENDS:=@!LINUX_3_3 
     199  TITLE:=Industrial IO core 
     200  KCONFIG:= \ 
     201        CONFIG_IIO \ 
     202        CONFIG_IIO_BUFFER=y \ 
     203        CONFIG_IIO_KFIFO_BUF \ 
     204        CONFIG_IIO_TRIGGER=y \ 
     205        CONFIG_IIO_TRIGGERED_BUFFER 
     206  FILES:= \ 
     207        $(LINUX_DIR)/drivers/iio/industrialio.ko \ 
     208        $(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko \ 
     209        $(LINUX_DIR)/drivers/iio/kfifo_buf.ko 
     210  AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer) 
     211endef 
     212 
     213define KernelPackage/iio-core/description 
     214 The industrial I/O subsystem provides a unified framework for 
     215 drivers for many different types of embedded sensors using a 
     216 number of different physical interfaces (i2c, spi, etc) 
     217endef 
     218 
     219$(eval $(call KernelPackage,iio-core)) 
     220 
     221 
     222define KernelPackage/iio-ad799x 
     223  SUBMENU:=$(OTHER_MENU) 
     224  DEPENDS:=kmod-i2c-core kmod-iio-core 
     225  TITLE:=Analog Devices AD799x ADC driver 
     226  KCONFIG:= \ 
     227        CONFIG_AD799X_RING_BUFFER=y \ 
     228        CONFIG_AD799X 
     229  FILES:=$(LINUX_DIR)/drivers/staging/iio/adc/ad799x.ko 
     230  AUTOLOAD:=$(call AutoLoad,56,ad799x) 
     231endef 
     232 
     233define KernelPackage/iio-ad799x/description 
     234 support for Analog Devices: 
     235 ad7991, ad7995, ad7999, ad7992, ad7993, ad7994, ad7997, ad7998 
     236 i2c analog to digital converters (ADC). WARNING! This driver is still staging! 
     237endef 
     238 
     239$(eval $(call KernelPackage,iio-ad799x)) 
     240 
    196241define KernelPackage/lp 
    197242  SUBMENU:=$(OTHER_MENU) 
  • trunk/target/linux/generic/config-3.10

    r38114 r38187  
    12231223# CONFIG_IGBVF is not set 
    12241224# CONFIG_IIO is not set 
     1225# CONFIG_IIO_BUFFER_CB is not set 
     1226CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 
     1227# CONFIG_IIO_GPIO_TRIGGER is not set 
     1228# CONFIG_IIO_SIMPLE_DUMMY is not set 
     1229# CONFIG_IIO_ST_ACCEL_3AXIS is not set 
     1230# CONFIG_IIO_ST_GYRO_3AXIS is not set 
     1231# CONFIG_IIO_ST_MAGN_3AXIS is not set 
     1232# CONFIG_IIO_SYSFS_TRIGGER is not set 
    12251233# CONFIG_IKCONFIG is not set 
    12261234# CONFIG_IKCONFIG_PROC is not set 
  • trunk/target/linux/generic/config-3.8

    r37831 r38187  
    1616# CONFIG_ACPI_POWER_METER is not set 
    1717# CONFIG_ACPI_QUICKSTART is not set 
     18# CONFIG_AD5064 is not set 
    1819# CONFIG_AD525X_DPOT is not set 
     20# CONFIG_AD5380 is not set 
     21# CONFIG_AD5446 is not set 
     22# CONFIG_AD5933 is not set 
     23# CONFIG_AD7150 is not set 
     24# CONFIG_AD7152 is not set 
     25# CONFIG_AD7291 is not set 
     26# CONFIG_AD7606 is not set 
     27# CONFIG_AD7746 is not set 
    1928# CONFIG_ADAPTEC_STARFIRE is not set 
     29# CONFIG_ADE7854 is not set 
    2030# CONFIG_ADFS_FS is not set 
    2131# CONFIG_ADIS16255 is not set 
     32# CONFIG_ADJD_S311 is not set 
    2233# CONFIG_ADM6996_PHY is not set 
    2334# CONFIG_ADM8211 is not set 
     35# CONFIG_ADT7316 is not set 
     36# CONFIG_ADT7410 is not set 
    2437CONFIG_AEABI=y 
    2538# CONFIG_AFFS_FS is not set 
     
    11251138# CONFIG_IGBVF is not set 
    11261139# CONFIG_IIO is not set 
     1140# CONFIG_IIO_BUFFER_CB is not set 
     1141CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 
     1142# CONFIG_IIO_GPIO_TRIGGER is not set 
     1143# CONFIG_IIO_SIMPLE_DUMMY is not set 
     1144# CONFIG_IIO_ST_HWMON is not set 
     1145# CONFIG_IIO_SW_RING is not set 
     1146# CONFIG_IIO_SYSFS_TRIGGER is not set 
    11271147# CONFIG_IKCONFIG is not set 
    11281148# CONFIG_IKCONFIG_PROC is not set 
     
    15361556# CONFIG_MAGIC_SYSRQ is not set 
    15371557# CONFIG_MARVELL_PHY is not set 
     1558# CONFIG_MAX1363 is not set 
     1559# CONFIG_MAX517 is not set 
    15381560# CONFIG_MAX63XX_WATCHDOG is not set 
     1561# CONFIG_MCP4725 is not set 
    15391562# CONFIG_MD is not set 
    15401563# CONFIG_MDIO_BITBANG is not set 
     
    27202743# CONFIG_SENSORS_ADT7470 is not set 
    27212744# CONFIG_SENSORS_ADT7475 is not set 
     2745# CONFIG_SENSORS_AK8975 is not set 
    27222746# CONFIG_SENSORS_AMC6821 is not set 
    27232747# CONFIG_SENSORS_APDS990X is not set 
     
    27482772# CONFIG_SENSORS_HDAPS is not set 
    27492773# CONFIG_SENSORS_HIH6130 is not set 
     2774# CONFIG_SENSORS_HMC5843 is not set 
    27502775# CONFIG_SENSORS_I5K_AMB is not set 
    27512776# CONFIG_SENSORS_INA2XX is not set 
     2777# CONFIG_SENSORS_ISL29018 is not set 
     2778# CONFIG_SENSORS_ISL29028 is not set 
    27522779# CONFIG_SENSORS_IT87 is not set 
    27532780# CONFIG_SENSORS_JC42 is not set 
     
    28052832# CONFIG_SENSORS_TMP421 is not set 
    28062833# CONFIG_SENSORS_TSL2550 is not set 
     2834# CONFIG_SENSORS_TSL2563 is not set 
    28072835# CONFIG_SENSORS_VIA686A is not set 
    28082836# CONFIG_SENSORS_VIA_CPUTEMP is not set 
     
    31963224CONFIG_TINY_RCU=y 
    31973225# CONFIG_TIPC is not set 
     3226# CONFIG_TI_ADC081C is not set 
    31983227# CONFIG_TI_DAC7512 is not set 
    31993228# CONFIG_TI_ST is not set 
     
    32493278# CONFIG_TREE_RCU is not set 
    32503279# CONFIG_TREE_RCU_TRACE is not set 
     3280# CONFIG_TSL2583 is not set 
     3281# CONFIG_TSL2x7x is not set 
    32513282# CONFIG_TTY_PRINTK is not set 
    32523283# CONFIG_TUN is not set 
     
    35783609# CONFIG_V4L_MEM2MEM_DRIVERS is not set 
    35793610# CONFIG_V4L_TEST_DRIVERS is not set 
     3611# CONFIG_VCNL4000 is not set 
    35803612# CONFIG_VETH is not set 
    35813613# CONFIG_VFAT_FS is not set 
  • trunk/target/linux/generic/config-3.9

    r37831 r38187  
    1616# CONFIG_ACPI_POWER_METER is not set 
    1717# CONFIG_ACPI_QUICKSTART is not set 
     18# CONFIG_AD5064 is not set 
    1819# CONFIG_AD525X_DPOT is not set 
     20# CONFIG_AD5380 is not set 
     21# CONFIG_AD5446 is not set 
     22# CONFIG_AD5933 is not set 
     23# CONFIG_AD7150 is not set 
     24# CONFIG_AD7152 is not set 
     25# CONFIG_AD7291 is not set 
     26# CONFIG_AD7606 is not set 
     27# CONFIG_AD7746 is not set 
    1928# CONFIG_ADAPTEC_STARFIRE is not set 
     29# CONFIG_ADE7854 is not set 
    2030# CONFIG_ADFS_FS is not set 
    2131# CONFIG_ADIS16255 is not set 
     32# CONFIG_ADJD_S311 is not set 
    2233# CONFIG_ADM6996_PHY is not set 
    2334# CONFIG_ADM8211 is not set 
     35# CONFIG_ADT7316 is not set 
     36# CONFIG_ADT7410 is not set 
    2437CONFIG_AEABI=y 
    2538# CONFIG_AFFS_FS is not set 
     
    11381151# CONFIG_IGBVF is not set 
    11391152# CONFIG_IIO is not set 
     1153# CONFIG_IIO_BUFFER_CB is not set 
     1154CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 
     1155# CONFIG_IIO_GPIO_TRIGGER is not set 
     1156# CONFIG_IIO_SIMPLE_DUMMY is not set 
     1157# CONFIG_IIO_ST_ACCEL_3AXIS is not set 
     1158# CONFIG_IIO_ST_GYRO_3AXIS is not set 
     1159# CONFIG_IIO_ST_HWMON is not set 
     1160# CONFIG_IIO_ST_MAGN_3AXIS is not set 
     1161# CONFIG_IIO_SYSFS_TRIGGER is not set 
    11401162# CONFIG_IKCONFIG is not set 
    11411163# CONFIG_IKCONFIG_PROC is not set 
     
    12411263# CONFIG_INTEL_OAKTRAIL is not set 
    12421264# CONFIG_INTERVAL_TREE_TEST is not set 
     1265# CONFIG_INV_MPU6050_IIO is not set 
    12431266# CONFIG_IOMMU_SUPPORT is not set 
    12441267# CONFIG_IOSCHED_CFQ is not set 
     
    13611384# CONFIG_ISO9660_FS is not set 
    13621385# CONFIG_ISS4xx is not set 
     1386# CONFIG_ITG3200 is not set 
    13631387# CONFIG_IWL3945 is not set 
    13641388# CONFIG_IWLAGN is not set 
     
    15501574# CONFIG_MAILBOX is not set 
    15511575# CONFIG_MARVELL_PHY is not set 
     1576# CONFIG_MAX1363 is not set 
     1577# CONFIG_MAX517 is not set 
    15521578# CONFIG_MAX63XX_WATCHDOG is not set 
     1579# CONFIG_MCP4725 is not set 
    15531580# CONFIG_MD is not set 
    15541581# CONFIG_MDIO_BITBANG is not set 
     
    27582785# CONFIG_SENSORS_ADT7470 is not set 
    27592786# CONFIG_SENSORS_ADT7475 is not set 
     2787# CONFIG_SENSORS_AK8975 is not set 
    27602788# CONFIG_SENSORS_AMC6821 is not set 
    27612789# CONFIG_SENSORS_APDS990X is not set 
     
    27862814# CONFIG_SENSORS_HDAPS is not set 
    27872815# CONFIG_SENSORS_HIH6130 is not set 
     2816# CONFIG_SENSORS_HMC5843 is not set 
    27882817# CONFIG_SENSORS_I5K_AMB is not set 
    27892818# CONFIG_SENSORS_INA209 is not set 
    27902819# CONFIG_SENSORS_INA2XX is not set 
     2820# CONFIG_SENSORS_ISL29018 is not set 
     2821# CONFIG_SENSORS_ISL29028 is not set 
    27912822# CONFIG_SENSORS_IT87 is not set 
    27922823# CONFIG_SENSORS_JC42 is not set 
     
    28452876# CONFIG_SENSORS_TMP421 is not set 
    28462877# CONFIG_SENSORS_TSL2550 is not set 
     2878# CONFIG_SENSORS_TSL2563 is not set 
    28472879# CONFIG_SENSORS_VIA686A is not set 
    28482880# CONFIG_SENSORS_VIA_CPUTEMP is not set 
     
    32393271CONFIG_TINY_RCU=y 
    32403272# CONFIG_TIPC is not set 
     3273# CONFIG_TI_ADC081C is not set 
    32413274# CONFIG_TI_DAC7512 is not set 
    32423275# CONFIG_TI_ST is not set 
     
    32923325# CONFIG_TREE_RCU is not set 
    32933326# CONFIG_TREE_RCU_TRACE is not set 
     3327# CONFIG_TSL2583 is not set 
     3328# CONFIG_TSL2x7x is not set 
    32943329CONFIG_TTY=y 
    32953330# CONFIG_TTY_PRINTK is not set 
     
    36253660# CONFIG_V4L_MEM2MEM_DRIVERS is not set 
    36263661# CONFIG_V4L_TEST_DRIVERS is not set 
     3662# CONFIG_VCNL4000 is not set 
    36273663# CONFIG_VETH is not set 
    36283664# CONFIG_VFAT_FS is not set 
Note: See TracChangeset for help on using the changeset viewer.