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: 10142451 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 94A326034B for ; Wed, 3 Jan 2018 14:13:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84A42290C2 for ; Wed, 3 Jan 2018 14:13:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79135290C9; Wed, 3 Jan 2018 14:13:08 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0767F290C2 for ; Wed, 3 Jan 2018 14:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nnVkAfsaGkVAFKDJxsJ1/akBSX0+1fJ2jegTGapPXz8=; b=SdP6tg12B1//aZAr54G5fUtL4 BsgENQw51+a661Zvkrtv219XTTnjec7n539odvjblwSLHyLH3KQwmKFOzTh0zDUWUam+xk+MC41MU AVC0b6eAoVAN+WQKfLgNGigudTe0fAv+1YaPZf68eTdIEn4EWmPcq7YrhUmUuu1ZBGtzZFKgJWXdz K1M6Bt5C5+MHrnfIafHio7WSoyqQHBsMRfZ5uaXN8lVgPIPc64wBjRvk5G+bkMff1GhWzWX7SnSgf Fc/HSBSwPWjZgRSXid9XefmXzFtxc8Lj+5Petnh+99p9Lb+VG/XUNkDICXg4hvJds0onSpNMtrOrB xOS7gUIyg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWjmz-0006k7-5J; Wed, 03 Jan 2018 14:13:05 +0000 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWjmv-0006iW-DA for linux-arm-kernel@lists.infradead.org; Wed, 03 Jan 2018 14:13:03 +0000 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 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 In-Reply-To: <20180102172720.ghtez4d3d2fgcmj6@earth.universe> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180103_061301_625080_B929A374 X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, ivo.g.dimitrov.75@gmail.com, bcousson@baylibre.com, khilman@kernel.org, tony@atomide.com, aaro.koskinen@iki.fi, kernel list , martijn@brixit.nl, Filip =?utf-8?Q?Matijevi=C4=87?= , abcloriens@gmail.com, sakari.ailus@linux.intel.com, pali.rohar@gmail.com, clayton@craftyguy.net, linux-omap@vger.kernel.org, patrikbachan@gmail.com, linux-arm-kernel , serge@hallyn.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 {