Ah thanks John. I'll resend since I believe Bruce is MIA for a couple hours right about now.
On 7/22/14, 14:31, "Mehaffey, John" <john_mehaf...@mentor.com> wrote: >Hi Darren, >Nice! > >There's a typo in line 1 of iio.scc: >define KFEATURE_DESCRIPTION "Enable support for Industrail IO" > >should be Industrial, I believe. > >-mehaf > >-----Original Message----- >From: linux-yocto-boun...@yoctoproject.org >[mailto:linux-yocto-boun...@yoctoproject.org] On Behalf Of Darren Hart >Sent: Tuesday, July 22, 2014 2:03 PM >To: Linux Yocto >Cc: Darren Hart >Subject: [linux-yocto] [PATCH 1/2] meta: Add IIO feature > >Add a new IIO feature / config fragment which enables all the non-staging >IIO drivers as modules. I didn't bother separating these out by class as >there weren't too many of them and it's far more likely people would >select one of each class (accelerometer, adc, etc.) rather than all of >one class in a customized image. > >Signed-off-by: Darren Hart <dvh...@linux.intel.com> >--- > meta/cfg/kernel-cache/features/iio/iio.cfg | 160 >+++++++++++++++++++++++++++++ > meta/cfg/kernel-cache/features/iio/iio.scc | 4 + > 2 files changed, 164 insertions(+) > create mode 100644 meta/cfg/kernel-cache/features/iio/iio.cfg > create mode 100644 meta/cfg/kernel-cache/features/iio/iio.scc > >diff --git a/meta/cfg/kernel-cache/features/iio/iio.cfg >b/meta/cfg/kernel-cache/features/iio/iio.cfg >new file mode 100644 >index 0000000..0084179 >--- /dev/null >+++ b/meta/cfg/kernel-cache/features/iio/iio.cfg >@@ -0,0 +1,160 @@ >+# HID Sensor Hub required by many IIO devices CONFIG_HID_SENSOR_HUB=m >+ >+CONFIG_IIO=m >+CONFIG_IIO_BUFFER=y >+CONFIG_IIO_BUFFER_CB=y >+CONFIG_IIO_KFIFO_BUF=m >+CONFIG_IIO_TRIGGERED_BUFFER=m >+CONFIG_IIO_TRIGGER=y >+CONFIG_IIO_CONSUMERS_PER_TRIGGER=2 >+ >+# >+# Accelerometers >+# >+CONFIG_BMA180=m >+CONFIG_HID_SENSOR_ACCEL_3D=m >+CONFIG_IIO_ST_ACCEL_3AXIS=m >+CONFIG_IIO_ST_ACCEL_I2C_3AXIS=m >+CONFIG_IIO_ST_ACCEL_SPI_3AXIS=m >+CONFIG_KXSD9=m >+ >+# >+# Analog to digital converters >+# >+CONFIG_AD_SIGMA_DELTA=m >+CONFIG_AD7266=m >+CONFIG_AD7298=m >+CONFIG_AD7476=m >+CONFIG_AD7791=m >+CONFIG_AD7793=m >+CONFIG_AD7887=m >+CONFIG_AD7923=m >+CONFIG_MAX1363=m >+CONFIG_MCP320X=m >+CONFIG_MCP3422=m >+CONFIG_NAU7802=m >+CONFIG_TI_ADC081C=m >+ >+# >+# Amplifiers >+# >+CONFIG_AD8366=m >+ >+# >+# Hid Sensor IIO Common >+# >+CONFIG_HID_SENSOR_IIO_COMMON=m >+CONFIG_HID_SENSOR_IIO_TRIGGER=m >+CONFIG_IIO_ST_SENSORS_I2C=m >+CONFIG_IIO_ST_SENSORS_SPI=m >+CONFIG_IIO_ST_SENSORS_CORE=m >+ >+# >+# Digital to analog converters >+# >+CONFIG_AD5064=m >+CONFIG_AD5360=m >+CONFIG_AD5380=m >+CONFIG_AD5421=m >+CONFIG_AD5446=m >+CONFIG_AD5449=m >+CONFIG_AD5504=m >+CONFIG_AD5624R_SPI=m >+CONFIG_AD5686=m >+CONFIG_AD5755=m >+CONFIG_AD5764=m >+CONFIG_AD5791=m >+CONFIG_AD7303=m >+CONFIG_MAX517=m >+CONFIG_MCP4725=m >+ >+# >+# Frequency Synthesizers DDS/PLL >+# >+ >+# >+# Clock Generator/Distribution >+# >+CONFIG_AD9523=m >+ >+# >+# Phase-Locked Loop (PLL) frequency synthesizers # CONFIG_ADF4350=m >+ >+# >+# Digital gyroscope sensors >+# >+CONFIG_ADIS16080=m >+CONFIG_ADIS16130=m >+CONFIG_ADIS16136=m >+CONFIG_ADIS16260=m >+CONFIG_ADXRS450=m >+CONFIG_HID_SENSOR_GYRO_3D=m >+CONFIG_IIO_ST_GYRO_3AXIS=m >+CONFIG_IIO_ST_GYRO_I2C_3AXIS=m >+CONFIG_IIO_ST_GYRO_SPI_3AXIS=m >+CONFIG_ITG3200=m >+ >+# >+# Humidity sensors >+# >+CONFIG_DHT11=m >+ >+# >+# Inertial measurement units >+# >+CONFIG_ADIS16400=m >+CONFIG_ADIS16480=m >+CONFIG_IIO_ADIS_LIB=m >+CONFIG_IIO_ADIS_LIB_BUFFER=y >+CONFIG_INV_MPU6050_IIO=m >+ >+# >+# Light sensors >+# >+CONFIG_ADJD_S311=m >+CONFIG_APDS9300=m >+CONFIG_CM32181=m >+CONFIG_CM36651=m >+CONFIG_GP2AP020A00F=m >+CONFIG_HID_SENSOR_ALS=m >+CONFIG_TCS3472=m >+CONFIG_SENSORS_TSL2563=m >+CONFIG_TSL4531=m >+CONFIG_VCNL4000=m >+ >+# >+# Magnetometer sensors >+# >+CONFIG_AK8975=m >+CONFIG_MAG3110=m >+CONFIG_HID_SENSOR_MAGNETOMETER_3D=m >+CONFIG_IIO_ST_MAGN_3AXIS=m >+CONFIG_IIO_ST_MAGN_I2C_3AXIS=m >+CONFIG_IIO_ST_MAGN_SPI_3AXIS=m >+ >+# >+# Inclinometer sensors >+# >+CONFIG_HID_SENSOR_INCLINOMETER_3D=m >+ >+# >+# Triggers - standalone >+# >+CONFIG_IIO_INTERRUPT_TRIGGER=m >+CONFIG_IIO_SYSFS_TRIGGER=m >+ >+# >+# Pressure sensors >+# >+CONFIG_MPL3115=m >+CONFIG_IIO_ST_PRESS=m >+CONFIG_IIO_ST_PRESS_I2C=m >+CONFIG_IIO_ST_PRESS_SPI=m >+ >+# >+# Temperature sensors >+# >+CONFIG_TMP006=m >diff --git a/meta/cfg/kernel-cache/features/iio/iio.scc >b/meta/cfg/kernel-cache/features/iio/iio.scc >new file mode 100644 >index 0000000..2e2aaf0 >--- /dev/null >+++ b/meta/cfg/kernel-cache/features/iio/iio.scc >@@ -0,0 +1,4 @@ >+define KFEATURE_DESCRIPTION "Enable support for Industrail IO" >+define KFEATURE_COMPATIBILITY all >+ >+kconf hardware iio.cfg >-- >2.0.0 > >-- >_______________________________________________ >linux-yocto mailing list >linux-yocto@yoctoproject.org >https://lists.yoctoproject.org/listinfo/linux-yocto > -- Darren Hart Open Source Technology Center darren.h...@intel.com Intel Corporation -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto