From patchwork Sat Dec 21 15:12:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 3393581 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 690FAC0D4A for ; Sat, 21 Dec 2013 15:12:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 752B620664 for ; Sat, 21 Dec 2013 15:12:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A94402013B for ; Sat, 21 Dec 2013 15:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754473Ab3LUPMc (ORCPT ); Sat, 21 Dec 2013 10:12:32 -0500 Received: from mail-ea0-f180.google.com ([209.85.215.180]:48957 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754099Ab3LUPMa (ORCPT ); Sat, 21 Dec 2013 10:12:30 -0500 Received: by mail-ea0-f180.google.com with SMTP id f15so1576085eak.39 for ; Sat, 21 Dec 2013 07:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=4vEQlpHgZjTLO8D1sCpv1CxoVC4E+hQReY+/zpBecqo=; b=fRx2zII7x/nmQ0R8fFCfUFiSyHQt+/2JnIK2nCkfGZGlDTmBkD3pQVmKU0wC/XCZq4 PWu2pG9hFcFeO5g7lWYPjg+nR47e1YBxUKSiv/y8qR9vV2LFJJf2zPh1ArmZJ1lL6YbG LkkguMIGGrNsMBMSkICcs+qc+eyh0wjEhpWEREliiaQh+Wa01KjKBQ//7CLxpODXFXGl aQUP/UNFP2r0koS+mXLGGsILywIhB1/tq45/MwF89EvJvXd6hDHA3OBtQ8Cl81H4ppZX UhmDbcDsWlSnQ9oachZ09jZkhsGeSQ3IuCEKOG/x1F+dbbBWB7Ncn4ErY7yhsqeRywR/ E+jQ== X-Received: by 10.14.115.133 with SMTP id e5mr3173154eeh.91.1387638749037; Sat, 21 Dec 2013 07:12:29 -0800 (PST) Received: from localhost.localdomain (ip-85.163.225.30.o2inet.sk. [85.163.225.30]) by mx.google.com with ESMTPSA id 1sm28341510eeg.4.2013.12.21.07.12.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Dec 2013 07:12:28 -0800 (PST) From: Marek Belisko To: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.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, Marek Belisko Subject: [PATCH] ARM: dts: omap3-gta04: Add EOC irq gpio line handling. Date: Sat, 21 Dec 2013 16:12:23 +0100 Message-Id: <1387638743-12278-1-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.8.4.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.3 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 BMP085 EOC (End Of Conversion) irq line is connected to gpio113 on gta04. Set irq properties to have driver using irq instead polling for EOC. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index b9b55c9..7a8e37d 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -92,6 +92,8 @@ bmp085@77 { compatible = "bosch,bmp085"; reg = <0x77>; + interrupt-parent = <&gpio4>; + interrupts = <17 IRQ_TYPE_EDGE_RISING>; }; /* leds */