Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2323388imm; Tue, 10 Jul 2018 18:18:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeLW62A0ZcPE0//GPIB2xM7AVXcW2rMLkpjco04nRRlIhNkNdWFafBTGJdN+FFAgZ6Fj9YY X-Received: by 2002:a65:6243:: with SMTP id q3-v6mr23987746pgv.273.1531271910052; Tue, 10 Jul 2018 18:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531271910; cv=none; d=google.com; s=arc-20160816; b=PWMP24MGSwriL79CyfS2FUSA9Jujgca0zGhw51olSaieO4peEw0Krgh3qMgJiuiwOt Mo7W7FNqKvXS9GeeToNJzQMjiz8hztlMru5HEkeaPxtZwzvY4QCebltGEWJjV6ngf2Pl cK0yqjYaNOIDGkHH1nIpH1SK/5ClCr/MHVRbpH4nousuUOt7wdtU1VEBjP6uu75cm1jN 4nyVEtkBKEorPwsrKYUzKXA+TqT7AL2QEwstNmhUEbDTRAQJW1PvVG7cqltFhF2IMJAa 0erYVaPJ92lCiBms9BOKoAPwsl+bGi3vsvEZq1ShZdpt2C8XyGyNjj3m/1koaUdUBYGw OjNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=FwicvUTBE/XdkWB8GY93ltI1H3CPYZw+w6OuErkwCJg=; b=AV1WdhJqvRGTIezgSyu0eRigKi2ewSFHpi9tMmFdB+YbTn1yUSDJkJq8+0JSE3CBgz ywH6QeqO2i9dG2QNt7hi0x1izYnnes8l5VMD6PDtSg5zW9q4ILLvyBmklwV+0SmK1rL6 m/kdNiHMJxOAWZ7uxQrKjEfKZMAWSravI/8qZkv3yR1ne1yy2c4AvKNKwbBYsl9PWZaJ kG/6egjveOGBolEoPIi0HYVpSvF2kaR8N4ADliJ2nYFGn9y5rdTuRafcxBAq8VmvEjkf nK4SYedKrXPZyhUWkM2DGDLkwegdELJF8EyHL3cbLvYhe3iY444Bo4r5YdHvaBk2x4Ad abdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@onstation.org header.s=default header.b=etIsGX73; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16-v6si18655148pli.14.2018.07.10.18.18.15; Tue, 10 Jul 2018 18:18:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@onstation.org header.s=default header.b=etIsGX73; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732411AbeGKBSz (ORCPT + 99 others); Tue, 10 Jul 2018 21:18:55 -0400 Received: from onstation.org ([52.200.56.107]:37622 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732309AbeGKBSz (ORCPT ); Tue, 10 Jul 2018 21:18:55 -0400 Received: from xilitla.hsd1.wv.comcast.net (c-98-236-77-125.hsd1.wv.comcast.net [98.236.77.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 206D2142; Wed, 11 Jul 2018 01:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=onstation.org; s=default; t=1531271384; bh=oGI4IypqPXvVbsKFhXRnahMc7RxmXOMOSn287LI4IwA=; h=From:To:Cc:Subject:Date:From; b=etIsGX73tNKyqUJj0bIK5pAAKEriFZwV/HI2nWWzw3FbadwKLz+V6TNefjFriNsG4 3zo9sajQijf9wdgI+2F3TZQBTWeWP1Pwdn+Yu48enECgiEeL7eMTBq2a8bBEJT9TEa 6bH7vNSURkY6kYYkcZmzapRsjfzg4Tv2o/oW3DJQ= From: Brian Masney To: jic23@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Cc: jonathan@marek.ca, jmaneyrol@invensense.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, mkelly@xevo.com, fischerdouglasc@gmail.com, bshah@kde.org, ctatlor97@gmail.com, masneyb@onstation.org Subject: [PATCH 0/3] ARM: dts: qcom: msm8974-hammerhead: add support for mpu6515 Date: Tue, 10 Jul 2018 21:09:29 -0400 Message-Id: <20180711010932.20313-1-masneyb@onstation.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds support for the gyroscope / accelerometer (mpu6515), magnetometer (ak8963), and temperature / pressure (bmp280) sensors to the LG Nexus 5 (hammerhead) phone. Bindings for the MPU 6515 variant are added, along with regulator support to that driver in order to correctly configure these drivers via device tree. Brian Masney (3): iio: imu: mpu6050: add support for 6515 variant iio: imu: mpu6050: add support for regulator framework ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for mpu6515 .../bindings/iio/imu/inv_mpu6050.txt | 2 + .../qcom-msm8974-lge-nexus5-hammerhead.dts | 56 +++++++++++++++++ arch/arm/boot/dts/qcom-msm8974.dtsi | 11 ++++ drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 63 +++++++++++++++++-- drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 7 ++- drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 5 ++ drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 9 +++ 7 files changed, 147 insertions(+), 6 deletions(-) -- 2.17.1