Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp744690iog; Wed, 15 Jun 2022 11:17:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tn7BmRc80EcJulh9JW5Hyn1FOQhciVXh3JwrHOBgHLbO5LKGWcheMWaiTAnqCywB6/6vwX X-Received: by 2002:a17:906:7f06:b0:70e:2dc9:aec0 with SMTP id d6-20020a1709067f0600b0070e2dc9aec0mr948585ejr.674.1655317039552; Wed, 15 Jun 2022 11:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655317039; cv=none; d=google.com; s=arc-20160816; b=jST3uLHuNlMznuFjD4BafABV7qg/omKJHZ0/SHGcKHH0DKdO2M5KL04VO2s5X30I0i XZE6hj00aEH8GoAxEokdFaBPkhr6xRD8lRWIIGOHUhbzJSdSChSZLyuivmbykfXzy2xt KMbhGzekXMSr48ZBnQxaL4uUbp62yw0EbLivODvQ78nuGCzz7elnR7tkf3n1JJdJW/pG hd/8WxVLmHgd+I/uu3zP517oSgJgI34AxZLfyYwTGJM6h9p1PoXY7bmBvg6vwma65p8A WbP1vVqr5LOelN7l20zZmV5OCjlr8huqwjDs6qAW+6JsLbQJ6FbV6OwJ88pBav4CRKPj FfXQ== 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:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=X31Y0rQlpQau1yeSY1ewrfTTggu40SW7YZpoP18Nyc4=; b=tRERv1WomFvp/KpN25RdaUz3R3y/J1+w7lK9Wex52ySl+Lb2gxWJqZ1QNs2ofeNNWw 1R2+4FE8ElFm955F+SHinjVJ7o1k4M1iwEowsRgOOVoBI9jmH6EMOtJUwH5pOYasKRwL h+fGvc3QjCCHCm+JFaC6rwfxBWrZ5HPFtumQFrrBk31B0K0jr3QPEPmh6rMT693w3ibs vjVKYbll/JGU5I4A4/UKAmo4Y9t4Eqk+5V/TX0adWzsaB/G2VfBbCbpLoqWDm1VN/U/N G8lFdHY8kuqRJ0JQnsu2hf2HSSVN6a6wMDi2kmV/6GpoN7a3H2Ji+/JkqEN9JZK/fvGG i7BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=OYz6MguM; 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 h11-20020a170906260b00b006ff0f87f566si12637705ejc.563.2022.06.15.11.16.54; Wed, 15 Jun 2022 11:17:19 -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=@walle.cc header.s=mail2016061301 header.b=OYz6MguM; 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 S1350299AbiFOSHE (ORCPT + 99 others); Wed, 15 Jun 2022 14:07:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346928AbiFOSHC (ORCPT ); Wed, 15 Jun 2022 14:07:02 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC30D50B25; Wed, 15 Jun 2022 11:07:00 -0700 (PDT) Received: from [127.0.0.1] (nyx.walle.cc [158.255.213.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id B221F221D4; Wed, 15 Jun 2022 20:06:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1655316417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X31Y0rQlpQau1yeSY1ewrfTTggu40SW7YZpoP18Nyc4=; b=OYz6MguMMV3tV9zA8VtMkNpupo/XoNdrSezibyu9AwYYzlewf9Hez4YMuVDHDz4Cds2khU plTm2VquklTTvnLjD4bam0yzvWGufT3IaxfwAJRrzVOCljFuIYwhYLGBkrw5337vST1zxN IRtqmDNFGhS9FxsTaSwFM2BTvxXYEBo= Date: Wed, 15 Jun 2022 20:06:49 +0200 From: Michael Walle To: Linus Walleij , Aidan MacDonald CC: brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, jic23@kernel.org, lee.jones@linaro.org, sre@kernel.org, broonie@kernel.org, gregkh@linuxfoundation.org, lgirdwood@gmail.com, lars@metafoo.de, rafael@kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/10] pinctrl: Add AXP192 pin control driver User-Agent: K-9 Mail for Android In-Reply-To: References: <20220603135714.12007-1-aidanmacdonald.0x0@gmail.com> <20220603135714.12007-11-aidanmacdonald.0x0@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, 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 Am 15=2E Juni 2022 15:44:04 OEZ schrieb Linus Walleij : >On Fri, Jun 3, 2022 at 3:56 PM Aidan MacDonald > wrote: > >> The AXP192 PMIC's GPIO registers are much different from the GPIO >> registers of the AXP20x and AXP813 PMICs supported by the existing >> pinctrl-axp209 driver=2E It makes more sense to add a new driver for >> the AXP192, rather than add support in the existing axp20x driver=2E >> >> The pinctrl-axp192 driver is considerably more flexible in terms of >> register layout and should be able to support other X-Powers PMICs=2E >> Interrupts and pull down resistor configuration are supported too=2E >> >> Signed-off-by: Aidan MacDonald > >Looks good to me (TM) but I'd like Michael Walle to take a look >to check if this is one of those drivers that could make use of >gpio-regmap=2Ec CONFIG_GPIO_REGMAP to make it even >simpler=2E > >Yours, >Linus Walleij FWIW, I can look at it at the end of next week=2E I'm on vacation=2E -michael