Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp339157rdb; Thu, 5 Oct 2023 07:29:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHlIagCDc3j/Yal5BAzjx+Xv8VCAZXkljGgGrjBVslybCyVQose6FEEyLhEJMTGa5AGFyc0 X-Received: by 2002:a05:6a00:3a16:b0:693:4143:5145 with SMTP id fj22-20020a056a003a1600b0069341435145mr5845159pfb.31.1696516155906; Thu, 05 Oct 2023 07:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696516155; cv=none; d=google.com; s=arc-20160816; b=Jy1wj5vmtQUVTsRMph/NG7tTAYw/3HBAJwvJvv3nyctBkZYjUya0xfrrp+9jNNKvtP dD9zn+x72yxR8EuhaTMoTjUdmwb4QT3p8y9d4kU+hZ0E4kwOyaz+8uN0sHBwEqPGldIv 5Kj0ynoZYx1R+pREPg1+Nw0yxWSd8JhDBHy2B5WmQIqHwLOcgi+hrx2Wfy5it3jHBDLO rxqZC7y/3XhF4+aPQaxIow9tjCbZo+6tni88ivRavFPpLO6c4fLmceQJ59vyoZMVn8Ka MOWdnE70tc2OW5ggUTx0D2dY8UeWVvGQI814xQ+NgQXbS4up5icAcu+5uE0zKQh4bt4O +93A== 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:dkim-signature; bh=14DahahFkQoOWdX47n8G7u6PeGawD3QEfTn/cdN7xE4=; fh=GdmkTvfKRRlOOfwJpZPKb2aCk8kgDyKB6mIkSpy8if8=; b=1CV5bmFI+4gUkTEi0krZvJ5CjiHL2vYK/RYGKYbdqPgGHuPCbQ+AaNnNusJzOdnbq7 2BG2pfMqKQ7y5smk+949vnAl0YVrsudfwpocjRZWYU6XhQoMFMIyzkYqprDQ9kIX0bE+ J2ifP/YYGyBhsTgZC9oYq6GQGhiG/ay6Rx13J7FCb2BSnlp9zFE3zcw1sVkQclTuOKfj Kg0YhyXxWT1oOoB324ICZhtUmX+dRPoxeuiwo/pM6YlHpCBvZyy2sEVscoIB7PT+JGWT Q5HCdL/0VhoRlbepvw05x/Twd/pv2BP5PLAntHXg5bvLyo3plXItLkWdycUlJNlFLyVt InXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dPHLynF6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id br8-20020a056a00440800b00690d42e334fsi1492887pfb.181.2023.10.05.07.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:29:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dPHLynF6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 1D9D981B4AD7; Thu, 5 Oct 2023 07:28:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232473AbjJEO1B (ORCPT + 99 others); Thu, 5 Oct 2023 10:27:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235521AbjJEOYu (ORCPT ); Thu, 5 Oct 2023 10:24:50 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA0E293CF; Thu, 5 Oct 2023 01:52:07 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3af5b26d599so514069b6e.2; Thu, 05 Oct 2023 01:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696495926; x=1697100726; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=14DahahFkQoOWdX47n8G7u6PeGawD3QEfTn/cdN7xE4=; b=dPHLynF6KzACCjRiQPP5uf3F31Uz5UrsNK98j0GNbYl9vLSo1wyRhCQ5g4biA9pBv7 JN+j21Nry6XIST/rp9h3cWUJshlwy9Th7aGfLFpSZxY+OF7dowSdt6IdwDhzTIYk7x5I NzesNXqac8gDZSEmX6+OBkxpvOGClVMI/Etw/A/PFr2zk6zc9t1LTTg+WShHKtFXmegG tJZ0G0nFsJ5VsxbmIMjqt3ccwUZ/bJLZdInYwEH2PO/vw8T+w+VD+aVBkS5pviMYFI55 V3nBBvqrUjp+LPjG9CKIeEkTxl+XZ6+8thLThFnvm7mAvZDRi67CqshyKsIYbBhy8PR4 hjwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696495926; x=1697100726; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=14DahahFkQoOWdX47n8G7u6PeGawD3QEfTn/cdN7xE4=; b=XLuKkxqfKRGpw7na9K9wQzFXyO99X8tgznM7nGByJxgb3/qiMP6Tlz0vkziNZCLwMt wJL5KgbxGLbM+MbBVCSu0U5jsr7HvzedZU/bfWnkly6UGqyj6EGCPNotlWT1uk0hx2Os +g95Jind8S75lZC2h4q5wtme26tApk3pIJgD6VCscyP4ZWhn96b4JqP8+08+mWS24vna s2VRmNEBXn673UWe09aWix0/GLVIAPNRMNC4kfCVoCJGIQHnN7Mh/Ps+M4DT5VH/e9jU LybQG0J8NWob4QTDxNgufAwrDoNAX/cDWxekdFELtt1wcbW+nWOHEFZD2+RcEXuDQdtl SLgA== X-Gm-Message-State: AOJu0YzQfI0EcxPwoZeAjC5k0xwVMQS+gdO+oLKR6nr4+Y9DL4mswbmO ibvE7QKutgmUFe1sbuBLxpvLFHEzHqym6A== X-Received: by 2002:a05:6358:e49e:b0:15c:e2c9:d1ca with SMTP id by30-20020a056358e49e00b0015ce2c9d1camr5664689rwb.1.1696495926581; Thu, 05 Oct 2023 01:52:06 -0700 (PDT) Received: from wenkaidev (118-163-147-182.hinet-ip.hinet.net. [118.163.147.182]) by smtp.gmail.com with ESMTPSA id z8-20020a17090a014800b00262eb0d141esm1092591pje.28.2023.10.05.01.52.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 01:52:05 -0700 (PDT) From: advantech.susiteam@gmail.com To: advantech.susiteam@gmail.com Cc: wenkai.chung@advantech.com.tw, Susi.Driver@advantech.com, Wim Van Sebroeck , Guenter Roeck , linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [PATCH 0/5] watchdog: eiois200_wdt: Add EIO-IS200 Watchdog Driver Date: Thu, 5 Oct 2023 16:51:18 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, 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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:28:58 -0700 (PDT) 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. Driver Features: - Complete support for the Advantech EIO-IS200 Embedded Controller's hardware watchdog timer. - Seamless integration with the Linux Watchdog framework, enabling standard watchdog functionality. - Flexible configuration options for watchdog timeout and event types. - Module parameters for setting default timeout and event type. - The EIO-IS200 can select special event output pin such as PWRBTN (Power button),SCI (ACPI System Control Interrupt), IRQ, and GPIO Driver Dependencies: - The driver relies on the Linux Multi-Function Device (MFD) framework and related dependencies. - Assumption of the presence of the Advantech eiois200_core MFD core driver. Wenkai (5): watchdog: eiois200_wdt: Constructing Advantech EIO-IS200 watchdog driver watchdog: eiois200_wdt: Add PMC support with eiois200_core. watchdog: eiois200_wdt: Implement basic watchdog functionalities watchdog: eiois200_wdt: Enhanced watchdog functionality and pretimeout watchdog: eiois200_wdt: Enhanced IRQ trigger behavior drivers/watchdog/Kconfig | 14 + drivers/watchdog/Makefile | 1 + drivers/watchdog/eiois200_wdt.c | 658 ++++++++++++++++++++++++++++++++ 3 files changed, 673 insertions(+) create mode 100644 drivers/watchdog/eiois200_wdt.c base-commit: 9aab92bc3a8922d4b2e24d10271dfe3034cbf5c2 -- 2.34.1