From patchwork Tue Oct 4 15:08:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9362015 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 ED9AA600C8 for ; Tue, 4 Oct 2016 15:14:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF8DA28450 for ; Tue, 4 Oct 2016 15:14:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D45BB28BF4; Tue, 4 Oct 2016 15:14:26 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E0F528450 for ; Tue, 4 Oct 2016 15:14:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1brROk-0006qV-Pb; Tue, 04 Oct 2016 15:12:50 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1brRLO-0002Uv-4F for linux-arm-kernel@bombadil.infradead.org; Tue, 04 Oct 2016 15:09:22 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1brRLJ-0004Hy-48 for linux-arm-kernel@lists.infradead.org; Tue, 04 Oct 2016 15:09:21 +0000 Received: by mail-lf0-x231.google.com with SMTP id t81so119429198lfe.0 for ; Tue, 04 Oct 2016 08:08:56 -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=LcS5KSXtYQM7oYGrepVzcDxYFaDSqwL7BCVC0Mah6HM=; b=AQ35ZhiWgk6aYLxsB06RzJ/VLpDnrXxSAyRKAl3sQV7ITge5VLHobfewgAyt1IsDl8 9OfJT58V3oeXNW2Sc9q/GO7ydp3dtslS9az9BGoaSFPB5RJv91Mm99y6w0jO7VeZ4nKc IePzVFFWwKypUxcfTnr+kHIeTjX0fqkklIOvhXw6/jdz2drW1h2yJk8B4rqAgXuaDBCp 81sY01wSi96pRl7Bfb6cH1S36oadLrTFTP+vHNHKKZNbpoIDXwnodNaee1Q1YCwOiKK5 gZ9gchUg+HW/FCludZMzeMDDZQ9vsVjtSElO2U4DeB/0qTui23H8xAeu1XZxMMlJZ2UO pLMw== 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=LcS5KSXtYQM7oYGrepVzcDxYFaDSqwL7BCVC0Mah6HM=; b=QApRRhZwupKa8XvDFVhsJw3WJmf9Zz4Lc9zpRTy3B4sIC5OojSvzHy9ox4xpYKjYBF bRv9837D0Cj5EipdpWie9QUayQCvVnk9vAX8T1H3mvgFCA/BJUXFyqFBIP6TPwXVLFfJ XCme5g9FwtJfK1/aajP7hxlqNvc/X/yfTb3Ts5GhB/LWYxeK89MMKIF1543dZ9t7frCD 8hrSZ9WxJNh9RfUULXGCVNTFBp5qpad1M/17U8NP5BQR8HzkgrFgRxNlnyrwnbS1NCsb wed5kCWRKaqJg2cn1bLl64dwWPJl/R5oQST1B8trGHbGNLN/8RCxexmmS+dESFVWH8X3 gHCA== X-Gm-Message-State: AA6/9RlICfd3h30I5sqr/eiCOc2TOY+YWinGcCZCR9Hg5XqzwhWcsTcpyeRgMDTjevAu0HeA X-Received: by 10.194.112.68 with SMTP id io4mr3460383wjb.1.1475593734499; Tue, 04 Oct 2016 08:08:54 -0700 (PDT) Received: from boomer.baylibre.com ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id j198sm4583539wmg.4.2016.10.04.08.08.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 08:08:53 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione , Thomas Gleixner , Jason Cooper , Marc Zyngier Subject: [RFC 08/10] ARM64: dts: amlogic: enable gpio interrupt controller on gxbb Date: Tue, 4 Oct 2016 17:08:26 +0200 Message-Id: <1475593708-10526-9-git-send-email-jbrunet@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1475593708-10526-1-git-send-email-jbrunet@baylibre.com> References: <1475593708-10526-1-git-send-email-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161004_110917_365721_0B01BB54 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.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 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 610e0e1c3cee..e5c6372dbe1c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -183,6 +183,21 @@ #reset-cells = <1>; }; + gpio_interrupt: interrupt-controller@9880 { + compatible = "amlogic,gxbb-gpio-intc"; + reg = <0x0 0x9880 0x0 0x10>; + interrupts = , + , + , + , + , + , + , + ; + interrupt-controller; + #interrupt-cells = <2>; + }; + uart_A: serial@84c0 { compatible = "amlogic,meson-uart"; reg = <0x0 0x84c0 0x0 0x14>; @@ -307,6 +322,7 @@ reg-names = "mux", "pull", "gpio"; gpio-controller; #gpio-cells = <2>; + interrupt-parent = <&gpio_interrupt>; }; uart_ao_a_pins: uart_ao_a { @@ -426,6 +442,7 @@ reg-names = "mux", "pull", "pull-enable", "gpio"; gpio-controller; #gpio-cells = <2>; + interrupt-parent = <&gpio_interrupt>; }; emmc_pins: emmc {