From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8267CC4332F for ; Sun, 27 Nov 2022 23:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dzOJhI03GyuCAPeTCrrOXkOzD30qdDRPzobKHN5LNPE=; b=Y0m+BllJiiUxK6 DvLkFoX3xJsFhltYkz4nlsV9T2WzOJU5Z49X7WjTg/fPSCZtxLBy4ejexi3erIMIoWAb0uHpaw4NG rzDNVFBXh37lM94kVvGiusGLDSJ0M0mCfMlH3n9Scook8t5BFom+7PxicqHlZ9AjcFDMfLtupVKfL wTzFUrM+hesxhtOLB5glN86UZadB69DXMJBCIGM67C53Nl+jTWzuD3I5cwBXw8KOhXgtZNhRjpnIl Ow9Zhe8bSG+UK/GBE43nCuNUxPqd4Dn8tXm5Psp+ywqKthUpHVwaP/36O/mz/eZpVnuuZkG9QVReh is2hKSecS7ez9etFqbCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozRHn-00EDlF-TE; Sun, 27 Nov 2022 23:42:11 +0000 Received: from relay10.mail.gandi.net ([2001:4b98:dc4:8::230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozRHk-00EDio-6k for linux-arm-kernel@lists.infradead.org; Sun, 27 Nov 2022 23:42:10 +0000 Received: (Authenticated sender: gregory.clement@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 10D24240003; Sun, 27 Nov 2022 23:42:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669592523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vr+0RXVT0QhN4P9EN7mtZrpAeJNmfR3sW3a2tBYH+zY=; b=VJ8yTG47eVHgrCKk0a0PLYmFtgDwmiO66UH27wdkk6Pa6HQMWkpiETpjIPZbb/xpJrSSDT 95r+xqZHOHXqvHWEz8V2FE/d6TtsIjlNvtQY7tjOetcdgsP2heQZ041+rJD4U7Qw8gHtFl +5LAOzGY/D45zyIRRb/IlCorsTF6uqdZrMLNFMfFAKf4AmtRkakdBpfm3jOXPmFPHmPegF jsY267+Exm06COkQ3afJxRm44zIQoCtX1xoJUxpS07cNidzwBzaeMtUnxjJWAYZEL+r/a7 DaCjO18yF/tWdSH0xQU89Ne3SLlcVIesSdnCcaCZQ51zdnlZHfKsMeKLw+AJQQ== From: Gregory CLEMENT To: Chris Packham , "andrew@lunn.ch" , "robh+dt@kernel.org" , "wim@linux-watchdog.org" , "linux@roeck-us.net" Cc: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , Sebastian Hesselbarth Subject: Re: [PATCH 1/2] ARM: dts: armada-xp: add interrupts for watchdog In-Reply-To: <0308a842-efcb-d4a0-f17c-2b0bf12c9dfb@alliedtelesis.co.nz> References: <20220211003257.2037332-1-chris.packham@alliedtelesis.co.nz> <20220211003257.2037332-2-chris.packham@alliedtelesis.co.nz> <87o839jw4p.fsf@BL-laptop> <0308a842-efcb-d4a0-f17c-2b0bf12c9dfb@alliedtelesis.co.nz> Date: Mon, 28 Nov 2022 00:42:01 +0100 Message-ID: <87fse49d86.fsf@BL-laptop> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221127_154208_584046_85FE4B49 X-CRM114-Status: GOOD ( 17.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Chris Packham writes: > Hi Gregory, > > On 15/02/22 04:39, Gregory CLEMENT wrote: >> Hello Chris, >> >>> The first interrupt is for the regular watchdog timeout. Normally the >>> RSTOUT line will trigger a reset before this interrupt fires but on >>> systems with a non-standard reset it may still trigger. >>> >>> The second interrupt is for a timer1 which is used as a pre-timeout for >>> the watchdog. >>> >>> Signed-off-by: Chris Packham >> Acked-by: Gregory CLEMENT >> >> To keep bisectability this patch should be merged after the driver >> patch. >> >> Thanks, >> >> Gregory > > The driver changes were merged a while back. Looks like your intention > was for this to go in via the watchdog tree but that never happened. > Could you take it through your tree now? Probably won't be until 6.2 now > but that's fine. Applied on mvebu/dt64 Thanks and sorry for having missing the fact that it was not applied. Gregory > >> >>> --- >>> arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 1 + >>> arch/arm/boot/dts/armada-xp.dtsi | 1 + >>> 2 files changed, 2 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi >>> index 38a052a0312d..0e561dfc0ca9 100644 >>> --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi >>> +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi >>> @@ -286,6 +286,7 @@ &watchdog { >>> compatible = "marvell,armada-xp-wdt"; >>> clocks = <&coreclk 2>, <&refclk>; >>> clock-names = "nbclk", "fixed"; >>> + interrupts = <93>, <38>; >>> }; >>> >>> &cpurst { >>> diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi >>> index 6c19984d668e..4297482da62f 100644 >>> --- a/arch/arm/boot/dts/armada-xp.dtsi >>> +++ b/arch/arm/boot/dts/armada-xp.dtsi >>> @@ -260,6 +260,7 @@ &watchdog { >>> compatible = "marvell,armada-xp-wdt"; >>> clocks = <&coreclk 2>, <&refclk>; >>> clock-names = "nbclk", "fixed"; >>> + interrupts = <93>, <38>; >>> }; >>> >>> &cpurst { >>> -- >>> 2.35.1 >>> -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel