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: 11816019 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 E1BA6618 for ; Mon, 5 Oct 2020 02:30:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B9CF2065C for ; Mon, 5 Oct 2020 02:30:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yvWmmc8G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B9CF2065C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=4eCnB85lWAC8ajyzTI8z7PModBCql2DxLAY+zMZLYWE=; b=yvWmmc8GUZUneFRECzeJ2hPmY+ QOFyUCw7OMpoOHurobu9NhZO6amIFsvqZaIrFjSb382LwiqAi+5v8j46gAUPQL9pZ2XqXG7HIPRWZ qHGtdHjSqro5e+r6obZZGyGZDuS39XTbGdEG/nxYhiP8fG0FJ569tqjSk/S+9v5bolI/+Q5Ty6Nr4 g9SrTMOxiifLA4NXLFQQmPrG++11EI9TLqJcJFvEQ1eU0IQyudX/hzU2ooGc5pxeSYE403A/AZWDb M5HkmRjM3RM3dkapnkLdxmhSvILDzhI1tNIMTS3ZcpIV+yuxYRVPJ5/hE0JztjvI/aKZ2SZwso5+P jt57Osjg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPGGo-0007pM-DS; Mon, 05 Oct 2020 02:30:34 +0000 Received: from mo-csw1115.securemx.jp ([210.130.202.157] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPGGj-0007oL-Qc for linux-arm-kernel@lists.infradead.org; Mon, 05 Oct 2020 02:30:31 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201004_223030_231560_8B24C3DD X-CRM114-Status: GOOD ( 15.80 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [210.130.202.157 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [210.130.202.157 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, punit1.agrawal@toshiba.co.jp, linux-watchdog@vger.kernel.org, Nobuhiro Iwamatsu , yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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