From patchwork Sun Sep 20 05:18:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 11787335 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B2CCC618 for ; Sun, 20 Sep 2020 05:18:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A377921531 for ; Sun, 20 Sep 2020 05:18:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbgITFSq (ORCPT ); Sun, 20 Sep 2020 01:18:46 -0400 Received: from mo-csw1115.securemx.jp ([210.130.202.157]:52080 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbgITFSq (ORCPT ); Sun, 20 Sep 2020 01:18:46 -0400 Received: by mo-csw.securemx.jp (mx-mo-csw1115) id 08K5IEbY010349; Sun, 20 Sep 2020 14:18:14 +0900 X-Iguazu-Qid: 2wHHJOhcAsU2A9e1Ug X-Iguazu-QSIG: v=2; s=0; t=1600579094; q=2wHHJOhcAsU2A9e1Ug; m=Yh9/o4G2zDlRAkbgJoLLLw9Ur0YO6DS12y7ZRu2U+zQ= Received: from imx2.toshiba.co.jp (imx2.toshiba.co.jp [106.186.93.51]) by relay.securemx.jp (mx-mr1113) id 08K5IBZ6029357; Sun, 20 Sep 2020 14:18:12 +0900 Received: from enc01.toshiba.co.jp ([106.186.93.100]) by imx2.toshiba.co.jp with ESMTP id 08K5IB3B010424; Sun, 20 Sep 2020 14:18:11 +0900 (JST) Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 08K5IBo1005743; Sun, 20 Sep 2020 14:18:11 +0900 From: Nobuhiro Iwamatsu To: Rob Herring , Wim Van Sebroeck , Guenter Roeck Cc: punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH v3 1/2] watchdog: bindings: Add binding documentation for Toshiba Visconti watchdog device Date: Sun, 20 Sep 2020 14:18:06 +0900 X-TSB-HOP: ON Message-Id: <20200920051807.288034-2-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200920051807.288034-1-nobuhiro1.iwamatsu@toshiba.co.jp> References: <20200920051807.288034-1-nobuhiro1.iwamatsu@toshiba.co.jp> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add documentation for the binding of Toshiba Visconti SoC's watchdog. Signed-off-by: Nobuhiro Iwamatsu Reviewed-by: Punit Agrawal --- .../watchdog/toshiba,visconti-wdt.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml new file mode 100644 index 000000000000..721e38fa5a0f --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 Toshiba Electronic Devices & Storage Corporation +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/watchdog/toshiba,visconti-wdt.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Toshiba Visconti SoCs PIUWDT Watchdog timer + +maintainers: + - Nobuhiro Iwamatsu + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + enum: + - toshiba,visconti-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + wdt_clk: wdt-clk { + compatible = "fixed-clock"; + clock-frequency = <150000000>; + #clock-cells = <0>; + }; + + watchdog@28330000 { + compatible = "toshiba,visconti-wdt"; + reg = <0 0x28330000 0 0x1000>; + clocks = <&wdt_clk>; + }; + };