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: 130484 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp939127lja; Thu, 1 Mar 2018 22:38:17 -0800 (PST) X-Google-Smtp-Source: AG47ELs0BmgT7uEwFj3JmjCKe1S8x68W9Hu/fRvqQUhNgSI7RIBrtypOgrBLi6Xf51c2q+XULHZo X-Received: by 10.101.93.73 with SMTP id e9mr3803455pgt.264.1519972697693; Thu, 01 Mar 2018 22:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519972697; cv=none; d=google.com; s=arc-20160816; b=q00FULHasHd7PynTSs856an8nkZZKJqY6mflwM3nQF/F8TDsGdgzgXjntCC/29oysf ORglHvwe2TkiId+zbBjmoZcwQ2mU0nrVw+jkuc2vYo/5gy+WhWx6PAIu8I8F3WLnukby N0lpTmknPi6vbaEjKb7h6DaK0/yhkeoknIO3wA9bnR9hKZjhaL+IiRsIcxQdCmnzp/Rz SzGoup2jfRqIEHgfBlJTV9NzzSk8RpNjGKe2u5fPDKvfVn6f2By+AV5m6paCiDrrqy4M hnDphn4GZblfBKdPGvxRZ4Ro27/26XjnSdtaoJO6s0YzqpU87w3QxDctSBGxj/fw8I20 aA4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=JiSWeSCDW1PsIgrHEaZCHiQJsbnK2sWjDEuyO7izU94=; b=BekvzcBmi+YkIg6A/g0pjUfyNlRahNWSLUhGZ5jgVw3dqsVFStp19FJlM8kEMZNDem RyJrtME0+jKAAA9daqXG3hVew2fcLuNYqc4rjEdJbbvFavhLcKd8ISw4wYQtQecqF4oi sSVD32Zt/liyfQuYd3G9dJEkw6pOYFMZAcn7/rkjZL2HACmxCl8Aiecm8ZmjEUqwF1Bs H3Lo5qqb1XzC5d/bYJUZ80y7BG0xGKrVA4umzBCt9UTCuQkVSeBnRVgCbN7G1WskGsvn xq935g1Cf1JFE9dnOrIPaCupZhtYPgZGPktqjtd88RZoRrTxuQXRk2MbHrtU3v4pOA/5 9cDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=XnLDJCAc; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si4339737pfk.412.2018.03.01.22.38.17 for ; Thu, 01 Mar 2018 22:38:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=XnLDJCAc; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422700AbeCBGiO (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-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: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@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 -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; +};