Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2026642rdb; Tue, 3 Oct 2023 08:11:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/216iV1810OgXNrqCEjb9T2eno0TGREn9KmuaWcr3KG8hnk7b55B0XPW0VghnVhobSxY2 X-Received: by 2002:a05:6a20:840c:b0:14c:c511:387d with SMTP id c12-20020a056a20840c00b0014cc511387dmr16174673pzd.9.1696345882100; Tue, 03 Oct 2023 08:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696345882; cv=none; d=google.com; s=arc-20160816; b=ROzAIejMn2ggr+Rn/oIhitvObSiz1N6SPfxwd84HceVCo6U/QU/1lW4wW2JEsmxo/t gbcB4KcLR5s+/77C+dXLjvcIjW2Z7eWjyNUCl551bG+bZt6x8xzf8e9Jg9Gib8qyZaDy BHSIW4tio6D0FigVb3sdzli1cIjV6ri5wcFiUpzwsbVWwDXPI6VXmmp+SzbRotp+oHP3 9w/aqHn1OvYh2Xi17ylPt8Gs3RKo2vO76crd60LdXmk584yUoe3YuNgPoQhg7HfppTxg dZ+6C11UX7WWJHUR1tVQJ6SCRTb1KWWMthBMJAWu62TICspkEy/LzXeYO0IHascfGt5A n58w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fiXxWMJ47nKQjlB2J9U2l8AGA4fKp6m9M3Jty/can1k=; fh=YzFeta9wbBtFdHfbuNysZnSe7+crMJ4Xa6Ln/x8p/7A=; b=Qi1R1nImfwYVj6jzRAaijfAlLIMHfAYvjeTnrmIkJEUp/WrLoxK5fVyfirkiOrOzic OSN7KqKK/TTXgE6Uaa84ob23CfpH4JIJffo5anRke6aaxkvMBR3T0XB6ptup1ngFTtR8 O1OYBf324fmOtS6Qg0SjbwpBc9KX3aWfpy5UoVW5ilxYXMNqI81xRxz3zYYrtw1/lfdR nbShre8BQu6pbyjpRpXLOf4+rczr9DZMH7A5UhacHEdY1qvgTjrD6XwzXF7p8y8DUz16 acGDO2FbkTiSQSP3iHTYvPyozvhZWrTIGr8EudiZQadLMbWrppjutupNRng0FJf3Q2bC YwFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hNqOt8V2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h6-20020a170902680600b001b9dda4e1e7si1552090plk.154.2023.10.03.08.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 08:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hNqOt8V2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 79725809AF93; Tue, 3 Oct 2023 08:10:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240228AbjJCPKl (ORCPT + 99 others); Tue, 3 Oct 2023 11:10:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbjJCPKk (ORCPT ); Tue, 3 Oct 2023 11:10:40 -0400 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CFF6A1; Tue, 3 Oct 2023 08:10:37 -0700 (PDT) Received: by mail-ot1-x32c.google.com with SMTP id 46e09a7af769-6c4bf619b57so672507a34.1; Tue, 03 Oct 2023 08:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696345837; x=1696950637; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fiXxWMJ47nKQjlB2J9U2l8AGA4fKp6m9M3Jty/can1k=; b=hNqOt8V2s98KEctUz4bJiK0RNVnVTIx6ZPlIuap+Y/ovKrp+eRJcmlX/+rcsOlfR/m AzhWpHGzrpmq/bO+5mtrgJORLixDqmL5kgaF02UFJb7Qsx2sTvee41GgV+oJ97Bs2Bt7 2ryybGGhqvGo6rY7QGGSDayEK8LzJmte3tba/WymAcPJE3OGrt6/0rTv80zF+XfdF0GE dkUxJSe0RNYaWRFIKf1g+e7ASJBf6PPpik+zPmbAA6ZU5vg5gm7j/alACqOop013D5Wp czNMj2PZpouu3fmT6XdMvwvGm7CH20ZsRjgxTMa6oADjYZZB/AaBN4U7J5je4gGH0WW1 WGTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696345837; x=1696950637; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fiXxWMJ47nKQjlB2J9U2l8AGA4fKp6m9M3Jty/can1k=; b=T2JevvaY24ZkoF4wj+gcnw0zXnSsT8zakOZMIchk+YNV9vrikYh9WIrpLp4W9dEh/f ZQX+lEB/nr1T5+WP34JfQ1dnxZtYrmDAppMFtC8NF9iM6JBk139SCihOpzrf50JKZcmy /GOp2hp+UoNdPSbLLgHS0dBTsGS5AtXDjuMjNRdpPv5lPCc1QfNgMssYjv6rV2kCdrpv WHcAHyD9DByG+5hJ8B6DgIozdIab/0yeCNyXMmw6zZvk72xM7acvRlqtotvxKxuaXfIX OI0w7YQpw7+HNMHtrhf1v4vxzpCIKQ29jF4YlmXGJXX6X8tewPI+sbsJmCPJK2vM9okU chNA== X-Gm-Message-State: AOJu0YxXj8ZVgyVU1cN2RiWZrIGFA5VisABWG6nnMMFQ0aBXjTSHJwVG VgmTlMKmIX2Iiv6u7KiMUoUb9aJ6GMbY5AMK3CcWTjIgeSwnUg== X-Received: by 2002:a05:6808:b29:b0:3a9:9ce5:83a9 with SMTP id t9-20020a0568080b2900b003a99ce583a9mr14105387oij.50.1696345836748; Tue, 03 Oct 2023 08:10:36 -0700 (PDT) MIME-Version: 1.0 References: <20231003145114.21637-1-brgl@bgdev.pl> <20231003145114.21637-3-brgl@bgdev.pl> In-Reply-To: From: Andy Shevchenko Date: Tue, 3 Oct 2023 18:10:00 +0300 Message-ID: Subject: Re: [PATCH 02/36] pinctrl: provide new GPIO-to-pinctrl glue helpers To: Bartosz Golaszewski Cc: Linus Walleij , Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 08:10:43 -0700 (PDT) On Tue, Oct 3, 2023 at 6:08=E2=80=AFPM Andy Shevchenko wrote: > On Tue, Oct 3, 2023 at 5:51=E2=80=AFPM Bartosz Golaszewski wrote: ... > > + * pinctrl_gpio_request_new() - request a single pin to be used as GPI= O > > "new" is too broad and too odd suffix, what I would see as a better > alternative(s) is (are): > > pinctrl_gpiochip_request() > pinctrl_gpio_chip_request() > pinctrl_gc_request() > > (sorted by personal preference from high to low). > > The similar comment to all of them. Or since it's about the GPIO line pinctrl_gpio_line_request() (and other variants near to this). --=20 With Best Regards, Andy Shevchenko