Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754197AbcDTNPb (ORCPT ); Wed, 20 Apr 2016 09:15:31 -0400 Received: from mga11.intel.com ([192.55.52.93]:46766 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754155AbcDTNP2 (ORCPT ); Wed, 20 Apr 2016 09:15:28 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,509,1455004800"; d="scan'208";a="962701586" From: Crestez Dan Leonard To: Jonathan Cameron , linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Daniel Baluta , Crestez Dan Leonard , Ge Gao Subject: [PATCH 0/5] iio: inv_mpu6050: Cleanup chip types and add mpu9150 Date: Wed, 20 Apr 2016 16:15:08 +0300 Message-Id: X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 20 This adds support for mpu9150 explictly. This device includes a MPU60X0 and AK8975 inside the same package. It also cleans the chip_type <=> hw_info mappings which were just a mess. Crestez Dan Leonard (5): iio: inv_mpu6050: Cleanup hw_info mapping iio: inv_mpu6050: Remove inv_mpu6050_hw.num_reg iio: inv_mpu6050: Check WHO_AM_I register on probe iio: inv_mpu6050: Add spi_device_id for INV_MPU6500 iio: inv_mpu6050: Add explicit support for MPU9150 drivers/iio/imu/inv_mpu6050/Kconfig | 10 ++++---- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 37 +++++++++++++++++++++++++++--- drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 3 ++- drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 12 ++++++++-- drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 20 ++++++++++++---- 5 files changed, 66 insertions(+), 16 deletions(-) -- 2.5.5