Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3432823iog; Mon, 20 Jun 2022 20:44:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uYh9w1wBfM+DHBk86DKBviJTcr7b23xR1AdPotaQsTZngyFKX8DtPSOigVX6Y3d0t6UDMs X-Received: by 2002:a05:6a00:1687:b0:518:6c6b:6a9a with SMTP id k7-20020a056a00168700b005186c6b6a9amr28044534pfc.81.1655783082381; Mon, 20 Jun 2022 20:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655783082; cv=none; d=google.com; s=arc-20160816; b=qDLD5vczQyhchFOMHXoeXS3udI9Tnbc6aINbBn9eHX3D6tr0f/sCdEvxiN5U+m892I +OnmF2nAAULnN1bnyvisEBzfQupX/6Yua4SqTO7qlXUIH3rAIL3t1Tv0Mx+L54ToLNfo +5PchzW3zH832fY3CXT61gGsitQDccQMl0Fa5qlv8cgEflZBGRAMAVTvIFl4HDw/MBgV /WvBFNgm2UxO3mZ2JT6ipBzAxe6KXeisBRc4EnxjkydiRb/YBl3JTIniqkaAt43LtTmA wfujRFriaz5pFaL2hJidreqNHb85S1CVuln4+vA/x4vRY64jrmg7tYVLsTEg74+KqIJN bjGQ== 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=LxuWI7fwqUJxo8RalFUvW8brkX0rNqDAgLS/C3jwWOM=; b=wPdpcmq8y2xfRsg+vcJUkEy/Ce2d4p+tD1OHWMlwV4lJXI+zxAWPtZJLXAr5oTM2mI Wrn1872YS3VZUbgQCZHRvr4VyooUo1ebKUoeCWPKHU51BoIe+CJgugcNvkT08A8zg2cE UKl0c6IGyKT6WSMjIkMH6HOPYNh6NE/Yv49uwS8z9LnN8kqdrNkojBRIpmqCt1ksQNwa 9mwuoERg/k1RuytV0T7yck4RafGyG0CRdwHY2u8TDrYXSJzn+MqoGO/TDdbMqnNY6SBW P6AE8TIuh8kbMPffwSVPRU8UQNwJmo6kv16aq7W7J/nKCb9Wyd3CxFD/khIu3z+h6l5j Z/fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=e7K2mVJZ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=eLjLryZY; 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 f125-20020a636a83000000b004019c5f7652si17821807pgc.640.2022.06.20.20.44.30; Mon, 20 Jun 2022 20:44:42 -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=e7K2mVJZ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=eLjLryZY; 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 S1345120AbiFUDmp (ORCPT + 99 others); Mon, 20 Jun 2022 23:42:45 -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 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 --- (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, -- 2.35.1