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 X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06352C43381 for ; Tue, 5 Mar 2019 20:19:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C835220842 for ; Tue, 5 Mar 2019 20:19:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="V9ebDC2Q" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728690AbfCEUTl (ORCPT ); Tue, 5 Mar 2019 15:19:41 -0500 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:55861 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728447AbfCEUTf (ORCPT ); Tue, 5 Mar 2019 15:19:35 -0500 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id A9B7A886B5; Wed, 6 Mar 2019 09:19:32 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1551817172; bh=QPhOGYHWxwP2qJ67Ti8eiHu3rNsWIWCJOgj1xDg1Gyo=; h=From:To:Cc:Subject:Date; b=V9ebDC2Qww/4gxrERCrI4n+SW/fXgshrNFGS8kSnLcPyLadj9HMiylDkWN8qL1ePE BdtQrlSXGXsDiFcbpOJeaeF8vXqTWo9Otdb+r2XJ+McTvvsZACgL9DL484+238UR9U lxCv4d8qfLQKaAONuCnV7z239uEOlSjbtqs45cJQKKfmdW+LxC/sv/g0UGpBtAoaHW nEo2uVIJ64zUDusGtFwwu2/ShCPR7I3C+Sm9B8bKUADsq8Jg4qCATGULnxZJTp1rRt LtWFg2u6SmBauyrDfJbKS9iYNNxNgfBfHNSICUExS+GY6CVDhVq4V9uizlya52lo1R Aeki69c+EMdvA== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Wed, 06 Mar 2019 09:19:32 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id A05AC13EF3B; Wed, 6 Mar 2019 09:19:32 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 66DF01E1D96; Wed, 6 Mar 2019 09:19:32 +1300 (NZDT) From: Chris Packham To: jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, linux@roeck-us.net Cc: linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH v2 0/3] watchdog: orion_wdt: add pretimeout support Date: Wed, 6 Mar 2019 09:19:21 +1300 Message-Id: <20190305201924.14853-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It appears that the kernel has only ever used timer0 on the armada platfo= rms so timer1 appears to be spare on these. Timers 2 and 3 are also free which c= ould be used if it is deemed that timer1 should be kept for some other purpose= . Chris Packham (3): ARM: dts: armada-38x: add interrupts for watchdog watchdog: orion: remove orion_wdt_set_timeout watchdog: orion_wdt: use timer1 as a pretimeout Changes in v2: I've reduced this to just touching the Armada-38x. It would probably also work on Armada-XP just by adding the appropriate interrupt nodes to the dts. I don't have access to the Armada-370 datasheet but it'd likely work there as well.. arch/arm/boot/dts/armada-38x.dtsi | 2 + drivers/watchdog/orion_wdt.c | 67 +++++++++++++++++++++++-------- 2 files changed, 52 insertions(+), 17 deletions(-) --=20 2.21.0 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 X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA3EAC43381 for ; Tue, 5 Mar 2019 20:20:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B7B8120675 for ; Tue, 5 Mar 2019 20:20:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V39+mKO0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="V9ebDC2Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7B8120675 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alliedtelesis.co.nz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=Tft8j6rDewtRAdHlPXrKy5pXNHr3hzWMGjCUGhCWK88=; b=V39+mKO05e9Hol 99IKGoIgEAlyIYse79ihypEgBdL2Kw4hh4xJiZf3eTkfVFlmV+ZilP3ZvsBKeVnDuLoQho2FxmerC aUeRy3o+NkETna7jSv9uqtW87oFrEvDZA2sEInXyGto8MboqgSinhPY5ZG+LoRqUBsr5NPI6EqvvV GinzFbA76F4YsARt7Da0/G9srAN9UCE8Aq/BlV+Rf57I8z7U67muIGsHb4QkKXlZkfeacLT+UkmlE vMeP4xlSi2U5MCnTaC9IDoZisjikUsToacahVDULF7oJUSWINjRTw/WQpPwwfbaePzoOJOGxyislI w+UR2L5vZrq9XO0UjrxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1GXy-0006Zb-1y; Tue, 05 Mar 2019 20:20:18 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h1GXV-0004qC-Gs for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2019 20:19:52 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id A9B7A886B5; Wed, 6 Mar 2019 09:19:32 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1551817172; bh=QPhOGYHWxwP2qJ67Ti8eiHu3rNsWIWCJOgj1xDg1Gyo=; h=From:To:Cc:Subject:Date; b=V9ebDC2Qww/4gxrERCrI4n+SW/fXgshrNFGS8kSnLcPyLadj9HMiylDkWN8qL1ePE BdtQrlSXGXsDiFcbpOJeaeF8vXqTWo9Otdb+r2XJ+McTvvsZACgL9DL484+238UR9U lxCv4d8qfLQKaAONuCnV7z239uEOlSjbtqs45cJQKKfmdW+LxC/sv/g0UGpBtAoaHW nEo2uVIJ64zUDusGtFwwu2/ShCPR7I3C+Sm9B8bKUADsq8Jg4qCATGULnxZJTp1rRt LtWFg2u6SmBauyrDfJbKS9iYNNxNgfBfHNSICUExS+GY6CVDhVq4V9uizlya52lo1R Aeki69c+EMdvA== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Wed, 06 Mar 2019 09:19:32 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id A05AC13EF3B; Wed, 6 Mar 2019 09:19:32 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 66DF01E1D96; Wed, 6 Mar 2019 09:19:32 +1300 (NZDT) From: Chris Packham To: jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, linux@roeck-us.net Subject: [PATCH v2 0/3] watchdog: orion_wdt: add pretimeout support Date: Wed, 6 Mar 2019 09:19:21 +1300 Message-Id: <20190305201924.14853-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190305_121950_451741_156D13F9 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chris Packham , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org It appears that the kernel has only ever used timer0 on the armada platforms so timer1 appears to be spare on these. Timers 2 and 3 are also free which could be used if it is deemed that timer1 should be kept for some other purpose. Chris Packham (3): ARM: dts: armada-38x: add interrupts for watchdog watchdog: orion: remove orion_wdt_set_timeout watchdog: orion_wdt: use timer1 as a pretimeout Changes in v2: I've reduced this to just touching the Armada-38x. It would probably also work on Armada-XP just by adding the appropriate interrupt nodes to the dts. I don't have access to the Armada-370 datasheet but it'd likely work there as well.. arch/arm/boot/dts/armada-38x.dtsi | 2 + drivers/watchdog/orion_wdt.c | 67 +++++++++++++++++++++++-------- 2 files changed, 52 insertions(+), 17 deletions(-) -- 2.21.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel