From patchwork Thu Jun 15 16:18:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9789365 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F81360325 for ; Thu, 15 Jun 2017 16:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 504582785D for ; Thu, 15 Jun 2017 16:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44AA82852E; Thu, 15 Jun 2017 16:49:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C689C2785D for ; Thu, 15 Jun 2017 16:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=iC9mSIpRSP6fJOJ2Q8i3SNf7RimTQd5sn/zO2+u8ZbM=; b=prxNOrlqEqjyxLwkqSvPEfQLM/ 0tCLfxttJyv9QzORGLkP5A+6H2zfvWHaCLXJZFkyVhCYLY2hurPNdAb4BBfQlYqGCSa0Ku3GCrh4a U5QRiXJ/cnR0oOx/wz5JfhOuH+PNsPpv4u2MeiIzo1gadKFdrGD1294plf9AwKPEV9OzXEpCIY6Bn 0EAMBeOD73mQxbbd84bKnf3JpcewdAfIqR9o/0RPSIbZK4m5IwwWl5oO1ayWYyi54Fxq/YDTz8SlH cEkPd91QbRtSt2Z5A52R9Vi9uy9vdEDrxIHMPdiu4oOQK7FoyqYPT2cAzZ8qPSCw/lD/6Ymo8biP3 HbGn1y3g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dLXx5-0006Pt-UU; Thu, 15 Jun 2017 16:48:59 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLXTf-0006OK-HS for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2017 16:18:42 +0000 Received: by mail-wm0-x233.google.com with SMTP id m125so4136762wmm.1 for ; Thu, 15 Jun 2017 09:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ICZGvXSlZQLl7ho/AGbN+3CK2NfcDzrMUUa08EaZSi8=; b=dV8VsWGESA5Wzp3VodWUsZC7GqfUZdUeCCd0OztdcKjUQEDwqj+yrnKHolEYBWvgSL EdV33NB1O6fgI1W+aE+jKnqn+RmfilxRy7Usc5xpNMPn62v0jBDSjmdIhdhjp96z4Q+7 3dWjmnbZYFA2CpUp/46dJimCv1U7EAHEGI8wMdB46EQ4rhuZYqLa7sTCF+fn7bYRvDPl 7BipXwZa1jrQxfkR9aRxRG3J49xJkW/cJK/Vbdg/Y9YdPkHA9KFx2cY12XS2smbyQ7gX q3ODAwOHeV/SUI/yXsDNeoXEQ33EmI0DrByGlUq1Lw00VrOBeFTYodEQ8vWEBJnCSZGs rnww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ICZGvXSlZQLl7ho/AGbN+3CK2NfcDzrMUUa08EaZSi8=; b=GutpxbzpCdvxDLTbfaNZ2SFnAqu6s9HZFZYjhEt6oRf6IPJdnyQa3eYwy4vj3ZJNFf WJ7oNlbbOA40GMDuMbLHnGMZyJySzNjhXOK8e1wy4wPXjNKbB+eapDqRMuLiQ6oeE7Ae 8JpFxg3ApdX0NVtjJCVFTPEQr0Qr5Nf8JK05LaPst5eAfAbpyd+mr6BlOaopsawrqtjs o7V3+8XLBRsCWWkFqMtffCNJya7Uglm/1No/ASp/PsF7yjC3OK+CT8ZEQ/uzH29uB62x f3KieM8fobGHJWFvneu3iwZKNNX1Dp/ZfHzlQ1bbK0EKDymDqVIH+64VFMVGO+6UQzQ/ HTNQ== X-Gm-Message-State: AKS2vOzaxGSQ8FXxjogInGM/SKm6MnwPjjvB8ujNYpdHM8VWXJtcfgUE alP63FnjjH0r35zC X-Received: by 10.28.107.87 with SMTP id g84mr4226153wmc.63.1497543493796; Thu, 15 Jun 2017 09:18:13 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z184sm673177wmz.0.2017.06.15.09.18.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 09:18:13 -0700 (PDT) From: Jerome Brunet To: Marc Zyngier , Jason Cooper , Thomas Gleixner , Kevin Hilman Subject: [PATCH v3 6/6] ARM64: dts: meson-gx: add gpio interrupt controller Date: Thu, 15 Jun 2017 18:18:04 +0200 Message-Id: <20170615161804.32658-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170615161804.32658-1-jbrunet@baylibre.com> References: <20170615161804.32658-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170615_091836_248202_856FC8CB X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add gpio interrupt controller to Amlogic GX family SoCs Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 9 +++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 6 ++++++ 3 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 603491df9f0f..95d4f4c60b4f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -218,6 +218,15 @@ #size-cells = <2>; ranges = <0x0 0x0 0x0 0xc1100000 0x0 0x100000>; + gpio_intc: interrupt-controller@9880 { + compatible = "amlogic,meson-gpio-intc"; + reg = <0x0 0x9880 0x0 0x10>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,upstream-interrupts = <64 65 66 67 68 69 70 71>; + status = "disabled"; + }; + reset: reset-controller@4404 { compatible = "amlogic,meson-gx-reset", "amlogic,meson-gxbb-reset"; reg = <0x0 0x04404 0x0 0x20>; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index dbd300fffa8a..b6f3561c803c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -314,6 +314,12 @@ clock-names = "stmmaceth", "clkin0", "clkin1"; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson-gxbb-gpio-intc"; + status = "okay"; +}; + &hdmi_tx { compatible = "amlogic,meson-gxbb-dw-hdmi", "amlogic,meson-gx-dw-hdmi"; resets = <&reset RESET_HDMITX_CAPB3>, diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 4dfc22b07bf0..08268cedd965 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -207,6 +207,12 @@ }; }; +&gpio_intc { + compatible = "amlogic,meson-gpio-intc", + "amlogic,meson-gxl-gpio-intc"; + status = "okay"; +}; + &hdmi_tx { compatible = "amlogic,meson-gxl-dw-hdmi", "amlogic,meson-gx-dw-hdmi"; resets = <&reset RESET_HDMITX_CAPB3>,