From patchwork Mon Sep 21 09:12:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 258955 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 821A3C43465 for ; Mon, 21 Sep 2020 09:13:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BB5921D7A for ; Mon, 21 Sep 2020 09:13:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726333AbgIUJNK (ORCPT ); Mon, 21 Sep 2020 05:13:10 -0400 Received: from mo-csw1116.securemx.jp ([210.130.202.158]:57980 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbgIUJNJ (ORCPT ); Mon, 21 Sep 2020 05:13:09 -0400 Received: by mo-csw.securemx.jp (mx-mo-csw1116) id 08L9CfMj019274; Mon, 21 Sep 2020 18:12:41 +0900 X-Iguazu-Qid: 2wHHjJER8YyHUbfWCH X-Iguazu-QSIG: v=2; s=0; t=1600679560; q=2wHHjJER8YyHUbfWCH; m=2kg8CbwQ10zgxLgNj1b4DaAvHMEKIpqTs6QU11ddojQ= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1112) id 08L9Ccgt033210; Mon, 21 Sep 2020 18:12:39 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 08L9CcPE022062; Mon, 21 Sep 2020 18:12:38 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 08L9Cc2l016936; Mon, 21 Sep 2020 18:12:38 +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 v4 0/2] Add WDT driver for Toshiba Visconti ARM SoC Date: Mon, 21 Sep 2020 18:12:33 +0900 X-TSB-HOP: ON Message-Id: <20200921091235.299774-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Hi, This is the WDT driver for Toshiba's ARM SoC, Visconti[0]. This has not yet been included in Linux kernel, but patches have been posted [1] and some patches have been applied [2]. Since this is a SoC driver, this cannot work by itself, but I have confirmed that it works with the patch series sent as [1] with DT setting. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html [1]: http://lists.infradead.org/pipermail/linux-arm-kernel/2020-September/599678.html [2]: http://lists.infradead.org/pipermail/linux-arm-kernel/2020-September/600578.html watchdog: bindings: Add binding documentation for Toshiba Visconti watchdog device v3 - > v4: - Add timeout-sec property - Add Reviewed-by: Punit Agrawal v2 - > v3: - no update v1 - > v2: - no update watchdog: Add Toshiba Visconti watchdog driver v3 - > v4: - Remove unnecessary include file. - Drop unnecessary MODULE_AUTHOR. - Add Reviewed-by: Punit Agrawal v2 - > v3: - Fix unnecessary split lines - Fix negative value check and handling for visconti_wdt_get_timelef() v1 - > v2: - Sort incclude alphabetically. - Add negative value check and handling for visconti_wdt_get_timelef() - Use dev_err_probe() with devm_clk_get() Nobuhiro Iwamatsu (2): watchdog: bindings: Add binding documentation for Toshiba Visconti watchdog device watchdog: Add Toshiba Visconti watchdog driver .../watchdog/toshiba,visconti-wdt.yaml | 52 +++++ drivers/watchdog/Kconfig | 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/visconti_wdt.c | 189 ++++++++++++++++++ 4 files changed, 250 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml create mode 100644 drivers/watchdog/visconti_wdt.c