Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36560795rwd; Tue, 11 Jul 2023 02:39:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlHPX8K4/Lzp3M2lVRT4sdskxK5uQljF2q0ldFJPdpEQcp0whJHOS1JxC8EiJeTIRJQVsjkM X-Received: by 2002:a05:6a20:9184:b0:131:3598:f4e7 with SMTP id v4-20020a056a20918400b001313598f4e7mr7918546pzd.33.1689068361552; Tue, 11 Jul 2023 02:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689068361; cv=none; d=google.com; s=arc-20160816; b=cxNUAM0ecMeCctFsyX6FPz82S2uDPEJA4RDsxIwHSfiEA7H7sswAbpZKF9mONGWSNl n20lSzlyIVydzAdXDC45E1UxJC/gnndbLtVKkYk4M9/EEd2HD/YVPHLo4v5HEHUzBXux Y+lUtHvUwWFMRUdTaM1L6L1p92Cx8ZXpgBMGaTdj7dVHXemamd1ePUmHtoK3rq1CIgi5 ufCTJEJfUlQtoMetoktlP3dECtidppKax0aI+4gXOq51oixfqQTfDCBcEoCP+aHpdsZy MxVGwZqyyiJyMbPZdstR9pyfFf3nhppjXIXRMna8aZG0jfXO3X66B5avTKHenxHXJ1Un wJog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=YngbMRZ+I71xx4c0Kbc0TTwPMq+UjMpwaQWK/OE0Vi0=; fh=26ARdFcEfuUFW5W2UBjFkMA4idoTK1yPd3wFZD9VxgA=; b=iNuESDV7+fCwtVaZp9NMl5RKs3S530dtzaUXKFEIbQ8hrSipRKmLBJmAkAjej9ICoo SxCnWye34I7/EaLzVRydavr7pfHPTC45f/CtOPlJF8CF+0mKTVMe3aeuvkKeMkwq8i9m LlvXTpAGryHfXg9+nNhdl8m/qJOckfTXoqwT5oUH71l2qH4/lxp3Uxqn66Q5poIczCXT v5kg09BNEAk3HdvYBB+AZjr+Q/f93rtSEsDFzkdMlEzHHRRuYYERRUAsb232OFg6a2jP mhr9spWyy+J7PU20y7RlXiLC60ajBTor4Ft40BuoOytBYCf307NUJvDwlV5VZyfmiZRi QmHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bEGzPCEP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r20-20020a170902c61400b001b9ea60cd8bsi1300236plr.332.2023.07.11.02.39.08; Tue, 11 Jul 2023 02:39:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bEGzPCEP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231702AbjGKJVL (ORCPT + 99 others); Tue, 11 Jul 2023 05:21:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231585AbjGKJUr (ORCPT ); Tue, 11 Jul 2023 05:20:47 -0400 Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net [185.136.64.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F9E171E for ; Tue, 11 Jul 2023 02:17:37 -0700 (PDT) Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 20230711091734882e41a6eec986961d 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 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-959203:519-21489:flowmailer X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.34.1