From patchwork Fri Mar 2 06:37:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 880355 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XnLDJCAc"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zt04B3s2qz9s4r for ; Fri, 2 Mar 2018 17:38:18 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422694AbeCBGiO (ORCPT ); Fri, 2 Mar 2018 01:38:14 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:46294 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422690AbeCBGiI (ORCPT ); Fri, 2 Mar 2018 01:38:08 -0500 Received: by mail-pl0-f67.google.com with SMTP id y8-v6so5144181pll.13; Thu, 01 Mar 2018 22:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=h9TbhWSD7d9tnKwQSZCb0Bo8IHu6aJBFseL/hTAjHLg=; b=XnLDJCAcOax1fCPj9T74Xqd7nhXFTQvMcDaRP8E+z7ZxBe6WLay2meU5T+0EI/T4Kt xq7+imsWAnTIZBZSWKoFtS5UMdejU2W3kk4j4KO1LmwqQqqcIKSGUMzpMJkgqQ/6//N2 Nu6xsY+kqtIO29fLg5nLluxDWsOcoq2sDCBZ9k/bGduHUdjRBpDLMuw6D91aW+7+WGOy hBsP2jGU89r4XQFtmo/Sne5/ACSUS9zHVB+prVoQvyRYtgdqrGmut84EojL/KcyqYzdR xR69DtwuSI1Xo/1bobSUDO4GwnS6kC1OEVZaZTkJO8R9T8JD7G+95qr3I0/tPpG5maSX 9e4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=h9TbhWSD7d9tnKwQSZCb0Bo8IHu6aJBFseL/hTAjHLg=; b=ZchIuWWANXQeWQK87PF4ag3GfYg4uqxN8nV/d8Qyrj/Qif5lvaXWJdJqBR4CRkZhjM u9KZb+Zl5+yFLUSP2V+uALg3cE/NQb+Il2rtRMwzsZFy98VsXHGHi3R3dFYn4CSA7Ekc 4/u0jkYrowPph0aQFdQfqnSveeqWovy+ZHtuVfgG2qjSJW8H5zBlgxBCZV672C5r04Sp UEgnTlV7EOo0sp/DwD7PCtQgd7RTN8C2beiDOPRfWyoPUJLAX+LartVdyJiReVjoYDti xNVyMJ279sDn9apVb3H8GrBVjwrN/SzEKA4X2HrSKsOel3rL9UOqbNmHF9vL83QOadc1 Amcg== X-Gm-Message-State: APf1xPDPflsYZTtSJ2fEADSrVRPK2RfcmoNuT71s1WB/t8iZSoPwL6Xf fye/QWOKt1UMbYOboh9IqBo= X-Google-Smtp-Source: AG47ELsWCCKJO4aV3BTBBumUBSG4OFHxcYJruO+ir6GRIWBRsvq4jb4NlZ4DtAvYbOwyTNIHKAKROw== X-Received: by 2002:a17:902:6c4c:: with SMTP id h12-v6mr4301287pln.101.1519972687030; Thu, 01 Mar 2018 22:38:07 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id w22sm8525649pge.65.2018.03.01.22.38.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 22:38:06 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 02 Mar 2018 17:07:59 +1030 From: Joel Stanley To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tomer Maimon , Avi Fishman , Brendan Higgins Subject: [PATCH 1/2] dt-bindings: watchdog: Add Nuvoton NPCM description Date: Fri, 2 Mar 2018 17:07:45 +1030 Message-Id: <20180302063746.10993-2-joel@jms.id.au> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180302063746.10993-1-joel@jms.id.au> References: <20180302063746.10993-1-joel@jms.id.au> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org These bindings describe the watchdog IP as used by the Nuvoton NPCM750 (Poleg) BMC SoC. Signed-off-by: Joel Stanley --- .../bindings/watchdog/nuvoton,npcm-wdt.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt new file mode 100644 index 000000000000..599db288337e --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt @@ -0,0 +1,25 @@ +Nuvoton NPCM Watchdog + +Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog. +The watchdog supports a pre-timeout interrupt that fires 10ms before the +expiry. + +Required properties: +- compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg). +- reg : Offset and length of the register set for the device. +- interrupts : Contain the timer interrupt with flags for + falling edge. + +Required clocking property, have to be one of: +- clocks : phandle of timer reference clock. +- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx + timer (usually 25000000). + +Example: + +timer@f00080c1 { + compatible = "nuvoton,npcm750-wdt"; + interrupts = ; + reg = <0xf00080c1 0x4>; + clocks = <&clk NPCM7XX_CLK_TIMER>; +};