Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6481315yba; Wed, 1 May 2019 13:12:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDuMCEK9zuT2QF4VWFg+FNauedq/yKn3U5tX2Kx3dlTo1msgRC1SJS/AZd3DqJhBYtbGlj X-Received: by 2002:a17:902:23:: with SMTP id 32mr64161287pla.116.1556741553918; Wed, 01 May 2019 13:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556741553; cv=none; d=google.com; s=arc-20160816; b=bWP4zs6NAFSjLlexQgC27Zxdi6w2SpSoQDmcFOu2L4kdkRN/GZDvhn9q15Hqi/LCIe btSDb9Snz+R8hjEx9FG/8GByob8DvNYFl9GhWnTBv2g539XDhZeGUFIATxaxKu7RIEkt J8MvJ4lRFQPt1KF6Ek1H4Krv2N3G7LPLh3fIH4revP7+O95Uhrmx8gQyqZ9BR6C8l6qO eZE3Gfg/NIMAK/hJVGybrkAlsh8zU1gGfFy44YIXPGSV48ZW9Y2SFSD+7KYNjEWdaIbC LgCQBHo1iQiN2XV3Uv2QGcLAiw++nlz39/mpLe3x4jr5KUHJkwKocgiGBfKew+soCUcE D64A== 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; bh=Li1WCYAdhD2QkMcE4ruPAS6fhCxmScJLOyEkxKVVobU=; b=SJ9j0dRUWdGIN2xxthLCjC3VfsnPFJC9vh16Wy1AwjujLbjm8SiIITjxycCZVi2TlI HxT5Jv1WtH/0gqXJZUuw7JgRUDY7gD+/tWZ3KvJ0CC7iR8L9iqH3dBgu4Xb74x9iY8XL lDcz6mED0Fqw9iy5KTS2xOWPvIw0OpUUFWwJUX43+xZm1kUnmVePAen9++AT/ip+JVpQ /5X3SzdALuJONw+xgimRVJg+z8FlxSBSU2XshFaRxA83giZTp9dGOycW+1pqXByEYNIt CJ3JgFpOPt7FK5X+Diad/1y/kmDbyWc/qHxHfFvbMG4O0dOJvjntCut0nyWx1AGLsSC7 RzNQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si6306289pld.58.2019.05.01.13.12.18; Wed, 01 May 2019 13:12:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbfEAUKN (ORCPT + 99 others); Wed, 1 May 2019 16:10:13 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:36742 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbfEAUKM (ORCPT ); Wed, 1 May 2019 16:10:12 -0400 Received: by mail-ot1-f65.google.com with SMTP id b18so98794otq.3; Wed, 01 May 2019 13:10:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Li1WCYAdhD2QkMcE4ruPAS6fhCxmScJLOyEkxKVVobU=; b=Y1NJ0Z13ozOJpjCrpF35pfhMGlyD2vOOIvljemWguUt/AzW9/c0oK8G+zletYrXAlJ fI+4bCa2gFCoG8TBrpym5BubCwE7dmkhpZIFOLyjf1S70UmS0MXpz4TxrYluSNm9n/V1 17Xl0qJ2GP8l/52zsx96xJhyOl11gJ+ZEVaRso3j3iAY2GV3/MNlIedEiOo4Pr/9q0YP /6AmA95yFRP8sJjws1UhLTW9fRkGu/GxqkT3OCRVBxSqk93khWZKDKm1aPm3nwtdcSQT u3zVkD5akN7RYLZlQINQdhzgfKxPBpWa84fy3TuFhjydc5S2RyKKNpAIEXm3Ec1YRmIZ /qlQ== X-Gm-Message-State: APjAAAU0JwWy0EOsch9V7lQ78Y8m0n1TMuUuEYGhvuHTlaHAc7kys4gi C6Gv1eoDPcYyEypzjfMKoFvIpaU= X-Received: by 2002:a9d:61c6:: with SMTP id h6mr9873837otk.316.1556741411946; Wed, 01 May 2019 13:10:11 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d78sm5529492oib.15.2019.05.01.13.10.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 13:10:11 -0700 (PDT) Date: Wed, 1 May 2019 15:10:10 -0500 From: Rob Herring To: Anson Huang Cc: "mark.rutland@arm.com" , "wim@linux-watchdog.org" , "linux@roeck-us.net" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , Aisheng Dong , "ulf.hansson@linaro.org" , Peng Fan , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx Subject: Re: [PATCH V2 1/4] dt-bindings: fsl: scu: add watchdog binding Message-ID: <20190501201010.GA7249@bogus> References: <1556421727-7401-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1556421727-7401-1-git-send-email-Anson.Huang@nxp.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 Sun, Apr 28, 2019 at 03:27:00AM +0000, Anson Huang wrote: > i.MX system controller watchdog has pretimeout function which > depends on i.MX SCU driver, so watchdog DT node needs to be > subnode of SCU, this patch adds i.MX system controller watchdog > binding to SCU binding doc. > > Signed-off-by: Anson Huang > --- > New patch. > --- > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > index 5d7dbab..1b56557 100644 > --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > @@ -133,6 +133,16 @@ RTC bindings based on SCU Message Protocol > Required properties: > - compatible: should be "fsl,imx8qxp-sc-rtc"; > > +Watchdog bindings based on SCU Message Protocol > +------------------------------------------------------------ > + > +Required properties: > +- compatible: should be: > + "fsl,imx8qxp-sc-wdt" > + followed by "fsl,imx-sc-wdt"; > +Optional properties: > +- timeout-sec: contains the watchdog timeout in seconds. This should be the time to reset the system, but the subject talks about the pre-timeout which I guess is just an interrupt. If it is pre-timeout you want add a new property and don't abuse the existing one. Rob