From patchwork Mon Oct 5 02:30:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 11816021 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 77D44618 for ; Mon, 5 Oct 2020 02:30:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5DAF72065C for ; Mon, 5 Oct 2020 02:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725860AbgJECav (ORCPT ); Sun, 4 Oct 2020 22:30:51 -0400 Received: from mo-csw1115.securemx.jp ([210.130.202.157]:44102 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725841AbgJECau (ORCPT ); Sun, 4 Oct 2020 22:30:50 -0400 Received: by mo-csw.securemx.jp (mx-mo-csw1115) id 0952UJ3O024567; Mon, 5 Oct 2020 11:30:19 +0900 X-Iguazu-Qid: 2wHH8WtLOSgLzSig1V X-Iguazu-QSIG: v=2; s=0; t=1601865019; q=2wHH8WtLOSgLzSig1V; m=k4Wiqt3hMCWDbhznc0Q3B5WKfUSd7qr5XOhjJ2U5EV8= Received: from imx2.toshiba.co.jp (imx2.toshiba.co.jp [106.186.93.51]) by relay.securemx.jp (mx-mr1113) id 0952UHnS026381; Mon, 5 Oct 2020 11:30:17 +0900 Received: from enc01.toshiba.co.jp ([106.186.93.100]) by imx2.toshiba.co.jp with ESMTP id 0952UHEQ000187; Mon, 5 Oct 2020 11:30:17 +0900 (JST) Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 0952UGmB031172; Mon, 5 Oct 2020 11:30:17 +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 v5 0/2] Add WDT driver for Toshiba Visconti ARM SoC Date: Mon, 5 Oct 2020 11:30:10 +0900 X-TSB-HOP: ON Message-Id: <20201005023012.603026-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 v4 - > v5: - Add 'additionalProperties: false' property - Add Reviewed-by: Rob Herring 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 v4 - > v5: - Add devm_add_action_or_reset(). 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 | 54 +++++ drivers/watchdog/Kconfig | 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/visconti_wdt.c | 195 ++++++++++++++++++ 4 files changed, 258 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/toshiba,visconti-wdt.yaml create mode 100644 drivers/watchdog/visconti_wdt.c