From patchwork Tue Jan 2 13:17:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 10140509 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 B28D96034B for ; Tue, 2 Jan 2018 13:17:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A80C428B50 for ; Tue, 2 Jan 2018 13:17:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C34428B57; Tue, 2 Jan 2018 13:17:43 +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 3DFD128B50 for ; Tue, 2 Jan 2018 13:17:42 +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: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Rfi5AW1VYwDtlIH3zlh92mquar4mFIkzF37owGOk8kg=; b=Hzg 1FbanvI1RnyYLUg1EKjMb1cZ9WDSWZ/mhvNYUzQFv/ImbUeQhliYMrjcPMtlfRWGMLLm5AlpHOQ7O nTWJjhZpfrTg//GUMeEqRrMa09VeOZ39xYcw0dbVUr1Zbuve723o9oLFWLu95xJ+UZqCHVCfbhc3N pM89lSjiSlE/JKKzFFinld8FnXP4A0Eip2/Ta2voJX/FIx77ka6hirJxqqw/GLd18MKaC1+nMTImY IBnxTgCFOChWufrtik/VHvRVY0xPsKUPDoCwrE1tP+ajDLPAQZc2uWi+djsnl5icftVNy0cy7yGbG NV4EeWdkH407GViKQwGV47amzDG+r2w==; 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 1eWMRm-0003c5-Pn; Tue, 02 Jan 2018 13:17:38 +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 1eWMRi-0003aa-Bx for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2018 13:17:36 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id C6BBF825BD; Tue, 2 Jan 2018 14:17:22 +0100 (CET) Date: Tue, 2 Jan 2018 14:17:22 +0100 From: Pavel Machek To: pali.rohar@gmail.com, sre@kernel.org, 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: [PATCH] nokia N9: Add support for magnetometer and touchscreen Message-ID: <20180102131722.GA20706@amd> MIME-Version: 1.0 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-20180102_051734_658459_F79F0C25 X-CRM114-Status: GOOD ( 12.00 ) 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: , 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 and touchscreen 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..57a6679 100644 --- a/arch/arm/boot/dts/omap3-n9.dts +++ b/arch/arm/boot/dts/omap3-n9.dts @@ -36,6 +57,22 @@ }; }; }; + + touch@4b { + compatible = "atmel,maxtouch"; + reg = <0x4b>; + interrupt-parent = <&gpio2>; + interrupts = <29 2>; /* gpio_61, IRQF_TRIGGER_FALLING*/ + vdd-supply = <&vio>; + avdd-supply = <&vaux1>; + }; +}; + +&i2c3 { + ak8975@0f { + compatible = "asahi-kasei,ak8975"; + reg = <0x0f>; + }; }; &isp {