From patchwork Tue Nov 3 08:47:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1392715 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MdZTK4cV; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CQNhs3q5Cz9sT6; Tue, 3 Nov 2020 19:47:56 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1kZrym-0004Q9-OS; Tue, 03 Nov 2020 08:47:48 +0000 Received: from mail-pf1-f196.google.com ([209.85.210.196]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kZryl-0004Pv-2X for kernel-team@lists.ubuntu.com; Tue, 03 Nov 2020 08:47:47 +0000 Received: by mail-pf1-f196.google.com with SMTP id y14so13567086pfp.13 for ; Tue, 03 Nov 2020 00:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=sWQ2N7kZ9/5VY9EIx6ZGuzjvHHlP1X8svoNL4jgQFW0=; b=MdZTK4cVUSaOdHZonpY6iUGuS2odHKovVT68aweRWLGqNorjXKfEoAPpOpvDb/pSX1 gTzxXmakNj8Y4/5GggK2WCWtwhaM5i058jQaJ6VVKvicbPX7/op2DurpVkOedjOj4ufC Fj66kgPj6XT/GuVDf5hwy57nDYfoe6pd0628T6H/RJ2VxRMx2WSvj7rUqYlIdyQ0Tqxq 4rTfxf4qhciRDclRrCE8ZgYPkz2+epAp6nTAcxiscHk828DBnCZWpYLBH5z13eF75/qF wi/qQ+Tkh95zIXJ2iViIUytKQkv10EUQDZIlmAVzW9cAfD9u9jTK/Ui3aQnrOG5Bmx26 DqEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=sWQ2N7kZ9/5VY9EIx6ZGuzjvHHlP1X8svoNL4jgQFW0=; b=kuNqwzBwG2scYnan+GN5dT0q8fL70ClD8eqbDN+iM3LekBhgXcb7fDgSq6F20JJ+Gb YMqCPkKkH+gqrLnJL/8mNNsZMdBs8oiu48LaK20Abs+RBXPqrzwiP+sRKR7WHmYnhn7X SlUnueLkyaJ134pmjZl69pK7RJlf/ltG8XZQZjBXgs+JdWSUUAr8QecIHMPOI76DxzN6 NQr2qoyLUBNt5aXe9n6AbueKxGtINeBzHpLr/MHblL/dcxMUJqTC/lZznYBXy81gPBet k/Y4iYXSF92LcD3jZcNeAJRohjlPD/IRaQcSBngkenw1dFefnkNd7Mx5l4T/y/r1kK81 h6rg== X-Gm-Message-State: AOAM5305u3J0CottM4uWjWFsCie1rUl1vTRgII9iQWGTRYRyc0fECICl L7E426us5SvaVhPYvrUTmch3p4adOCs= X-Google-Smtp-Source: ABdhPJwPBLydSzokC07rYATdthr3B5j7OD44NVH5eelyZCQ++rqwkHH3piWRWMjs8gXUM+z9BgXYYA== X-Received: by 2002:a62:5f83:0:b029:18a:e039:4908 with SMTP id t125-20020a625f830000b029018ae0394908mr9823804pfb.23.1604393264875; Tue, 03 Nov 2020 00:47:44 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id m129sm16765798pfd.177.2020.11.03.00.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 00:47:43 -0800 (PST) From: AceLan Kao To: kernel-team@lists.ubuntu.com, "Shihlun . Lin" , "Campion . Kang" Subject: [PATCH 0/6][SRU][F] Support Advantech UNO-420 platform Date: Tue, 3 Nov 2020 16:47:36 +0800 Message-Id: <20201103084742.56740-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.210.196; envelope-from=acelan@gmail.com; helo=mail-pf1-f196.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1902672 [Impact] There are some drivers are required to enable Advantech UNO-420 platform. [Fix] Advantech is submitting their drivers to upstream for review, and considering that the patches are new drivers, it should be safe pull them back to ubuntu kernel. https://lkml.org/lkml/2020/10/29/342 [Test] Verified on Advantech UNO-420 platform. [Regression Potential] Low, those commits create 3 new drivers, and doesn't modify any existing driver code. Should introduce no regression. Shihlun Lin (6): UBUNTU: SAUCE: MAINTAINERS: Add Advantech embedded controller entry UBUNTU: SAUCE: mfd: ahc1ec0: Add Advantech EC include file used by dt-bindings UBUNTU: SAUCE: dt-bindings: mfd: ahc1ec0.yaml: Add Advantech Embedded Controll - AHC1EC0 UBUNTU: SAUCE: mfd: ahc1ec0: Add support for Advantech embedded controller UBUNTU: SAUCE: mfd: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller UBUNTU: SAUCE: mfd: ahc1ec0-wdt: Add sub-device watchdog for Advantech embedded controller .../devicetree/bindings/mfd/ahc1ec0.yaml | 76 + MAINTAINERS | 11 + drivers/mfd/Kconfig | 21 + drivers/mfd/Makefile | 3 + drivers/mfd/ahc1ec0-hwmon.c | 1514 +++++++++++++++++ drivers/mfd/ahc1ec0-wdt.c | 502 ++++++ drivers/mfd/ahc1ec0.c | 1419 +++++++++++++++ include/dt-bindings/mfd/ahc1ec0.h | 29 + include/linux/mfd/ahc1ec0.h | 338 ++++ 9 files changed, 3913 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ahc1ec0.yaml create mode 100644 drivers/mfd/ahc1ec0-hwmon.c create mode 100644 drivers/mfd/ahc1ec0-wdt.c create mode 100644 drivers/mfd/ahc1ec0.c create mode 100644 include/dt-bindings/mfd/ahc1ec0.h create mode 100644 include/linux/mfd/ahc1ec0.h