lkml.org 
[lkml]   [2016]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86/platform/intel-mid: switch MPU3050 driver to IIO
From
Date
On Wed, 2016-12-14 at 14:39 +0100, Linus Walleij wrote:
> The Intel Mid goes in and creates a I2C device for the
> MPU3050 if the input driver for MPU-3050 is activated.
> As of commit 3904b28efb2c
> ("iio: gyro: Add driver for the MPU-3050 gyroscope")
> there is a proper and fully featured IIO driver for this
> device, so deprecate the use of the incomplete input driver
> by augmenting the device population code to react to the
> presence of the IIO driver's Kconfig symbol instead.
>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  arch/x86/platform/intel-mid/device_libs/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/platform/intel-mid/device_libs/Makefile
> b/arch/x86/platform/intel-mid/device_libs/Makefile
> index dd6cfa4ad3ac..61b5ed2b7d40 100644
> --- a/arch/x86/platform/intel-mid/device_libs/Makefile
> +++ b/arch/x86/platform/intel-mid/device_libs/Makefile
> @@ -19,7 +19,7 @@ obj-$(subst m,y,$(CONFIG_SPI_SPIDEV)) +=
> platform_spidev.o
>  # I2C Devices
>  obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o
>  obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o
> -obj-$(subst m,y,$(CONFIG_INPUT_MPU3050)) += platform_mpu3050.o
> +obj-$(subst m,y,$(CONFIG_MPU3050_I2C)) += platform_mpu3050.o
>  obj-$(subst m,y,$(CONFIG_INPUT_BMA150)) += platform_bma023.o
>  obj-$(subst m,y,$(CONFIG_DRM_MEDFIELD)) += platform_tc35876x.o
>  # I2C GPIO Expanders

--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

\
 
 \ /
  Last update: 2016-12-14 16:12    [W:0.052 / U:1.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site