From patchwork Wed Jan 3 14:12:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 10142447 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1B6276034B for ; Wed, 3 Jan 2018 14:12:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B48F290C2 for ; Wed, 3 Jan 2018 14:12:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F41A3290C9; Wed, 3 Jan 2018 14:12:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_TVD_MIME_EPI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4348D290C2 for ; Wed, 3 Jan 2018 14:12:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751710AbeACOMv (ORCPT ); Wed, 3 Jan 2018 09:12:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:53595 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbeACOMv (ORCPT ); Wed, 3 Jan 2018 09:12:51 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 7097381880; Wed, 3 Jan 2018 15:12:49 +0100 (CET) Date: Wed, 3 Jan 2018 15:12:49 +0100 From: Pavel Machek To: Sebastian Reichel Cc: pali.rohar@gmail.com, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com, Filip =?utf-8?Q?Matijevi=C4=87?= , bcousson@baylibre.com, devicetree@vger.kernel.org Subject: [PATCHv2] nokia N9: Add support for magnetometer Message-ID: <20180103141248.GA18821@amd> References: <20180102131722.GA20706@amd> <20180102172720.ghtez4d3d2fgcmj6@earth.universe> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180102172720.ghtez4d3d2fgcmj6@earth.universe> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds dts support for magnetometer on Nokia N9. Signed-off-by: Pavel Machek diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts index 39e35f8..af321d8 100644 --- a/arch/arm/boot/dts/omap3-n9.dts +++ b/arch/arm/boot/dts/omap3-n9.dts @@ -36,6 +57,12 @@ }; }; }; + +&i2c3 { + ak8975@0f { + compatible = "asahi-kasei,ak8975"; + reg = <0x0f>; + }; }; &isp {