Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1953957rwb; Thu, 17 Nov 2022 04:41:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Rtx75rBaVUdmZaClFvOerKWYq0v6zwK6vRjrW2DBhkHJZRXvp6JAMei8TGnzyo8oRoICO X-Received: by 2002:a17:90a:bf13:b0:209:8dc1:fdbd with SMTP id c19-20020a17090abf1300b002098dc1fdbdmr8698272pjs.46.1668688883624; Thu, 17 Nov 2022 04:41:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668688883; cv=none; d=google.com; s=arc-20160816; b=QcBWPVnA1NoCwKYCbwpIjXgn3Y8bmGwSsxfkq4k/+Nq181qtqseY6Slj446PJC1S3Y 4YP3xDVuc1CVFkLVEhK4zpx47wPmNlQ1Hu36xAvqf5RLuD1F+slAqg1RIjN+n7Vp3p75 AVeuIst7Q83Zw8/ty/KMiIXW5Z9zX7tGVwd33AAyDnlEM0i5NWFfZ58dOzzu9ljzkgWz yGQX+TAmOtd6Or4rtXHUEtIMt82HvX8qBC4lg+LzN/VpsOpbdpKQ0bQxSomBPmrajup+ nGzYCaFeDO7Gh73uacL2JX6//o8EOsi2D6vfOYFxC1S7X6NYej77yNPn6O/PL2ibDeOX o2tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=3OKLnmajaataiHzhgJadU5xvv0Mnm9CXdIXWwhDmXEs=; b=xGX+es0dOv9A6BlnVNuPKqR6bwpKdr32HvVHxVlEpwV8sm32EXc+8tVjksYjh3j+HS oHH5jN3BF/9+EBaRokjzDpYttoz7wSwtHSisKjWNFFQ8fZfDfz5He9dNOoU5zS8LztV0 OKnIZhzzpi6KZNwMkKeRqN7hxqrLyKXRcIkKIy7kM2flH4CwWBCzFtz5kUYtkDjdwKEL /C1Nz9/6HsEQhVyskge/gYydiNw7RK7tm5Zh7ejR7DvxWAK144imoyu1MRUFZd2CQWf4 VHyTkIcfqJzo2vCm2VV2gaOg7mqvnBFbA31KGOSahINMECkmqFBOoQJRfbQUzPQs2kiK s2jA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a056a00140d00b0056783062eaasi911020pfu.23.2022.11.17.04.41.12; Thu, 17 Nov 2022 04:41:23 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239749AbiKQLtx (ORCPT + 92 others); Thu, 17 Nov 2022 06:49:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239943AbiKQLtX (ORCPT ); Thu, 17 Nov 2022 06:49:23 -0500 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EB14A317C3; Thu, 17 Nov 2022 03:49:15 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.96,171,1665414000"; d="scan'208";a="142991195" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 17 Nov 2022 20:49:15 +0900 Received: from mulinux.example.org (unknown [10.226.93.80]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 4C63040031D7; Thu, 17 Nov 2022 20:49:11 +0900 (JST) From: Fabrizio Castro To: Wim Van Sebroeck , Guenter Roeck , Philipp Zabel , Geert Uytterhoeven Cc: Fabrizio Castro , Biju Das , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Jacopo Mondi Subject: [PATCH 0/2] Reset related fixes for rzg2l_wdt Date: Thu, 17 Nov 2022 11:49:05 +0000 Message-Id: <20221117114907.138583-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 Dear All, this series addresses a couple of issues found with the rzg2l_wdt driver: 1) on the RZ/Five SoC it was observed that changing the timeout wouldn't reset the system as expected 2) on the RZ/V2M SoC it was observed that calling into the restart callback from the reboot command wouldn't reboot the system straight away As it turns out, the RZ/Five watchdog IP requires the module clock to be supplied during a reset. On RZ/V2M, a specific procedure has to be followed to reset the watchdog IP. This series comes with two patches, one to fix the problem affecting RZ/Five, and one to fix the problem affecting RZ/V2M. Thanks, Fab Fabrizio Castro (1): watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M Lad Prabhakar (1): watchdog: rzg2l_wdt: Issue a reset before we put the PM clocks drivers/watchdog/rzg2l_wdt.c | 45 +++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 6 deletions(-) -- 2.34.1