From patchwork Thu Dec 18 02:26:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 5510091 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 685FCBEEA8 for ; Thu, 18 Dec 2014 02:26:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B7E2209E3 for ; Thu, 18 Dec 2014 02:26:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B5436209F9 for ; Thu, 18 Dec 2014 02:26:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751844AbaLRC0Q (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 S1751841AbaLRC0P (ORCPT ); Wed, 17 Dec 2014 21:26:15 -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 0BA3A20BDD; Thu, 18 Dec 2014 03:22:52 +0100 (CET) From: Laurent Pinchart To: Geert Uytterhoeven Cc: linux-sh@vger.kernel.org Subject: [PATCH 3/4] ARM: shmobile: sh73a0: kzm9g: Specify the adxl325 interrupts Date: Thu, 18 Dec 2014 04:26:09 +0200 Message-Id: <1418869570-13529-4-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 The device needs an interrupt to operate properly. Specify the two interrupts used on the board. While at it rename the DT node to accelerometer@1d to describe the device's function instead of its model. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0-kzm9g.dts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts index 2118692895ff..de39c92287da 100644 --- a/arch/arm/boot/dts/sh73a0-kzm9g.dts +++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts @@ -204,13 +204,12 @@ #sound-dai-cells = <0>; }; - adxl345@1d { + accelerometer@1d { compatible = "adi,adxl345", "adi,adxl34x"; reg = <0x1d>; - // FIXME interrupt-parent = <&gic>; - // FIXME interrupts = < 0 32 4 >; - // irq_pin(26), /* IRQ26 */ - // irq_pin(27), /* IRQ27 */ + interrupt-parent = <&irqpin3>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>, + <3 IRQ_TYPE_LEVEL_HIGH>; }; rtc@32 {