Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp737093imm; Wed, 25 Jul 2018 05:28:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdGF0OhxagwNO9J7XNw7FZelDH9TVjBge1BWx4qO+SzXzIquFiYHKp0LkcZUsEly5I6IuG3 X-Received: by 2002:a63:ce43:: with SMTP id r3-v6mr3026848pgi.439.1532521696770; Wed, 25 Jul 2018 05:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532521696; cv=none; d=google.com; s=arc-20160816; b=cQUesc4dr5uBZy6FAnbrRcdJOS4zUKXMkT95AKpFNNsnXZzenTPz2Z7UdMA+iU3sM8 Ra2spinhnE7oBbJsptgJVMh5vNUfi4MREthPTo4ZerSGRI9cH1STSKGRg9hqTeXnWA/A zdNljuLJufXTjZiz7gRdtkFIkuvvqib0LMVGCUPdZAZ3TBmgR589hTBjqgLD0TE97C8N ka7RYNzEvaBY1u8CLKFTToBSz13e4JKy0Hvuj4vcTuiAgjt+lJ+QmPe1DCfdcaOCx0zk GA9ikjivFLRlSRTQJiAM+7dUEPhU5aq1BpmPoh6Km8wxpNNarHhdJOCj6o6/bR2FlhXK LIJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=B5F6zUXFMNUK40MJ8PdMmelu0hUtwJZpdDhK+n7M9cQ=; b=c5p2lwAAWPgIv0mKEXtu5psVqTKjYfNOI0lhX3cb4ubY50tlzye0BYHdc7XMAQpgsF pdVipmn61DCSWbPvTu7WIFoBc34ai559yeQlwhIAgVbruXPzVEJvXHh8rhyEmH0FWWtY wNI+sM18+/CdZz+xh5yFT5IJbAgLYDJCJdAPcSan0UD5TjpOvuGycjd36/7FNsJX7UMY QFEy/R6rhTLDeLtgCZ3g3XYjxN4/Qj1wqd8fvgUuCGAqYzO0Ljefm7P3VlD/sp8mpvFe 9ZGtjj01RdB28EyDqEkgHtOhznUGxc8+/DzQf7xJ1/UfOKv0XKN39ehv/EQCqPY0s3Mm JHOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11-v6si13909419pgf.386.2018.07.25.05.28.00; Wed, 25 Jul 2018 05:28:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729017AbeGYNic (ORCPT + 99 others); Wed, 25 Jul 2018 09:38:32 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33570 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728791AbeGYNic (ORCPT ); Wed, 25 Jul 2018 09:38:32 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id D0940208FF; Wed, 25 Jul 2018 14:27:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (unknown [80.255.6.130]) by mail.bootlin.com (Postfix) with ESMTPSA id 4FFE8207AD; Wed, 25 Jul 2018 14:26:51 +0200 (CEST) From: Quentin Schulz To: alexandre.belloni@bootlin.com, robh+dt@kernel.org, mark.rutland@arm.com, linus.walleij@linaro.org Cc: ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, linux-gpio@vger.kernel.org, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Quentin Schulz Subject: [PATCH 1/2] MIPS: mscc: ocelot: add interrupt controller properties to GPIO controller Date: Wed, 25 Jul 2018 14:26:20 +0200 Message-Id: <20180725122621.31713-1-quentin.schulz@bootlin.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GPIO controller also serves as an interrupt controller for events on the GPIO it handles. An interrupt occurs whenever a GPIO line has changed. Signed-off-by: Quentin Schulz --- arch/mips/boot/dts/mscc/ocelot.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi index d7f0e3551500..afe8fc9011ea 100644 --- a/arch/mips/boot/dts/mscc/ocelot.dtsi +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi @@ -168,6 +168,9 @@ gpio-controller; #gpio-cells = <2>; gpio-ranges = <&gpio 0 0 22>; + interrupt-controller; + interrupts = <13>; + #interrupt-cells = <2>; uart_pins: uart-pins { pins = "GPIO_6", "GPIO_7"; -- 2.14.1