From patchwork Wed Apr 5 12:53:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 1765397 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=T8//dkRm; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=T8hi+HZS; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Ps4MS0qTJz1yZh for ; Wed, 5 Apr 2023 22:54:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=epN4yCLexgQ4Op7VF3LTYNeqoHReUx7TEpDzvCDjMVQ=; b=T8//dkRmi5EDXq qJHXb0y9xzFtgA9UwM6r1VharlTaluRCJDk8Iy4URMGjCAtYqDMLaq3qkF9BHLh0cS8sjZ5dQXhkS l7PJuGYKWBCg9WJax3dT5IMSbGogU0BvXBXiNKUKieLrPrdbo12DTCVBIF52RJAq4OX7haUctgROM 1A0QKs6eSymmmNHF1AmbjXqoez5NTdui7sdBIrD3dossLPeVlf9t0fTf1z8FeDj8x/KZySua3usfK PKHNk4DjNGe4573dZgsfd2nfGqxaAFekN+GI5oATRyE3/uT12E0NS0tiJZinIN1CpLaiOKcyg/v1w BSc0aVhQv3ta+CD9Gorw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pk2eE-004RtO-2E; Wed, 05 Apr 2023 12:53:58 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pk2eA-004Rs8-2S for linux-arm-kernel@lists.infradead.org; Wed, 05 Apr 2023 12:53:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680699234; x=1712235234; h=date:from:to:cc:subject:message-id:mime-version; bh=9RREiQXXstMZSmb+k61tk620ydm2/SSYbZmimxZoplo=; b=T8hi+HZSW6EeibF6MBMS5r/DKEGLqoJ0fq5NT/q8iVpIfXiv2bbcI64e cYBZrMvVoQO4uUMG9fl+8uJZJ86J5F6cZ2FQQH7zaxuJq0pI9R7kRIl8+ D6i6GVbARbrLSGf7OghEVCxNqnK1kqdw+Q3n5yR9dD2Y5OR4RzVyXac5m zdM10GmkzVoq7WJ/+L+ysNPzzBE+2mINV+Wzw/3L3Lxy/9IquvjY2w+9p eROp3RTBK5/Ha2tAVAFzlcKHJ97h7xJgV5XggeGG0OcwMAkwEN7okairE YGXH2p7/ZRHK/FW3kEAtQg0aB8/4P6My6+7+nKzrzqKAtMu9IOlQ0LGIz w==; X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="342460120" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="342460120" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 05:53:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10670"; a="1016453008" X-IronPort-AV: E=Sophos;i="5.98,319,1673942400"; d="scan'208";a="1016453008" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 05 Apr 2023 05:53:44 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id D26531D5; Wed, 5 Apr 2023 15:53:46 +0300 (EEST) Date: Wed, 5 Apr 2023 15:53:46 +0300 From: Andy Shevchenko To: Linux GPIO , linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Arnd Bergmann , Dmitry Torokhov Subject: [GIT PULL] intel-gpio for 6.4-2 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230405_055354_828645_85FC239F X-CRM114-Status: GOOD ( 15.49 ) X-Spam-Score: -2.6 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Linux GPIO maintainers et al., Here is the second PR for GPIO subsystem that contains some treewide fixes against previous PR along with Intel GPIO related stuff. It has been in the Linux Next for a few weeks without no additional [...] Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [192.55.52.115 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi Linux GPIO maintainers et al., Here is the second PR for GPIO subsystem that contains some treewide fixes against previous PR along with Intel GPIO related stuff. It has been in the Linux Next for a few weeks without no additional problems being reported. Please, pull this for v6.4 cycle. This can be treated as immutable tag, in case anyone wants to go with it separately. Thanks, With Best Regards, Andy Shevchenko The following changes since commit 380c7ba3923c6e471aff0f951a6cf42e8dec2c79: gpiolib: Clean up headers (2023-03-06 12:33:02 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel.git tags/intel-gpio-v6.4-2 for you to fetch changes up to 782eea0c89f7d071d6b56ecfa1b8b0c81164b9be: gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU (2023-03-23 16:22:18 +0200) ---------------------------------------------------------------- intel-gpio for v6.4-2 * Fixed suspend issue on Clevo NL5xNU * Split a new Intel Tangier (library) driver for current and new platforms * Introduced a new driver for Intel Elkhart Lake PSE GPIO (see also above) * Contained a few fixes for the previous of_gpio.h cleanup * Miscellaneous cleanups here and there The following is an automated git shortlog grouped by driver: elkhartlake: - Introduce Intel Elkhart Lake PSE GPIO gpiolib: - acpi: Add a ignore wakeup quirk for Clevo NL5xNU - acpi: Move ACPI device NULL check to acpi_get_driver_gpio_data() - acpi: use the fwnode in acpi_gpiochip_find() ich: - Use devm_gpiochip_add_data() to simplify remove path merrifield: - Utilise temporary variable for struct device - Use dev_err_probe() - Adapt to Intel Tangier GPIO driver mips: - ar7: include linux/gpio/driver.h mm-lantiq: - Fix typo in the newly added header filename powerpc/40x: - Add missing select OF_GPIO_MM_GPIOCHIP sh: - mach-x3proto: Add missing #include tangier: - Introduce Intel Tangier GPIO driver ---------------------------------------------------------------- Andrew Davis (1): gpio: ich: Use devm_gpiochip_add_data() to simplify remove path Andy Shevchenko (5): gpio: merrifield: Use dev_err_probe() gpio: merrifield: Utilise temporary variable for struct device powerpc/40x: Add missing select OF_GPIO_MM_GPIOCHIP gpio: mm-lantiq: Fix typo in the newly added header filename gpiolib: acpi: Move ACPI device NULL check to acpi_get_driver_gpio_data() Arnd Bergmann (1): mips: ar7: include linux/gpio/driver.h Benjamin Tissoires (1): gpiolib: acpi: use the fwnode in acpi_gpiochip_find() Geert Uytterhoeven (1): sh: mach-x3proto: Add missing #include Pandith N (3): gpio: tangier: Introduce Intel Tangier GPIO driver gpio: merrifield: Adapt to Intel Tangier GPIO driver gpio: elkhartlake: Introduce Intel Elkhart Lake PSE GPIO Werner Sembach (1): gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU MAINTAINERS | 2 + arch/mips/ar7/gpio.c | 2 +- arch/powerpc/platforms/40x/Kconfig | 1 + arch/sh/boards/mach-x3proto/setup.c | 2 +- drivers/gpio/Kconfig | 24 +- drivers/gpio/Makefile | 2 + drivers/gpio/gpio-elkhartlake.c | 90 ++++++ drivers/gpio/gpio-ich.c | 10 +- drivers/gpio/gpio-merrifield.c | 453 +++--------------------------- drivers/gpio/gpio-mm-lantiq.c | 2 +- drivers/gpio/gpio-tangier.c | 536 ++++++++++++++++++++++++++++++++++++ drivers/gpio/gpio-tangier.h | 117 ++++++++ drivers/gpio/gpiolib-acpi.c | 26 +- 13 files changed, 825 insertions(+), 442 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