From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753334AbcL3Co0 (ORCPT ); Thu, 29 Dec 2016 21:44:26 -0500 Received: from mail.kernel.org ([198.145.29.136]:42416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402AbcL3CoZ (ORCPT ); Thu, 29 Dec 2016 21:44:25 -0500 Date: Fri, 30 Dec 2016 10:44:10 +0800 From: Shawn Guo To: Martin Kaiser Cc: Alexandre Belloni , Sascha Hauer , Juergen Borleis , Lucas Stach , Fabio Estevam , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland Subject: Re: [PATCH 2/2 v2] ARM: i.MX25: add the optional security violation irq Message-ID: <20161230024409.GK6177@dragon> References: <1479560614-19293-1-git-send-email-martin@kaiser.cx> <1482361276-12475-1-git-send-email-martin@kaiser.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482361276-12475-1-git-send-email-martin@kaiser.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 22, 2016 at 12:01:16AM +0100, Martin Kaiser wrote: > Add the security violation irq as an optional entry to rtc-imxdi's > device tree bindings and to i.MX25's dtsi file. > > Signed-off-by: Martin Kaiser > --- > v2: > - clarify that the security violation interrupt is optional > - use the same syntax as everwhere else for lists of interrupt numbers > > Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 5 ++++- > arch/arm/boot/dts/imx25.dtsi | 2 +- I take DTS changes only. Please make the bindings doc change a separate patch, and have it go together with driver patch. And I apply DTS patch only after driver and bindings changes get accepted by RTC maintainer. Shawn > 2 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt > index c9d80d7..323cf26 100644 > --- a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt > +++ b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt > @@ -8,10 +8,13 @@ Required properties: > region. > - interrupts: rtc alarm interrupt > > +Optional properties: > +- interrupts: dryice security violation interrupt > + > Example: > > rtc@80056000 { > compatible = "fsl,imx53-rtc", "fsl,imx25-rtc"; > reg = <0x80056000 2000>; > - interrupts = <29>; > + interrupts = <29 56>; > }; > diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi > index 831d09a..331d1e1 100644 > --- a/arch/arm/boot/dts/imx25.dtsi > +++ b/arch/arm/boot/dts/imx25.dtsi > @@ -560,7 +560,7 @@ > reg = <0x53ffc000 0x4000>; > clocks = <&clks 81>; > clock-names = "ipg"; > - interrupts = <25>; > + interrupts = <25 56>; > }; > }; > > -- > 1.7.10.4 >