Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp642664imm; Fri, 27 Jul 2018 03:37:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd32KnIcFUU3tlzTwomQ3fOIJgfG6hO0FvW1Zj2zlHmx/nGpCoJeG57BH6JuUFlgKJwzrcZ X-Received: by 2002:a63:2043:: with SMTP id r3-v6mr5709185pgm.105.1532687857675; Fri, 27 Jul 2018 03:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532687857; cv=none; d=google.com; s=arc-20160816; b=jFPEfrxRKiDvfA/9QaqKPeEx92/Ynf8LxjgOUPiGV8rWYjWP+9LLss7CjnFbW8tSzp x9YWtWm5mV4AVeimYaDZOJ7c/GNL08al8SWELZx90Mb2R9HQX/BR48+Ia0bfTbEqL/0R vrDq4Dw8lrpBq9H7VTe0qCTg7neUK6PyPm4cNqD+ktQkQdjqagZJWcgEuhX1VuAL4az+ B1jqL6scoHs1DCDeny2KmYlBJVXCKQ9MOob2Kntrhs1+elY4WrOJXe9fsww+oyv4lA0H JUkWjlrDNaooUQ3E6Tc5d1vCKrHaERDjRHfoGEfbBjGRD4n7qF3EPTehscEHc0wNoxi1 n1Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=FWdTR/ADWR/tf4U8MaO+fSqW/KsU0nNuCbqh8/0lSVo=; b=FVvlOw+Xji/MuE3HQliGTlKv4Sr899OhR6c+Abzf95nszPkmZjEye4x9dmS7W2iPkH y44WW6iKj552rT0OrMkN3M2FYEMWmBAtbkwHfn7p8px6BDib2WbuIdbAF+st5m+IlP9F fTdrDIGc78fgguJOtplH9agL3FeDRN2+hmn3QhZPT6PGi0V+SHUpREKaFAttdOTvtcWS /BKiRMNaVmI/JwDCVElEIwFT97DwjuMMcEYuStSvQtQJiROmb8UY95vSju7+sQ2RnzWO xOJCHeRFZtm+4VhgLP/WSBYOLJ3vXeMd6akkqpzqCS6emt8HjE2FYMtIRTBzMVY9rcix jshg== 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 q14-v6si3600745pgm.512.2018.07.27.03.37.22; Fri, 27 Jul 2018 03:37:37 -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 S1730719AbeG0L5w (ORCPT + 99 others); Fri, 27 Jul 2018 07:57:52 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33049 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730026AbeG0L5w (ORCPT ); Fri, 27 Jul 2018 07:57:52 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 4272A20876; Fri, 27 Jul 2018 12:36:31 +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 (unknown [88.128.81.178]) by mail.bootlin.com (Postfix) with ESMTPSA id 04AF820618; Fri, 27 Jul 2018 12:36:20 +0200 (CEST) Date: Fri, 27 Jul 2018 12:36:21 +0200 From: Alexandre Belloni To: Quentin Schulz Cc: robh+dt@kernel.org, mark.rutland@arm.com, linus.walleij@linaro.org, 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 Subject: Re: [PATCH 1/2] MIPS: mscc: ocelot: add interrupt controller properties to GPIO controller Message-ID: <20180727103621.GA7701@piout.net> References: <20180725122621.31713-1-quentin.schulz@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180725122621.31713-1-quentin.schulz@bootlin.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/07/2018 14:26:20+0200, Quentin Schulz wrote: > 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 Acked-by: Alexandre Belloni > --- > 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 > -- Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com