From patchwork Fri May 20 09:00:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12856531 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5FE89C433EF for ; Fri, 20 May 2022 09:02:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZqA2Ym2qH/Ch7293Gva9S3J882+xEiB9AcHWuDgpU/4=; b=kcMabL9YZ8ugYm Mpc/Zc5WxGdDxdbPOoQJsesSVDH/2IugQEM57G9x4GCrr4IOVCD2l70O9kPEFFypS2eO9KQ+B3t9a ZVxoi0Y4xfXJyxHZ9p9yBVEFDWFfqrQmVZMsGseFGOb0cF9HMnACwQPfLeF97O38tzqlvFS/Uag6A BEfCdFERSx+ZpOwT5eWEVwEqti83vt5ajf6dqiQM5EA7DVN+w7riDsirkjwydaIf7wf/HMA783K94 MFbF5vUV0HpQpl9CwDJMTOCspi6W/sau/kfHsbSBtr07u64sV4VwjJsxqoUUi62CQ1wu2qYuA88Lk m20Npui7CUvDC7Z4TJ6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nryVB-00BQk3-Ua; Fri, 20 May 2022 09:00:54 +0000 Received: from mo-csw1514.securemx.jp ([210.130.202.153] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nryV8-00BQid-8M for linux-arm-kernel@lists.infradead.org; Fri, 20 May 2022 09:00:52 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 24K90a3e020094; Fri, 20 May 2022 18:00:36 +0900 X-Iguazu-Qid: 34trvzMrv8f6CEmUZq X-Iguazu-QSIG: v=2; s=0; t=1653037236; q=34trvzMrv8f6CEmUZq; m=oCtpcilmw9sapkrx804jsQH7wnrQENTBrdGAFPG45Cc= Received: from imx2-a.toshiba.co.jp (imx2-a.toshiba.co.jp [106.186.93.35]) by relay.securemx.jp (mx-mr1510) id 24K90Ymr009957 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 20 May 2022 18:00:34 +0900 From: Nobuhiro Iwamatsu To: Wim Van Sebroeck , Guenter Roeck Cc: linux-watchdog@vger.kernel.org, yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Nobuhiro Iwamatsu , Rob Herring Subject: [PATCH v2] dt-bindings: watchdog: toshiba, visconti-wdt: Update the common clock properties Date: Fri, 20 May 2022 18:00:24 +0900 X-TSB-HOP2: ON Message-Id: <20220520090024.620928-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220520_020050_546082_C624ADCE X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The clock for this driver switched to the common clock controller driver. Therefore, update common clock properties for watchdog in the binding document. And this matched this example with the actual dts. Signed-off-by: Nobuhiro Iwamatsu Acked-by: Rob Herring --- .../bindings/watchdog/toshiba,visconti-wdt.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml index 690e19ce4b87..52c0e0c022ea 100644 --- a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml @@ -35,20 +35,15 @@ additionalProperties: false examples: - | + #include + soc { #address-cells = <2>; #size-cells = <2>; - wdt_clk: wdt-clk { - compatible = "fixed-clock"; - clock-frequency = <150000000>; - #clock-cells = <0>; - }; - - watchdog@28330000 { + wdt: watchdog@28330000 { compatible = "toshiba,visconti-wdt"; reg = <0 0x28330000 0 0x1000>; - clocks = <&wdt_clk>; - timeout-sec = <20>; + clocks = <&pismu TMPV770X_CLK_WDTCLK>; }; };