Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1148522iog; Wed, 15 Jun 2022 23:11:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vfMviI9p7kPgjKEzVibN21lTqgLL2lZj6w0YAW25VVlACgLYCPBlNHSYiR4xhkM/J4RF0y X-Received: by 2002:a05:6402:452:b0:434:a373:f9f8 with SMTP id p18-20020a056402045200b00434a373f9f8mr4365343edw.290.1655359886948; Wed, 15 Jun 2022 23:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655359886; cv=none; d=google.com; s=arc-20160816; b=SLogXrUpMcFWyCth4Feb9c7c+WXTx+2RQRBuNEyh/188fZG8H0KZLVd/LSLBor8PgL xbwampwPIyv1reVFGvOH1TakXUcgplggXWSUcaFjITH6lYPmhpN+B7YsyqACOtLrLojA IBX+cMMfPGzzB+0glmmAw/cRVv4z5aD8tklYmNHVE0Ywwu91RXUzWVRxuMkegaOYjHSH sRdX4T99tuBL3uamnIAwCPVmZvuh5bOucQDBaRcZiTEk5k8Cm3JYyomuWvkxMLk3Uy1a PLODlmH73aPfKsT9SiUOjHdFo8uqNkw14vFeCQ8K+qOLuw8+lqTWSjucWAq/rDJADOgW 8zQw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=vznRDmlsb3zTjKCOceYDuGVn1WQxrFjMwm/ALiW9ePA=; b=sQN8aRpR32GlHx8vHSMqZ4jstEk+jkMF81qUySjN81wI2ugDiPIuAvwmvsC2eyyRRX ejVlTzeXM/P5NMCIy6v7W9+f66nkCwvU3ZqeFVL6o3xjWQKo1uO8h6OnJy9B+HE347sv q0D+sMvKunO6z/GWu/4xmkMomTmkYURHUB+XdSbqIGlqTsVnfb/zKiNb11ZXmLSpn+0F dedaJaM9Ipm7Gkl1JlUKnhFJG4+I04tkPe4YcWzRu+iJdw1z6SQNGyT/dZ2oWyImLy1k cc60MQpnnFoUTkTB2LZkVtmPZmXgn5avttW1K+cT5XjSHz+rgXL2p8nnBR1Q70JqJaJ7 qTWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=rl3sp9hO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Nb1jXD3F; 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 ch9-20020a0564021bc900b0042b404720a6si1308380edb.40.2022.06.15.23.11.01; Wed, 15 Jun 2022 23:11:26 -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=rl3sp9hO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Nb1jXD3F; 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 S1359028AbiFPGJh (ORCPT + 99 others); Thu, 16 Jun 2022 02:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359006AbiFPGJa (ORCPT ); Thu, 16 Jun 2022 02:09:30 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABB6D29828; Wed, 15 Jun 2022 23:09:24 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 5D4403200B93; Thu, 16 Jun 2022 02:09:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 16 Jun 2022 02:09:24 -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 :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1655359762; x=1655446162; bh=vz nRDmlsb3zTjKCOceYDuGVn1WQxrFjMwm/ALiW9ePA=; b=rl3sp9hOPvz3C0ndZ3 irR9rMiB3QyZTl6B946b3+/YWwGZ745+V1mqz03/xBpAHVG/Mlzfu851c1dHsxIP G0WQYWX/p/DHMLuqJOVTnv4DImaF4ULRHSDcEb2FRxtG5JAVZeL6PGvqSvj2dmbX 8W6YVuFf3FIOgD6IHjQP37d7mXsI2AgBpyE5lJOfyDoNk/dWrSaZdn6z2PAfSIAg udgtBYIYKH8JuwIRT/lAkterwehK5XTUj/4jX9omUIwS8iv9KyC0g/WP0ymeoclb frL6Fk+tGZTrtC1SAbana69rGtVbwheyOkbv5cCx5j4JwVIPwhT2VVQRJNVS9KLz COQA== 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:in-reply-to :message-id:mime-version:references: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=1655359762; x=1655446162; bh=vznRDmlsb3zTj KCOceYDuGVn1WQxrFjMwm/ALiW9ePA=; b=Nb1jXD3F9NeGHW5HGa4/oKlcmvWrh NWPE34E2kZnZs9udAcvthSA2sqHECfO8+7kyGxwQuj4cjWoQr6WW50nG22/QZ3gC 258gq4pBWvRnsNlswadBdYyYTX1dpaxO7vx3Dtx++w8P3RwzDKLA1ux/sZ2bWehJ 5RutMocfm6DU+etmUjLSTqojVUAguoW5jSjoi5qv5cx47hlQagxNCv5MXLjxBJ5l u5nlxX4IAXw5saf9WGDchm/fdygJYypLuapacdAr5kdt3VuBjIdfGBAeUppb27jk TBmFlX6giBYhwLIbwH9pB8RFl/85nQeP9ms6/uQMo+/g9/sPCTYFzUL2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvvddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeeh gfdufeeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Jun 2022 02:09:21 -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 2/4] mfd: axp20x: Add AXP221/AXP223/AXP809 GPIO cells Date: Thu, 16 Jun 2022 01:09:13 -0500 Message-Id: <20220616060915.48325-3-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220616060915.48325-1-samuel@sholland.org> References: <20220616060915.48325-1-samuel@sholland.org> 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 These PMICs all contain a compatible GPIO controller. Signed-off-by: Samuel Holland --- drivers/mfd/axp20x.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 8161a5dc68e8..88a212a8168c 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -619,6 +619,9 @@ static const struct mfd_cell axp20x_cells[] = { static const struct mfd_cell axp221_cells[] = { { + .name = "axp20x-gpio", + .of_compatible = "x-powers,axp221-gpio", + }, { .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp22x_pek_resources), .resources = axp22x_pek_resources, @@ -645,6 +648,9 @@ static const struct mfd_cell axp221_cells[] = { static const struct mfd_cell axp223_cells[] = { { + .name = "axp20x-gpio", + .of_compatible = "x-powers,axp221-gpio", + }, { .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp22x_pek_resources), .resources = axp22x_pek_resources, @@ -785,6 +791,9 @@ static const struct mfd_cell axp806_cells[] = { static const struct mfd_cell axp809_cells[] = { { + .name = "axp20x-gpio", + .of_compatible = "x-powers,axp221-gpio", + }, { .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp809_pek_resources), .resources = axp809_pek_resources, -- 2.35.1