From patchwork Fri Sep 4 21:16:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanspeter Portner X-Patchwork-Id: 258982 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=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, 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 41F0FC433E2 for ; Fri, 4 Sep 2020 21:17:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB5A2208C7 for ; Fri, 4 Sep 2020 21:17:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728001AbgIDVRb (ORCPT ); Fri, 4 Sep 2020 17:17:31 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:60625 "EHLO wout1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727923AbgIDVR3 (ORCPT ); Fri, 4 Sep 2020 17:17:29 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5C5EEAFB; Fri, 4 Sep 2020 17:17:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 04 Sep 2020 17:17:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= open-music-kontrollers.ch; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=fm3; bh=peUDp0pNQ6Mbe/9IFdEaUL4hm+A5G2i/KNTyI2Pd8c8=; b=elaUB 5TXc6pRBZH3Jg71IsUECbR3LTfcqidjYvD2ufkHvUbw/Zv6qUM07zB0YX/koPtEf V7eDlAUcY15hlyIq9laAYCT4ksmqY7mSXYLMOwI65y6Ck5DQhQbniKjKj5DfkfrE JeQZYS3t1sV5WL6o9bMV0wk2mkpC0ZdWi/j3KKWdlMXDnb2Yl8lag11zZnqpPpvM lQ7JqGqCeQlGFPwfrRoYfqmmfFw5gDqNFcGnlj9hZ2ScZGb54iUGb9a157bP8kF6 4RRIEEYYtFyG5pi/6W9P6u8qpzqnDjV211D8QCcBAxIM6rDfz1iMMqWo8Eg8Vs0m Li+XNNlalYoiluWiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=peUDp0pNQ6Mbe/9IFdEaUL4hm+A5G2i/KNTyI2Pd8c8=; b=Q3VdN5qZ XBFIQ5q8uFVjX0uRx/SATV7b7aDUZj6m/lhlPrixKSUgXaA4g7ppUI9W1Rzz+UG3 73rhM0Imu4HKTKHwIFqmhU0aZwUKZSyT6fZXhBDWb5GJvb2qlpErnbaXe3gKwACZ 8vwVGFxEyCF+Y0ZBqGng75TjlHABBXSajHwxXzKVxQEcj8OiRHjUN9ECz40k/C26 iBAosygg0b+bY324V1nuIGslo6o6hHNyurqV30IGTplLG/8gNKDf9mfB6eDBzfwT wHoJBWFTDlgeJEBk1mW4vQHr/PT9iFcDwHK1CtEcVsJyvWJAovc2x6Q1yInsOHik ZrpfDWn6KqEngw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegfedgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefjrghnshhpvghtvghrucfrohhrthhnvghruceouggvvhes ohhpvghnqdhmuhhsihgtqdhkohhnthhrohhllhgvrhhsrdgthheqnecuggftrfgrthhtvg hrnhepteeugfdvgedvhfejvdevgfffteekueethefhjeevfffgkeejjeefveffveevgfej necukfhppeegiedruddvjedruddtledrieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpeguvghvsehophgvnhdqmhhushhitgdqkhhonhhtrhho lhhlvghrshdrtghh X-ME-Proxy: Received: from localhost.localdomain (46-127-109-6.dynamic.hispeed.ch [46.127.109.6]) by mail.messagingengine.com (Postfix) with ESMTPA id 0DA00306005F; Fri, 4 Sep 2020 17:17:25 -0400 (EDT) From: Hanspeter Portner To: wim@linux-watchdog.org Cc: linux@roeck-us.net, linux-watchdog@vger.kernel.org, dev@open-music-kontrollers.ch Subject: [PATCH 2/2] watchdog: it87_wdt: add IT8784 ID Date: Fri, 4 Sep 2020 23:16:39 +0200 Message-Id: <20200904211639.18787-2-dev@open-music-kontrollers.ch> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200904211639.18787-1-dev@open-music-kontrollers.ch> References: <20200904211639.18787-1-dev@open-music-kontrollers.ch> MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org IT8784 watchdog works as in IT878x Tested on SHAREVDY K10 board. Signed-off-by: Hanspeter Portner Reviewed-by: Guenter Roeck --- drivers/watchdog/it87_wdt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/it87_wdt.c b/drivers/watchdog/it87_wdt.c index 2dac0ba551ce..2b4831842162 100644 --- a/drivers/watchdog/it87_wdt.c +++ b/drivers/watchdog/it87_wdt.c @@ -15,7 +15,7 @@ * Support of the watchdog timers, which are available on * IT8607, IT8620, IT8622, IT8625, IT8628, IT8655, IT8665, IT8686, * IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726, IT8728, - * IT8772 and IT8783. + * IT8772, IT8783 and IT8784. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt @@ -68,6 +68,7 @@ #define IT8728_ID 0x8728 #define IT8772_ID 0x8772 #define IT8783_ID 0x8783 +#define IT8784_ID 0x8784 #define IT8786_ID 0x8786 /* GPIO Configuration Registers LDN=0x07 */ @@ -297,6 +298,7 @@ static int __init it87_wdt_init(void) case IT8728_ID: case IT8772_ID: case IT8783_ID: + case IT8784_ID: case IT8786_ID: max_units = 65535; break;