From patchwork Thu Dec 18 02:26:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 5510111 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 390679F434 for ; Thu, 18 Dec 2014 02:26:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 68066209E3 for ; Thu, 18 Dec 2014 02:26:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 63DDA20A14 for ; Thu, 18 Dec 2014 02:26:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbaLRC0Q (ORCPT ); Wed, 17 Dec 2014 21:26:16 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:50373 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751846AbaLRC0Q (ORCPT ); Wed, 17 Dec 2014 21:26:16 -0500 Received: from avalon.ideasonboard.com (dsl-hkibrasgw3-50ddcc-40.dhcp.inet.fi [80.221.204.40]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 612E620BDE; Thu, 18 Dec 2014 03:22:53 +0100 (CET) From: Laurent Pinchart To: Geert Uytterhoeven Cc: linux-sh@vger.kernel.org Subject: [PATCH 4/4] ARM: shmobile: sh73a0: kzm9g: Specify the ak8975 interrupt Date: Thu, 18 Dec 2014 04:26:10 +0200 Message-Id: <1418869570-13529-5-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1418869570-13529-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1418869570-13529-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, 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 Specify the device interrupt to avoid polling for end of conversion. While at it rename the DT node to compass@c to describe the device's function instead of its model. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts index de39c92287da..bf2f4edd96ea 100644 --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts @@ -192,10 +192,11 @@ &i2c0 { status = "okay"; - ak8975@c { + compass@c { compatible = "asahi-kasei,ak8975"; reg = <0x0c>; - // FIXME gpios = <...>; // irq_pin(28), /* IRQ28 */ + interrupt-parent = <&irqpin3>; + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; }; ak4648: ak4648@12 {