From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753993AbdJaRWR (ORCPT ); Tue, 31 Oct 2017 13:22:17 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:48167 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753909AbdJaRWN (ORCPT ); Tue, 31 Oct 2017 13:22:13 -0400 X-Google-Smtp-Source: ABhQp+Qctx3HA20NIQE8AAROQHJNCA64GZrHcAkbwGCneyiAkOBzrfPPm2Jy+d7vHLJwoWdTuBWImw== Date: Tue, 31 Oct 2017 10:22:11 -0700 From: Guenter Roeck To: Andrey Smirnov Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, cphealy@gmail.com, Lucas Stach , Nikita Yushchenko , Lee Jones , Greg Kroah-Hartman , Pavel Machek , Andy Shevchenko , Rob Herring , Johan Hovold , Mark Rutland , Sebastian Reichel Subject: Re: [PATCH v10 5/5] dt-bindings: watchdog: Add bindings for RAVE SP watchdog driver Message-ID: <20171031172211.GG28688@roeck-us.net> References: <20171031163656.24552-1-andrew.smirnov@gmail.com> <20171031163656.24552-6-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171031163656.24552-6-andrew.smirnov@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 31, 2017 at 09:36:56AM -0700, Andrey Smirnov wrote: > Add Device Tree bindings for RAVE SP watchdog drvier - an MFD cell of > parent RAVE SP driver (documented in > Documentation/devicetree/bindings/mfd/zii,rave-sp.txt). > > Cc: linux-kernel@vger.kernel.org > Cc: devicetree@vger.kernel.org > Cc: linux-watchdog@vger.kernel.org > Cc: cphealy@gmail.com > Cc: Lucas Stach > Cc: Nikita Yushchenko > Cc: Lee Jones > Cc: Greg Kroah-Hartman > Cc: Pavel Machek > Cc: Andy Shevchenko > Cc: Guenter Roeck > Cc: Rob Herring > Cc: Johan Hovold > Cc: Mark Rutland > Cc: Sebastian Reichel > Acked-by: Rob Herring > Signed-off-by: Nikita Yushchenko > Signed-off-by: Andrey Smirnov Reviewed-by: Guenter Roeck > --- > .../bindings/watchdog/zii,rave-sp-wdt.txt | 39 ++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt > new file mode 100644 > index 000000000000..ab16659e781d > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt > @@ -0,0 +1,39 @@ > +Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog Bindings > + > +RAVE SP watchdog device is a "MFD cell" device corresponding to > +watchdog functionality of RAVE Supervisory Processor. It is expected > +that its Device Tree node is specified as a child of the node > +corresponding to the parent RAVE SP device (as documented in > +Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) > + > +Required properties: > +- compatible: Should be "zii,rave-sp-watchdog" > + > +Optional properties: > + > +- wdt-timeout: Two byte nvmem cell specified as per > + Documentation/devicetree/bindings/nvmem/nvmem.txt > + > +Example: > + > + rave-sp { > + compatible = "zii,rave-sp-rdu1"; > + current-speed = <38400>; > + > + eeprom { > + compatible = "zii,pic-main-eeprom"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + wdt_timeout: wdt-timeout@8E { > + reg = <0x8E 2>; > + }; > + }; > + > + watchdog { > + compatible = "zii,rave-sp-watchdog"; > + nvmem-cells = <&wdt_timeout>; > + nvmem-cell-names = "wdt-timeout"; > + }; > + } > + > -- > 2.13.6 >