From patchwork Thu May 11 14:09:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jerome Neanne X-Patchwork-Id: 681031 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 A69A1C7EE22 for ; Thu, 11 May 2023 14:09:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238159AbjEKOJz (ORCPT ); Thu, 11 May 2023 10:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238094AbjEKOJw (ORCPT ); Thu, 11 May 2023 10:09:52 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6C50558B for ; Thu, 11 May 2023 07:09:49 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-953343581a4so1352731466b.3 for ; Thu, 11 May 2023 07:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1683814188; x=1686406188; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=T51fHYXev4lGul6BLthLaAG/m0uxHvU5Lp/xoa5Sp/M=; b=KQPPhNfOR5LClxNydK6Lh4ahO2zqgWaEC4tnK6rgQKxvlr9vfH7w6RBD+wGYXFlFCk oCs9d2+w3MsjC8xGqIZCdQckb4h6aLxLNo1hvnoNqtgGe+6HRXoGNz7bffcB47v+Rn6/ 4tdNUh2fvdBzelzR1CUHZk7l0Iehl8TXcLy4l61pbp6fAiNEFaHqOj3blBPYF+406hkx Pf3PLBzP+XrriHBy8VwePGFlcRo7+Lm2mL+RmnfTmzrgQoNF2Rq5BQXbGuuJG7+NG1tk Z+ouLGE7VOoSNSRrWrxiJUmil2osnGPZoJ+8fV9cGlzUyfI5pGspCrreMX2/ugCUh59g JsCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683814188; x=1686406188; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T51fHYXev4lGul6BLthLaAG/m0uxHvU5Lp/xoa5Sp/M=; b=g2Q9hmJKipBDfzroeSN4XgtwEXcqKZH2fjzTD5UyV3mK824BnAb0DljT420p2HY1bI iBrLHz0oLshIj0k7BhcKythQnWdk3KZPm/KVk9IR4ExnadxtmfX/DoRAMteduu3tE69H vu73cKUZcXTXgS+KpTUUqta1d9utVG3yhSat2L/OSVBKRX1HRfVrM938ysRL82kJelic kqym2JrjZAWBxelTNSR820CasIq6CkDEgJ/eqPw3qupVgSDj2AHd6HKG2NS4Kn1SepkK nTYD6XoQ3B42Us7gOuTb7WCN8Rr5y16Cp5LKW1iSm2lqU0oOZw9MwK9s+KyOaxWlki/I nydg== X-Gm-Message-State: AC+VfDzMm7kSjMTIT3yYyQuDiDrl5EPNEDC4AQHUomVLoSmVk6s/NosS b8G1Rtc9NUlBdmgq0uh7nfj8Mg== X-Google-Smtp-Source: ACHHUZ6uUO7u0Ag9xtoEfS6TEahd1zf/4l3JaTZbvBfSQKgb9yrmJt5fFwb2AYiDHq0299OUgUymUQ== X-Received: by 2002:a17:907:1b17:b0:965:6075:d0e1 with SMTP id mp23-20020a1709071b1700b009656075d0e1mr17049791ejc.72.1683814188264; Thu, 11 May 2023 07:09:48 -0700 (PDT) Received: from [127.0.1.1] (abordeaux-655-1-129-86.w90-5.abo.wanadoo.fr. [90.5.10.86]) by smtp.gmail.com with ESMTPSA id gx1-20020a1709068a4100b00965a0f30fbfsm4057624ejc.186.2023.05.11.07.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 07:09:47 -0700 (PDT) From: Jerome Neanne Date: Thu, 11 May 2023 16:09:42 +0200 Subject: [PATCH v2 2/2] mfd: tps65219: Add gpio cell instance MIME-Version: 1.0 Message-Id: <20230511-tps65219-add-gpio-support-v2-2-60feb64d649a@baylibre.com> References: <20230511-tps65219-add-gpio-support-v2-0-60feb64d649a@baylibre.com> In-Reply-To: <20230511-tps65219-add-gpio-support-v2-0-60feb64d649a@baylibre.com> To: Linus Walleij , Bartosz Golaszewski , Tony Lindgren , Lee Jones Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, Jonathan Cormier , Jerome Neanne X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1683814185; l=866; i=jneanne@baylibre.com; s=20230511; h=from:subject:message-id; bh=h/znsSZb4ku3m0TBnEL/O7SKys/mM4RedsLJul+D6qw=; b=F26UalLmLmw3Kr0fdb9s4cii+oNyMXopifxP1O3Ubdq2BKN7sl+gPNglcBjH9mpk3VOgx1Gvm dkRE/SpG25FC2ZYT4To06ucNDtw76hse4kNrGP2L7a81yW/oP57e0xT X-Developer-Key: i=jneanne@baylibre.com; a=ed25519; pk=5rvbqNoG+28jQjC9/50ToY7TgKWf9rJukuCI8b6jkUo= Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org tps65219 PMIC GPIOs are exposed in a standard way: gpiodetect gpiochip0 [tps65219-gpio] (3 lines) Co-developed-by: Jonathan Cormier Signed-off-by: Jonathan Cormier Signed-off-by: Jerome Neanne Reviewed-by: Linus Walleij --- drivers/mfd/tps65219.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps65219.c b/drivers/mfd/tps65219.c index 0e402fda206b..e1d090ba4258 100644 --- a/drivers/mfd/tps65219.c +++ b/drivers/mfd/tps65219.c @@ -106,7 +106,7 @@ static const struct mfd_cell tps65219_cells[] = { .resources = tps65219_regulator_resources, .num_resources = ARRAY_SIZE(tps65219_regulator_resources), }, - { .name = "tps65219-gpios", }, + { .name = "tps65219-gpio", }, }; static const struct mfd_cell tps65219_pwrbutton_cell = {