From patchwork Tue Jun 21 03:42:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 583716 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE7C6C43334 for ; Tue, 21 Jun 2022 03:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345148AbiFUDmi (ORCPT ); Mon, 20 Jun 2022 23:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345090AbiFUDmd (ORCPT ); Mon, 20 Jun 2022 23:42:33 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 306EF1EC79; Mon, 20 Jun 2022 20:42:33 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B42073200413; Mon, 20 Jun 2022 23:42:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 20 Jun 2022 23:42:32 -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=1655782951; x=1655869351; bh=Lx uWI7fwqUJxo8RalFUvW8brkX0rNqDAgLS/C3jwWOM=; b=e7K2mVJZDmTrc470vv XbdFJ71hbK8iS+o1Atn7nY+g3n9tpEkn+YiY1D2nJIjUjQOnSgxY+8pANso3ZPfb GwboWO3Opn2k3RfMFd+HHjDDZTobjBFxkMD/h0bM2OW80WqeCmIviZZS3F05z6vb r5zifmydTiNupFLXg5NC4KwvaJrGfLijxvG37iS6Sj3Tzb62EFiEh535vqbkEkPJ 8hcOW7JonDOwaSBm4537LxJRKU8jol1JjrTbv7fAFJpenM2jCzKMJ7oJGlH79mcs sYjlnnDaPEr1JNvvIyokeU+LO2X03EJzH8aRGYH/TB6vcgqk2N4u28KPJNW1gikF HwnQ== 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=1655782951; x=1655869351; bh=LxuWI7fwqUJxo 8RalFUvW8brkX0rNqDAgLS/C3jwWOM=; b=eLjLryZYKEw1lLLccdtjDoM1LjY9M o4Mt2Uy5PDhT1evtiv07d1eHcUhjctMItqsHJaku5ZuhG0FU9Q/7zvZgYXuPopUI CkC0jZE0vdgE29QuKxaSO8y9GnU+4ObGdmAKnqvkQY9psgBkDmbujAmt59LixDEG nDOlZbtsDXAsrkygLTqmPC0FP6buTupjwWxdQAYJWzL/zGJB+V2i5oec1nWEtde9 u1v4oNqlFFAA/Cjb2jdeQMdskhg7U0vue5HGty34o+z4lKvYSW9hXt5JVb/nf8WD j4UOMm+9Wic1oLsvhykz+x5/dn5p9PfCyUnRQZFnVuwXYN3LsrWqrWCkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefvddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Jun 2022 23:42:30 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Lee Jones , Linus Walleij , linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Samuel Holland , Bartosz Golaszewski , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] mfd: axp20x: Add AXP221/AXP223/AXP809 GPIO cells Date: Mon, 20 Jun 2022 22:42:22 -0500 Message-Id: <20220621034224.38995-3-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220621034224.38995-1-samuel@sholland.org> References: <20220621034224.38995-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org These PMICs all contain a compatible GPIO controller. Signed-off-by: Samuel Holland Reviewed-by: Chen-Yu Tsai --- (no changes since v1) 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,