From patchwork Fri May 23 13:57:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4232891 Return-Path: X-Original-To: patchwork-linux-arm@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 85E419F32B for ; Fri, 23 May 2014 14:02:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A315920303 for ; Fri, 23 May 2014 14:02:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A470120295 for ; Fri, 23 May 2014 14:02:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wnq0X-0001Eu-SO; Fri, 23 May 2014 13:59:37 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wnpzj-0000nc-5f for linux-arm-kernel@lists.infradead.org; Fri, 23 May 2014 13:58:48 +0000 Received: by mail-wi0-f171.google.com with SMTP id cc10so888219wib.4 for ; Fri, 23 May 2014 06:58:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C0j/Ab+A7d9lAQE1nXj7MRnHSvREWONTaJswWaBXESE=; b=QNQYMe/2vwufxn/zLu1NIOR8Ca07IsuFKEiKoU0v7A1Sl75erHn80eSrgKukF/r/qW aTh1Z5Mw8VUBycSeartabwhsWs6fssdP+lNAEj1ckeF38GNXWtLCv1xx43zlIqEdy3PD omN6pFD+G2kGDGHLurkOL2iTTpQw5o6GzdsUAYzX2XsceTNJXtrmf/t7ATZTg3UGdCQ3 fBrfT4zTIgtpG/BR2xjPxlB60VO0zuS1cw63sfd0gjk07ljjQkGWeMKy8Y+ROtRGZbmr e0AgfLS1YEEWx0kvzhFOjb+IcJofzxpqusENHvodAOlZePnbT7Iz2GNQE4m5cpuLVXY0 Zoag== X-Gm-Message-State: ALoCoQkBfusKBZiBq0zpG1ITWYXtIrbdMTjfOm9ONi0ZpCqd3eiunv3nF4fYZDIJdweZjrEVG4ki X-Received: by 10.180.74.108 with SMTP id s12mr3340419wiv.61.1400853504645; Fri, 23 May 2014 06:58:24 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id l4sm4016261wjf.14.2014.05.23.06.58.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 06:58:23 -0700 (PDT) From: Daniel Thompson To: Jason Wessel Subject: [RFC v2 05/10] ARM: STi: STiH41x: Extend UART with FIQ support. Date: Fri, 23 May 2014 14:57:53 +0100 Message-Id: <1400853478-5824-6-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1400853478-5824-1-git-send-email-daniel.thompson@linaro.org> References: <1400083125-1464-1-git-send-email-daniel.thompson@linaro.org> <1400853478-5824-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140523_065847_394242_ED1D2796 X-CRM114-Status: GOOD ( 11.48 ) X-Spam-Score: -0.7 (/) Cc: Mark Rutland , kernel@stlinux.com, kgdb-bugreport@lists.sourceforge.net, Linus Walleij , Patrice Chotard , Jiri Slaby , Daniel Thompson , Dirk Behme , Russell King , Nicolas Pitre , Ian Campbell , Anton Vorontsov , "David A. Long" , linux-serial@vger.kernel.org, Catalin Marinas , kernel-team@android.com, devicetree@vger.kernel.org, linaro-kernel@lists.linaro.org, Pawel Moll , patches@linaro.org, Kumar Gala , Rob Herring , John Stultz , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Colin Cross , Frederic Weisbecker , Christoffer Dall , Srinivas Kandagatla X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 This patch provides the UART with a second interrupt resource that can be used to route the UARTs interrupt to FIQ (demarked by setting bit 7 in the third item in the tuple). Signed-off-by: Daniel Thompson Cc: Srinivas Kandagatla Cc: Maxime Coquelin Cc: Patrice Chotard Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: kernel@stlinux.com Cc: devicetree@vger.kernel.org --- arch/arm/boot/dts/stih415.dtsi | 4 ++-- arch/arm/boot/dts/stih416.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stih415.dtsi b/arch/arm/boot/dts/stih415.dtsi index d89064c..b2c9df4 100644 --- a/arch/arm/boot/dts/stih415.dtsi +++ b/arch/arm/boot/dts/stih415.dtsi @@ -79,7 +79,7 @@ compatible = "st,asc"; status = "disabled"; reg = <0xfed32000 0x2c>; - interrupts = <0 197 0>; + interrupts = <0 197 0>, <0 197 0x80>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_serial2>; clocks = <&CLKS_ICN_REG_0>; @@ -90,7 +90,7 @@ compatible = "st,asc"; status = "disabled"; reg = <0xfe531000 0x2c>; - interrupts = <0 210 0>; + interrupts = <0 210 0>, <0 197 0x80>; clocks = <&CLK_SYSIN>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sbc_serial1>; diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 78746d2..fdf7b43 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -88,7 +88,7 @@ compatible = "st,asc"; status = "disabled"; reg = <0xfed32000 0x2c>; - interrupts = <0 197 0>; + interrupts = <0 197 0>, <0 210 0x80>; clocks = <&CLK_S_ICN_REG_0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_serial2 &pinctrl_serial2_oe>; @@ -99,7 +99,7 @@ compatible = "st,asc"; status = "disabled"; reg = <0xfe531000 0x2c>; - interrupts = <0 210 0>; + interrupts = <0 210 0>, <0 210 0x80>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sbc_serial1>; clocks = <&CLK_SYSIN>;