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: 11788995 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 2C0BA112C for ; Mon, 21 Sep 2020 09:13:06 +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 F2E5520773 for ; Mon, 21 Sep 2020 09:13:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t1wpUswL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2E5520773 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=+FyA/nDi4e0LZOKN3XS/yUOTpVDAD64jomcXq9HbyRk=; b=t1wpUswL43FOZ7Gv9IU7+74bwY eyzqkSl7YdMK58+8Q9uxijrr8jkR0J8MxCi4dvlI/hCKzj8TlZapCA9IQSMO5zhO8Dfi9X5VuCRz6 kez73xVahXDKywxZCC8lJRB6NT2mYCWz51UY5JdD/ph5JA8Krb8e/9elG8JN2urcv8zi10c09484Z mLGsauaPJq9ce0LHqn8MKOgAFyfiLofufHTwv5kZMK49bEDpNkiXuXU+3ci491lJiCxkS+/ZmOqQb bi99wF0U0ai/fOp43b//acF41Ng+szC2xJKtnqXXNufjnppFFln+C8MQlaXDS9PK3t+dIWATivY+G YRZUy1zQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHsU-00054W-Kb; Mon, 21 Sep 2020 09:12:54 +0000 Received: from mo-csw1116.securemx.jp ([210.130.202.158] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKHsQ-00053L-4O for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 09:12:52 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200921_051250_618696_1CEA2B75 X-CRM114-Status: GOOD ( 15.04 ) 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.158 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [210.130.202.158 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 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