Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1163193iog; Wed, 15 Jun 2022 23:43:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tLUqJ09DW7foXFd6U84gEUiLrI6wclkTfsW8JLFml6EHZzcOuANM6CDf7RBKEmdmFe6kO/ X-Received: by 2002:a05:6402:350e:b0:42f:b2c1:9393 with SMTP id b14-20020a056402350e00b0042fb2c19393mr4501758edd.11.1655361785129; Wed, 15 Jun 2022 23:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655361785; cv=none; d=google.com; s=arc-20160816; b=UxOR916VHKO435qUHCy0p81uhRvZiXBqbafEKFbBeevH/RGShxZfy+PaRrs4IJsJl2 z5b8UdSe3L4KhddDE7MShr7j0mKdeVOGoYcUKzqJH5PwOEYqh/ISDe0Qsq93SPX6ySDK bYpapbZK4ndoyk5yi1tcU9OB57NdLeXft6mPtT1eu/k99mDoC6zmvUzMH+iwgJ5qbLG3 ujAf4GLMzP3Uvah9iuImjj+YvJA/Kf5aOHjHdeN44ycAsIQPVH46vgS9Ja0ePHDQhAn0 1H19Kd9LTjIfKu42384iXME/+ko02E46F5uv92mHZURRYWMy1mZl3r81r9cC3XE/F62W fQsA== 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:feedback-id:dkim-signature :dkim-signature; bh=4cAGhT7P98OlSBNNXfednYGJsu5Tq4H2hRPhtxLXeTU=; b=AALjwTekz3EZRi08oDq/xqLL5QciXxDn8XMbpQv7E7l6P3xSchWqeg7DN0VdQ5SXAA 7p6o1ClrWlnJjIabSJLvJQ1KZpW8klSdSY4PCWbaAgoFl/LIZTmtN4YdX2EIhLFqhWQt /9mu+M1B8J+nHJL9W5rjp/ruJOXesy7g9Oee2UdWwkBzwDZIodVhyX5VDGtb/+IuTqNs 4rR7EPU3HTe41PbgWVFo9LyuwlksDMRdxT49EDADWUMMWfPndSMJstsWCf1HU9y3IxG1 90fqFD3H/9B07gKWn9X1vnpgkaS6jaTMN8fGRpWIGiCLKLVTYJYHv83/8UAHDHfKL2Vr Gnkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=UP0Wynl0; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=N6sXgHMP; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ky10-20020a170907778a00b006fef85cfcd4si911288ejc.384.2022.06.15.23.42.39; Wed, 15 Jun 2022 23:43:05 -0700 (PDT) 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=@sholland.org header.s=fm3 header.b=UP0Wynl0; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=N6sXgHMP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358996AbiFPGJd (ORCPT + 99 others); Thu, 16 Jun 2022 02:09:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358986AbiFPGJW (ORCPT ); Thu, 16 Jun 2022 02:09:22 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF84A24940; Wed, 15 Jun 2022 23:09:21 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DED3A3200A57; Thu, 16 Jun 2022 02:09:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 16 Jun 2022 02:09:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1655359757; x=1655446157; bh=4cAGhT7P98OlSBNNXfednYGJs u5Tq4H2hRPhtxLXeTU=; b=UP0Wynl0Z5MpaJpingUQYshe2Gj6uP/VlSzDKUQZG Ia861CwPIhrASvqSGSarnhW6u43UNq6c5AghP8KSNP+MnYO0bNa4zzt24rS2Jhe6 Ea6iKbqUAYVmqNUoqL9y0IE3o7jpipdXI15o5UK42StVjKxzjNEvA4Cd7Z5w7hef b+TbkRmMIrYO6GWnOq3ErK/KUFAcGmPNiSPT6KRf3WHDb7VPIvX3cOcrz+K66t9t B1U4UP69Nwq825bH7T2udRK8xWevjwobo7DAfq9wuYVCNPYmOUrUD8pUjfmES2MB TLv4qV832dlrft+Kg90UB0fV1wWruLo0vjC3fV8XD8bSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1655359757; x=1655446157; bh=4cAGhT7P98OlSBNNXfednYGJsu5Tq4H2hRP htxLXeTU=; b=N6sXgHMPEE6EWESxM+7VVwiOKQ1xvT+KcHo+2Tv6h7ajK5Jiw7X /Ejmhx5rMzyBlJnxKQHRW+YTaDtLM4cK5buBaVkwWREBJubgQmqjcDvWpB7adTxP XXuYNTa/L2RJFxXseNgBD9aEbwfyUtDy5U0YF8oaGVD0Xd06LgY0BSNbikhwpvzb 4o7LN3kHRCsaO9LrJa66wg8bM2vNifglyqiQ1R4Yb9q9r65ELCMjaoN7cxYG2rV3 ieZ6wrDMrt8KORdDT8vY3G1/0niRLd52mJ+92rYATMP5r2O2hoER32ojBzmq+F1g sGAmaQXAzPIqWa2Vl9zfOzIlDs6QT5+inXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvvddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeeh hffhkeekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Jun 2022 02:09:16 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Lee Jones , Linus Walleij , linux-gpio@vger.kernel.org Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, Rob Herring , Samuel Holland , Bartosz Golaszewski , linux-kernel@vger.kernel.org Subject: [PATCH 0/4] AXP221/AXP223/AXP809 GPIO support Date: Thu, 16 Jun 2022 01:09:11 -0500 Message-Id: <20220616060915.48325-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org This series hooks up the GPIO controller found in some older X-Powers PMICs. The main motivation is converting the U-Boot driver over to use devicetree, but Linux might as well gain support for the hardware too. Samuel Holland (4): dt-bindings: gpio: Add AXP221/AXP223/AXP809 compatibles mfd: axp20x: Add AXP221/AXP223/AXP809 GPIO cells pinctrl: axp209: Support the AXP221/AXP223/AXP809 variant ARM: dts: axp22x/axp809: Add GPIO controller nodes .../bindings/gpio/x-powers,axp209-gpio.yaml | 7 +++++++ arch/arm/boot/dts/axp22x.dtsi | 18 ++++++++++++++++++ arch/arm/boot/dts/axp809.dtsi | 19 +++++++++++++++++++ drivers/mfd/axp20x.c | 9 +++++++++ drivers/pinctrl/pinctrl-axp209.c | 14 +++++++++++--- 5 files changed, 64 insertions(+), 3 deletions(-) -- 2.35.1