Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp255200rdb; Fri, 6 Oct 2023 02:28:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNOwlT0M92mNZIeiJaQtmF7G+dhxTdkMRb8TdwN9aRUvJH7n/zMSCoOcwl0kQZCgAp5vIf X-Received: by 2002:a81:4917:0:b0:5a1:d11e:b754 with SMTP id w23-20020a814917000000b005a1d11eb754mr8092828ywa.26.1696584487555; Fri, 06 Oct 2023 02:28:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696584487; cv=none; d=google.com; s=arc-20160816; b=yAbtm79+BtP2C8Ea/IzuNT3SQ0pNovKEmhZLRJ5XbTJMUeOByKiI/1TiVhNLc8F9Ws 2BWg1URdiPQZ/p1vw2XS/YloDO18MpaOJDCpICHkyJ95TtqdqjV7/uPgxVi9yRjUq7c/ AsVF+YgLW/qbs4u1ehHqQ2UyGKR8NayV8I97Si54g6bKIQz3h/eTU4v8G+0hgMrMZ39+ hLhRM5M9g4Pq3e9azj1eLdoWrpF9uj7MKddmS006yz2/EoZldKJXrqYCpTSw+c3tjfig J5OYAW1jOHA1nwAC+AadnQw9X9Z/kOmbVFZrR201iO8pNGpJY7WtVIxc/C87UREJds50 pHvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qd8PELAk6On3fpApQm8hLN5EGlr4n91DxF8C8aXw5Uk=; fh=XNFwXWUzjZfsZSBwSU4xXjpl3rQ7kRdvevN0OOHfTo8=; b=tmY7XWn6jMto3zf5fm+CQd3wAvOtl+rPxIHkL6W4bon6UHqsycS0PsH2eMxFHVZcjp xcQEfsJyWRzz55DqWVJYd2ZgxC/BwJ2uCCcFqWicYcoSbyaE9YBR5f9BLklF0njGInha gZSuR14DjZyMjsa9+bQ/KvwddthdQG9Cfa1xNO3k5QXipQFUs0g0OH0Ye29tZMGGdI1S dwzKBv2++Db7BtTGhbGXmn/Cb0decZPLOPO0iF7Y/OJSHxQka6M+v2iNIdLY3F1Yv/TY xNc5x6c4C+3SoJ63hokBTBlxy5AMa7tt0OU64l9Xjh/MaBAywhuaH05u84UeLojSYU2+ 7jjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=P9Nl687R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id bv71-20020a632e4a000000b00565eb0b4f33si3260001pgb.224.2023.10.06.02.28.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 02:28:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=P9Nl687R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 17728808BD28; Fri, 6 Oct 2023 02:28:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231331AbjJFJ1y (ORCPT + 99 others); Fri, 6 Oct 2023 05:27:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbjJFJ1x (ORCPT ); Fri, 6 Oct 2023 05:27:53 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B9C895; Fri, 6 Oct 2023 02:27:51 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1c735473d1aso14932225ad.1; Fri, 06 Oct 2023 02:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696584471; x=1697189271; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qd8PELAk6On3fpApQm8hLN5EGlr4n91DxF8C8aXw5Uk=; b=P9Nl687RnKNOMgNwaDAya9QiCOKu7pLhhheuZkVnL3OtkN8bAGi/VtVLvB6sFmJtl3 LF8Y5KCSm7CRz1itGXPBgr1aN1aMou4ZbRbFNYM/zyDKMVLWH649lPR52dAuaW4hK6Ez RA8c6duxCDvPGozL2i8ojJtqc4uWBsT56nP27ploFvig312ce9n095v9I+/cD4hRdUfD dySlGxHTmeiXz28yJh6k8yFtOelO+hlXYaQEkQAWN9T7mdiUjgxXm3jNZjnBa+XbaUJa 3/Uir4c4jVZnxDk7Hd/XmycpDt6T28evHauvaTm9Q4fWQ31oaKekU4YIc6v5OMCrVOth FzJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696584471; x=1697189271; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qd8PELAk6On3fpApQm8hLN5EGlr4n91DxF8C8aXw5Uk=; b=NlVj9SaiUK5AQQO4B2yHFLJ/33YCdThaMdSo7dcXFK2nXy3PU8X7GnGsMEkTT6A75d m2EHrZkLQmq4ULwQq3i8oqy7PEUG3dZjUPSLa8ud1xHd9iNzkxWdBxAyvk1fawCETN3K jlrrYQptOF8Nv1U76PvtACHzALmyErmaxJW5Hf+RZ3F0VMBXIuCbO6mCa/77BHTr/cEV LT4o2RFuPvEjKktnj+IBZquurbOFsM+iB4WeSWRCK/iJyKtxMQsZ9oob5woA1kUBwWK4 LPAQsEGZQkgdXSfB1uHzPVWX8JFrXiXD+gw1rCbSmcefBmeK3/ZHuFgv6WHx1Mrjz94f pAHw== X-Gm-Message-State: AOJu0YxdFmTmegmPDg0tvgQHWXiY6dq7cYDHE1A3fNtoClxL7KKrgHBA PvFIRrZ1B168oNVb4SH7JyE= X-Received: by 2002:a17:902:7790:b0:1c4:56c8:27f8 with SMTP id o16-20020a170902779000b001c456c827f8mr6052803pll.68.1696584470813; Fri, 06 Oct 2023 02:27:50 -0700 (PDT) Received: from [172.22.12.30] ([123.51.235.123]) by smtp.gmail.com with ESMTPSA id f8-20020a170902ce8800b001c76fcccee8sm3303741plg.156.2023.10.06.02.27.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Oct 2023 02:27:50 -0700 (PDT) Message-ID: Date: Fri, 6 Oct 2023 17:27:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 0/5] watchdog: eiois200_wdt: Add EIO-IS200 Watchdog Driver To: Guenter Roeck Cc: wenkai.chung@advantech.com.tw, Susi.Driver@advantech.com, Wim Van Sebroeck , linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org References: Content-Language: en-US From: Wenkai In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 02:28:03 -0700 (PDT) Guenter Roeck 於 10/6/2023 11:02 AM 寫道: > On Thu, Oct 05, 2023 at 04:51:18PM +0800, advantech.susiteam@gmail.com wrote: >> From: Wenkai >> >> This patch series aims to add support for the Advantech EIO-IS200 >> Embedded Controller's watchdog timer to the Linux kernel. The EIO-IS200 >> is a widely used embedded controller, and this series introduces a >> native driver for its watchdog timer functionality within the Linux >> ecosystem. >> > I am not going to review this patch series. This is just ne watchdog driver. > One patch is sufficient. > > Guenter Hi Guenter, Advantech's EIO-IS200 watchdog supports 5 output pins: RESET, Power Button, SCI, IRQ, and GPIO. The most traditional scenario is that the Pretimeout triggers IRQ, and the timeout triggers RESET. However, unfortunately, for industrial usages, there are various use cases, which require certain mechanisms and logic to manage which signal is output when Pretimeout and timeout expire. I am concerned that consolidating all these features into a single patch for upstream may lead to confusion and make the source code less readable and understandable. Therefore, I have divided the implementation into 5 separate patches, aiming to make the code more comprehensible and acceptable. If it's acceptable to you, I am more than willing to provide a single patch as per your preference. I would also like to note that this watchdog driver is part of the EIO-IS200 MFD (Multi-Function Device) driver family. It serves as one of the child-drivers of the drivers/mfd/eiois200_core core driver. It's important to mention that without the presence of drivers/mfd/eiois200_core, this child-driver eiois200_wdt cannot be compiled or used. Should we wait until the core driver (drivers/mfd/eiois200_core) is successfully incorporated before upstreaming the watchdog child-driver, or would you prefer to proceed with these patches independently? Best regards, Wenkai