From patchwork Tue Jul 11 09:17:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Hua Qian" X-Patchwork-Id: 703539 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7601EEB64DC for ; Tue, 11 Jul 2023 09:24:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230006AbjGKJYz (ORCPT ); Tue, 11 Jul 2023 05:24:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232274AbjGKJW6 (ORCPT ); Tue, 11 Jul 2023 05:22:58 -0400 X-Greylist: delayed 76 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 11 Jul 2023 02:18:54 PDT Received: from mta-65-225.siemens.flowmailer.net (mta-65-225.siemens.flowmailer.net [185.136.65.225]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 186044496 for ; Tue, 11 Jul 2023 02:18:53 -0700 (PDT) Received: by mta-65-225.siemens.flowmailer.net with ESMTPSA id 202307110917344412b97ffd5413606b for ; Tue, 11 Jul 2023 11:17:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=huaqian.li@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=YngbMRZ+I71xx4c0Kbc0TTwPMq+UjMpwaQWK/OE0Vi0=; b=bEGzPCEPXtDnDjTv9DCE1gCxAJD8SW7Pm763yj8b+3ajZkwxtTVzuwq6hlEhyyz8Ljk20p 15tn1DsL3kibmjtLFuY3XFfgs9A/fUQ8jn5IurPXQaiRrR7jxl7CtD1Y/oQNGR3YeAGOEOa/ xibJXbXzw2s0aGo9D/Dizh5HC4a9M=; From: huaqian.li@siemens.com To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: huaqianlee@gmail.com, nm@ti.com, vigneshr@ti.com, kristo@kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jan.kiszka@siemens.com, baocheng.su@siemens.com, Li Hua Qian Subject: [PATCH v2 0/3] Add support for WDIOF_CARDRESET on TI AM65x Date: Tue, 11 Jul 2023 17:17:10 +0800 Message-Id: <20230711091713.1113010-1-huaqian.li@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-959203:519-21489:flowmailer Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Li Hua Qian The watchdog hardware of TI AM65X platform does not support WDIOF_CARDRESET feature, add a reserved memory to save the watchdog reset cause, to know if the board reboot is due to a watchdog reset. Li Hua Qian (3): dt-bindings: watchdog: ti,rti-wdt: Add support for WDIOF_CARDRESET arm64: dts: ti: Add reserved memory for watchdog watchdog:rit_wdt: Add support for WDIOF_CARDRESET .../bindings/watchdog/ti,rti-wdt.yaml | 13 ++++- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 11 +++++ drivers/watchdog/rti_wdt.c | 48 +++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-)