From patchwork Tue May 17 19:48:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 9114881 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 169E09F1C3 for ; Tue, 17 May 2016 19:50:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 396082022D for ; Tue, 17 May 2016 19:50:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1EB0620279 for ; Tue, 17 May 2016 19:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbcEQTtA (ORCPT ); Tue, 17 May 2016 15:49:00 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35742 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbcEQTs6 (ORCPT ); Tue, 17 May 2016 15:48:58 -0400 Received: by mail-wm0-f66.google.com with SMTP id g17so797145wme.2; Tue, 17 May 2016 12:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Bwh080GwO12VJ1Kko2fBdnzplln8ZibUjf7HvO6gTjU=; b=Z32cNd+GQtjdAZvvwseglDPn7cu5dlyoU68Pl0ia6Bjh1vV0dUyMA+LuSAmTjeS32c vaj+IWsPadv20RgcgK6B91LDn0+3nv8XSsozr6MN5B3EERDuAvr06tQv2ZgzZQhNPOPb cPH6tVvC65CdBqvyVNoAxWnqQl2p8DWTsppW8jvMzelNoqt4otLGAPLtXJTZKzH8lbbV mfByG8GL1hJVR9i188PJ7O0R4iroib89+rc32oAkgnegppIcgifosbHeGaV2DQGbym2F xkDxs+2qoJeRqIbCpCIZQE68eOQ2zOroiZ7nhZp/EERrkuK42aTDG7EU1KN2q6mLRtku sWCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Bwh080GwO12VJ1Kko2fBdnzplln8ZibUjf7HvO6gTjU=; b=FTnBzY9SGB8Hp2HxbhmMuDvwx/e8S+wjtov9w80dlZci84kPnbpkhmzZ8dinpd8g4k fDzt1rYBok2Rp9hj76GES49zKh86RnuAdy0cOSFTK/u2QMUek9v3/hOL8n0PKmj+g9hS sD+Drflsf9gFFPONcbW/QQEWyX0XBPWulVzuR6v0X4ACrdKe7d2Dvq15Q/ocXm2Y7VV8 h0Skigb/OuFaMyGdN4WCzHK3OWUPs+bt3eK4kgtD80BcJGKCO0XzkYqYCdvC6RdZQSPo fNJtu4l83C+MbN5exOKJXDN7aZNbJ88/jJJHIfWDzJrjV5WbVjD5/wL3SVONLMleaoAS 4fiA== X-Gm-Message-State: AOPr4FX5zfXFCbZBftzlQ1MTuhBM5TKcddlDqJcQJvvHXMW0FDn+539JhqvWb42pcwDsmA== X-Received: by 10.194.121.8 with SMTP id lg8mr3275319wjb.16.1463514536270; Tue, 17 May 2016 12:48:56 -0700 (PDT) Received: from localhost.localdomain (109-230-32-166.dynamic.orange.sk. [109.230.32.166]) by smtp.gmail.com with ESMTPSA id a63sm5216573wmh.11.2016.05.17.12.48.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 May 2016 12:48:55 -0700 (PDT) From: Marek Belisko To: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@armlinux.org.uk Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hns@goldelico.com Subject: [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin Date: Tue, 17 May 2016 21:48:48 +0200 Message-Id: <1463514531-7235-3-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1463514531-7235-1-git-send-email-marek@goldelico.com> References: <1463514531-7235-1-git-send-email-marek@goldelico.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "H. Nikolaus Schaller" Add pinmux and usage of bma180 irq pin. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index cef8b23..e0520cf 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -250,6 +250,12 @@ OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */ >; }; + + bma180_pins: pinmux_bma180_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */ + >; + }; }; &omap3_pmx_core2 { @@ -320,6 +326,8 @@ bma180@41 { compatible = "bosch,bma180"; reg = <0x41>; + pinctrl-names = "default"; + pintcrl-0 = <&bma180_pins>; interrupt-parent = <&gpio4>; interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */ };