From patchwork Tue Jan 19 07:01:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1428443 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; 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=kLSG49hb; 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 4DKfhK6pTmz9sWX; Tue, 19 Jan 2021 18:01:21 +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 1l1l0r-0002En-Hs; Tue, 19 Jan 2021 07:01:13 +0000 Received: from mail-pj1-f46.google.com ([209.85.216.46]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l1l0q-0002EU-1Q for kernel-team@lists.ubuntu.com; Tue, 19 Jan 2021 07:01:12 +0000 Received: by mail-pj1-f46.google.com with SMTP id j12so2548969pjy.5 for ; Mon, 18 Jan 2021 23:01:11 -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=X0Krhuatn562FaDylA0dg1eEbPkCIRSf22tt573lq0w=; b=kLSG49hbnspjcPCrHBFQUweX5FuWpg/q7HPGD4hImaHuUGtpu4VbAR/DoOxJst1/ey BZsRMbRzRt1ixc8NKHNpvtNhVIc9ZazZk2yy7kXd83MD0TdbSQjhnI09lyZsf5/hy+tf 3G3lvFwDqLHDco2s//H2FcPAHgGRAHnPrUOrWadDSJunbEWTaRLXL44Bdh0RGYhSYlsE IP/7/ejJZ5OulGXkaT/Xb1ASx9afK4Nz0JBfO6PeB8TA2EukRZ04d0PwKHhETUyhr9zW X/7kn84PqjQlbMLz9P9rrQIP1NjytjsyJwNqBff8lIAwnVp4PrV20w/4eTwIb2diYc1x shuA== 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=X0Krhuatn562FaDylA0dg1eEbPkCIRSf22tt573lq0w=; b=QNcGieMgtrkMw6PQFntP0kbjAE4Jx+SX1AmNV8Yi9WJgLJaythnR3U1LZg/gEtFh83 Y7eVrnjXpo/9zd6NFtGFHC85ZnjDPjtkH9n3dU+3vCjucX5zSjb3GmncakByzhHOv1te bBd3aNDOvjV6y936oZq5TXLNWtxgI2dpIaaM8Lq6pcdQ28svBC2buKO1tqR3HNrrEQ4T F/J91I2fb0B0Py7Cx6Uszm7zqrAOSwxXswq37rG0tqlsefX08Avcuu/jXH/5ihzZM9mi TDaJTC8rb3wpw4Hw74YostrpPIhvj3yJv0MDxX4hckcILBHNJI27JDwngrfkB8rUO564 lMYw== X-Gm-Message-State: AOAM533CfCJ5gFpIdXzfAv+aCZbpbQO+s3bDi9PdDQ3JqaebPnmxQDXq Y+qwPFC0wmLSrXN5vAlYkwpFbBP+3aeTSg== X-Google-Smtp-Source: ABdhPJyuk8kW1ywbmHAo8VpBNT9mCM8dBbsIVE3Urt4WKgSrVx2xcH/iCbNviwu8FHEH4/B44m8Lrw== X-Received: by 2002:a17:90b:46d2:: with SMTP id jx18mr3680627pjb.44.1611039669761; Mon, 18 Jan 2021 23:01:09 -0800 (PST) Received: from localhost (61-220-137-34.HINET-IP.hinet.net. [61.220.137.34]) by smtp.gmail.com with ESMTPSA id b26sm17612308pgm.25.2021.01.18.23.01.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 23:01:09 -0800 (PST) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH v3 0/7][SRU][F] Support Advantech UNO-420 platform Date: Tue, 19 Jan 2021 15:01:00 +0800 Message-Id: <20210119070107.27771-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.46; envelope-from=acelan@gmail.com; helo=mail-pj1-f46.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" From: "Chia-Lin Kao (AceLan)" 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/2021/1/18/500 [Test] Verified on Advantech UNO-420 platform. [Where problems could occur] Those commits create 3 new drivers, and do not modify any existing drivers. Should introduce no regression. v2 -> v3: SRU upstream v4 -> v6 Campion Kang (6): UBUNTU: SAUCE: MAINTAINERS: Add Advantech AHC1EC0 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 controller - AHC1EC0 UBUNTU: SAUCE: mfd: ahc1ec0: Add support for Advantech embedded controller UBUNTU: SAUCE: hwmon: ahc1ec0-hwmon: Add sub-device hwmon for Advantech embedded controller UBUNTU: SAUCE: watchdog: ahc1ec0-wdt: Add sub-device watchdog for Advantech embedded controller Chia-Lin Kao (AceLan) (1): UBUNTU: [Config] update config for Advantech devices .../devicetree/bindings/mfd/ahc1ec0.yaml | 69 ++ MAINTAINERS | 11 + debian.master/config/config.common.ubuntu | 3 + drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/ahc1ec0-hwmon.c | 660 ++++++++++++++ drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile | 2 + drivers/mfd/ahc1ec0.c | 808 ++++++++++++++++++ drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 + drivers/watchdog/ahc1ec0-wdt.c | 261 ++++++ include/dt-bindings/mfd/ahc1ec0-dt.h | 25 + include/linux/mfd/ahc1ec0.h | 276 ++++++ 14 files changed, 2148 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ahc1ec0.yaml create mode 100644 drivers/hwmon/ahc1ec0-hwmon.c create mode 100644 drivers/mfd/ahc1ec0.c create mode 100644 drivers/watchdog/ahc1ec0-wdt.c create mode 100644 include/dt-bindings/mfd/ahc1ec0-dt.h create mode 100644 include/linux/mfd/ahc1ec0.h