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: 15337 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4983523E2E for ; Wed, 13 Mar 2013 11:26:36 +0000 (UTC) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by fiordland.canonical.com (Postfix) with ESMTP id DF6C0A1820C for ; Wed, 13 Mar 2013 11:26:35 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id s24so422148vbi.36 for ; Wed, 13 Mar 2013 04:26:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=gBGegpMIKd6v2Hbjwp3bjllB06Z2c99y+GsMtPMFFpc=; b=okj+xAht9mjt9k+Hb3hswqJupq6jnZlD1cpC2Gr6M7wYjAykyiZLJTXJ6w2md/1zDG VHptzaFHi3FzNTnoqVbVE2w4AEa//HfS4ziseGXrrGmPI4DrXTErh11SBFIVjtG8kv5J eYZqVsmsYvsyR8wy32+wynPDYZc5M+k8kYoLH7JQOX+33RQ2XdVjqfHdv40nfSaH6lOp col5FA+hB1ir+nuccVShpijsxvP3ndwxiCSF1GWGkIsa1YgulJLbFB1wQi+5SVHlvjXA sEc6HQjC/w2MfyQqprPWIZZEWmK9osu4+faiBjjjTGlZZ+Ec7Jl+MfTsT8mRJECVM392 LMIw== X-Received: by 10.220.201.132 with SMTP id fa4mr3877354vcb.14.1363173995326; Wed, 13 Mar 2013 04:26:35 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp14105veb; Wed, 13 Mar 2013 04:26:33 -0700 (PDT) X-Received: by 10.68.204.234 with SMTP id lb10mr45432943pbc.64.1363173993137; Wed, 13 Mar 2013 04:26:33 -0700 (PDT) Received: from mail-da0-x22e.google.com (mail-da0-x22e.google.com [2607:f8b0:400e:c00::22e]) by mx.google.com with ESMTPS id xr1si35311784pbc.159.2013.03.13.04.26.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 04:26:33 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c00::22e is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=2607:f8b0:400e:c00::22e; Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c00::22e is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) smtp.mail=vikas.sajjan@linaro.org Received: by mail-da0-f46.google.com with SMTP id z8so376431dad.19 for ; Wed, 13 Mar 2013 04:26:32 -0700 (PDT) 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: ALoCoQkX68MT4HA3+AzvGtHcE1oDUdrXtK81VHjuEknWnuGrCgZIIKLxYpgDb9nOHL5GzRdRq0B1 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>; }; };