From patchwork Wed May 25 00:46:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12860630 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 DE4E4C433F5 for ; Wed, 25 May 2022 00:47:59 +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=tlXrGugHuAzxajkSvhfjZGET8vQGf+EFYXfJ2Xja5jU=; b=ESm3huDKr3uUZB nrDmdcNjqhtXhF1zNOLiBsMjrzv9RxuamBseZ61whpNCUetWVXpZFNaR0Iv0Vsf/vGFiZ/jpAgqoX hhtiiq1KDQa2SC0QNXXEaLr7h22pE3Ie9vSB2ls53XDhQIQGtXawO2XCxwa1LxFaM1NnJQz3cHOYD V3158bdtQc1F0iYIdvbsdUE7GlKDEQQtCL7zuNqucXYI6q3YbG9zjGPK2FvsMf8DWlhRtfJ/tJQBG SnEC3CEcYvyHLD5fZkFu13p9V5I+MQ4fulUeKhx3+CnUu1n75jjcaJKXE5OVs9hLOLBiLkI9v2/ZI pcrwlX4hKp64U0ORYSXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntfAZ-009X2b-IO; Wed, 25 May 2022 00:46:35 +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 1ntfAW-009X14-TF for linux-arm-kernel@lists.infradead.org; Wed, 25 May 2022 00:46:34 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 24P0kGQH032106; Wed, 25 May 2022 09:46:16 +0900 X-Iguazu-Qid: 34troEDgosQr0Nhwun X-Iguazu-QSIG: v=2; s=0; t=1653439576; q=34troEDgosQr0Nhwun; m=PqN0SZ2Kbn3J0hN+mlzV3+eKzFQWVJyC5dMeA4DgRlE= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1511) id 24P0kEX6037176 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 25 May 2022 09:46:14 +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 v3] dt-bindings: watchdog: toshiba, visconti-wdt: Update the common clock properties Date: Wed, 25 May 2022 09:46:05 +0900 X-TSB-HOP2: ON Message-Id: <20220525004605.2128727-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-20220524_174633_188461_EE6E4E9D X-CRM114-Status: UNSURE ( 8.64 ) 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 Reviewed-by: Guenter Roeck --- v3: doesn't remove timeout-sec. v2: send to linux-watchdog. .../bindings/watchdog/toshiba,visconti-wdt.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml index 690e19ce4b87..eba083822d1f 100644 --- a/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml @@ -35,20 +35,16 @@ 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>; }; };