Message ID | 20230216132356.29922-1-raag.jadav@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp302275wrn; Thu, 16 Feb 2023 05:33:48 -0800 (PST) X-Google-Smtp-Source: AK7set/9YQdB+XrmIrLctJyTf6GEzGEFkjYXarEZ9uA1UIz5xIxHCyoK+3FewrtLRLoKdF4zMKFe X-Received: by 2002:a17:90b:1c09:b0:234:27a4:fba2 with SMTP id oc9-20020a17090b1c0900b0023427a4fba2mr6682960pjb.18.1676554428045; Thu, 16 Feb 2023 05:33:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676554428; cv=none; d=google.com; s=arc-20160816; b=q3NqgAlqiY4oRD0Z1K2oj7uLnBZO9Ypco2bJUNhyqOTqre/vgLa6La/ti7cB+rGc1V 9U5SlBwFzEDrnN2vBrS2QZjIp1qRWv5fo9RN+4+qXbYz8U0zSoPgFx2+GN6ADvWd4cku 4+mLnLV5e3BdwME7Z1RIHbVAv+T10+zdMdGmyuVk2FNEE/dCVyhFDxMZpPBw3WjxS8l6 IbeBnqRaYDMkpFfErYle9bLbuILeFU7EKdYEpsIK/lq2Ro6wGot1Yyy8m5HjsiUIP0Od Zyb/ghf5sQVuy4HIU/GPJw9S3rCEzJ8z8YryOZucVAy4Gily955XHDjUlfkrpqTlz4YB bJ6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=dRwMRRsQjNuaOdgeyy5qp4vmN6bYvL9BsA2UCzZ/foY=; b=z3cU+P0clDCyEx89lhiHySs5tCRRzzeP9CJtKX8QLPUFDojwc4pku0ySic1MxaahWY ot94UUWpj9M1TdSunx6qmVwJeuJonMI2mo02FxkXYsfZTANoPa6g8UE5gAOWK9Ts0qF8 GvAhHraXkrBiXxnym0xGlCvITXGYl8B50FeZM7ciwEjD8Jep8FMdUB0RQB1fsk/QmKky meyzVVO61tYHZCPkuL/HUjRfWWa0Y4ZUrRTeMWCZtiY9oDHJFNOoR3H6QRJXnhgbg0GM 5WvFSm93tTQ0B1upEdrh7DxikdMxaiDMElaUQ/kU5NtXMSvl6KpCl8xE4Ko/1Tl9gw0E 6KWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="OKhdt/HJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h29-20020a63385d000000b004df18fa49aesi1642767pgn.796.2023.02.16.05.33.35; Thu, 16 Feb 2023 05:33:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="OKhdt/HJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230142AbjBPNZP (ORCPT <rfc822;aimixsaka@gmail.com> + 99 others); Thu, 16 Feb 2023 08:25:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbjBPNZN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 16 Feb 2023 08:25:13 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 066683C78A; Thu, 16 Feb 2023 05:25:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676553910; x=1708089910; h=from:to:cc:subject:date:message-id; bh=2sDAhSaGE+GsIYW5tpg7Ifxnx/c6PmJyeC9/mRyn548=; b=OKhdt/HJgb1ifacd9ZMQ/lX8wbs0Ol1H4iEPUxv9oN7h8jLyVyFawqMr KUqPp8GjY+xi3trhwsV+bFx208wogyUH+K8byl7muUSN2hbD7iLwfXnP6 WBo6fC5JjngvpNXRhD3h9/LPmDKPHsP8R1cw3AbT4pnlzWg7ueY5zTCca U59Uhp8zcofJ3W1Uw7glhfpxYGP+HIZ4u6g6I5yqqhYhhzjqSTVeRyjpJ 3YiZ0dle3NdFbcB2YsPblvNWmR9MjdHhVU9j6W2cPJ8BwjK4MAAuY3urR x6iL7IvXS70dEczgQ1ktQF1T7zdyngj+T7+jsjYUFDHFa4p5466brZbb4 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="331711603" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="331711603" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 05:25:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="999033082" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="999033082" Received: from inesxmail01.iind.intel.com ([10.223.154.20]) by fmsmga005.fm.intel.com with ESMTP; 16 Feb 2023 05:25:08 -0800 Received: from inlubt0316.iind.intel.com (inlubt0316.iind.intel.com [10.191.20.213]) by inesxmail01.iind.intel.com (Postfix) with ESMTP id F3AFB15B67; Thu, 16 Feb 2023 18:55:07 +0530 (IST) Received: by inlubt0316.iind.intel.com (Postfix, from userid 12101951) id EDCDF162; Thu, 16 Feb 2023 18:55:07 +0530 (IST) From: Raag Jadav <raag.jadav@intel.com> To: linus.walleij@linaro.org, brgl@bgdev.pl, andriy.shevchenko@linux.intel.com Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, mallikarjunappa.sangannavar@intel.com, pandith.n@intel.com, Raag Jadav <raag.jadav@intel.com> Subject: [PATCH v1 0/3] Introduce Intel Tangier GPIO driver Date: Thu, 16 Feb 2023 18:53:53 +0530 Message-Id: <20230216132356.29922-1-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757994736241280360?= X-GMAIL-MSGID: =?utf-8?q?1757994736241280360?= |
Series |
Introduce Intel Tangier GPIO driver
|
|
Message
Raag Jadav
Feb. 16, 2023, 1:23 p.m. UTC
Multiple Intel platforms started using similar GPIO controllers. There was a need to develop a common library driver. Intel Tangier implements the common GPIO functionalities for Elkhart Lake and Merrifield platforms. This patch set introduces: 1. Intel Tangier driver that supports the common GPIO functionalities for Elkhart Lake and Merrifield platforms. 2. Intel Tangier adaptation for Merrifield GPIO driver. 3. GPIO driver for Elkhart Lake PSE GPIO IP. Pandith N (3): gpio: tangier: Introduce tangier gpio driver gpio: merrifield: Adapt to tangier driver gpio: elkhartlake: Introduce Elkhart Lake PSE GPIO MAINTAINERS | 2 + drivers/gpio/Kconfig | 24 +- drivers/gpio/Makefile | 2 + drivers/gpio/gpio-elkhartlake.c | 94 ++++++ drivers/gpio/gpio-merrifield.c | 444 ++-------------------------- drivers/gpio/gpio-tangier.c | 505 ++++++++++++++++++++++++++++++++ drivers/gpio/gpio-tangier.h | 120 ++++++++ 7 files changed, 776 insertions(+), 415 deletions(-) create mode 100644 drivers/gpio/gpio-elkhartlake.c create mode 100644 drivers/gpio/gpio-tangier.c create mode 100644 drivers/gpio/gpio-tangier.h
Comments
On Thu, Feb 16, 2023 at 06:53:53PM +0530, Raag Jadav wrote: > Multiple Intel platforms started using similar GPIO controllers. > There was a need to develop a common library driver. > Intel Tangier implements the common GPIO functionalities for > Elkhart Lake and Merrifield platforms. > This patch set introduces: > > 1. Intel Tangier driver that supports the common GPIO functionalities > for Elkhart Lake and Merrifield platforms. > > 2. Intel Tangier adaptation for Merrifield GPIO driver. > > 3. GPIO driver for Elkhart Lake PSE GPIO IP. Thank you! I will apply this locally and it will be part of Linux Next after v6.3-rc1 is out.