From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754745AbcBBLOp (ORCPT ); Tue, 2 Feb 2016 06:14:45 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:33059 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754442AbcBBLOn (ORCPT ); Tue, 2 Feb 2016 06:14:43 -0500 Subject: Re: [PATCH 1/2] dt/bindings: Add bindings for PIC32 deadman timer peripheral To: Joshua Henderson , linux-kernel@vger.kernel.org References: <1454371348-25104-1-git-send-email-joshua.henderson@microchip.com> Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, Purna Chandra Mandal , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org From: Sergei Shtylyov Message-ID: <56B08FA0.9070008@cogentembedded.com> Date: Tue, 2 Feb 2016 14:14:40 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1454371348-25104-1-git-send-email-joshua.henderson@microchip.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/2/2016 3:02 AM, Joshua Henderson wrote: > From: Purna Chandra Mandal > > Document the devicetree bindings for the deadman timer peripheral found on > Microchip PIC32 SoC class devices. > > Signed-off-by: Purna Chandra Mandal > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle > Cc: > --- > Note: Please merge this patch series through the MIPS tree. > --- > .../bindings/watchdog/microchip,pic32-dmt.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt b/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt > new file mode 100644 > index 0000000..f7374ee > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt > @@ -0,0 +1,19 @@ > +* Microchip PIC32 Deadman Timer > + > +The deadman timer is used to reset the processor in the event of a software > +malfunction. It is a free-running instruction fetch timer, which is clocked > +whenever an instruction fetch occurs until a count match occurs. > + > +Required properties: > +- compatible: must be "microchip,pic32mzda-dmt". > +- reg: physical base address of the controller and length of memory mapped > + region. > +- clocks: phandle of parent clock (should be &PBCLK7). > + > +Example: > + > + watchdog2: dmt@1f800a00 { The node names should be generic, i.e. "watchdog" in this case. [...] MBR, Sergei