From patchwork Wed Mar 13 11:26:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas C Sajjan X-Patchwork-Id: 2262871 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8DD3040AFD for ; Wed, 13 Mar 2013 11:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756178Ab3CML0f (ORCPT ); Wed, 13 Mar 2013 07:26:35 -0400 Received: from mail-pb0-f48.google.com ([209.85.160.48]:44094 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754570Ab3CML0c (ORCPT ); Wed, 13 Mar 2013 07:26:32 -0400 Received: by mail-pb0-f48.google.com with SMTP id wy12so916059pbc.21 for ; Wed, 13 Mar 2013 04:26:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=gBGegpMIKd6v2Hbjwp3bjllB06Z2c99y+GsMtPMFFpc=; b=TSbSI/ZNjVidA48TcX4lZ5yBIb1JKRgeoPtzBIPsaiZ3X1yXYmryJBenj4lm9nRMkC TiPsAj1caU3vT4ebfBHskD+ES1WviPCdgs/h8hP9FzMkm8YXm2GjholMYIr8al8cOz/4 mBgd7XnaiQ23caNUFl6LWLRXWpxGV11heoAlS8UGUFOu16NHLXqVBIFRLqyNs4yNSFHv QkBcZKCIx/NT/Cidfc/zbNQk3WOpOp0iH4/m7PYM+RL325L1Y7KZ6fZS8lRK1t5KyfwL haWrDVJ92ALPZwyQqFOpmMgES0i6IdTrOA3wT9XrYOY1DbDEpXlNNXPg/X+Xg7mNmTsB ekog== X-Received: by 10.68.179.67 with SMTP id de3mr37263105pbc.130.1363173991959; Wed, 13 Mar 2013 04:26:31 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ub1sm29205807pbc.5.2013.03.13.04.26.27 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 04:26:30 -0700 (PDT) From: Vikas Sajjan To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sylvester.nawrocki@gmail.com, devicetree-discuss@lists.ozlabs.org, inki.dae@samsung.com, linaro-kernel@lists.linaro.org, joshi@samsung.com, l.krishna@samsung.com Subject: [PATCH] ARM: dts: add interrupt-names property to get interrupt resource by name Date: Wed, 13 Mar 2013 16:56:20 +0530 Message-Id: <1363173980-11428-1-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlwWnd9If9srbfnznZlHHur4vH4P16905YrKliwPLE+3US8v5MKemV6xXehrZRgTFpB6ekv Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The FIMD driver expects the "vsync" interrupt to be mentioned as the 1st parameter in the FIMD DT node. So to meet this expectation of the driver, the FIMD DT node was forced to be made by keeping "vsync" as the 1st parameter. this resolves the above mentioned "hack" by introducing "interrupt-names", so that FIMD driver can get the interrupt resource by name as discussed at http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg16211.html patch is dependent on https://patchwork.kernel.org/patch/2184981/ Signed-off-by: Vikas Sajjan --- arch/arm/boot/dts/exynos5250.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 0ee4706..76c8911 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -588,6 +588,7 @@ compatible = "samsung,exynos5-fimd"; interrupt-parent = <&combiner>; reg = <0x14400000 0x40000>; - interrupts = <18 5>, <18 4>, <18 6>; + interrupt-names = "fifo", "vsync", "lcd_sys"; + interrupts = <18 4>, <18 5>, <18 6>; }; };