Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp297916rwn; Thu, 8 Sep 2022 01:34:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR4nEL+G8bE6V+2NQEp99KiaZtVxsSpA8arU+URQZ68PEBYiTqBzFkMA6SdjEauoz6laIdFJ X-Received: by 2002:a17:90b:2708:b0:200:40aa:5cf5 with SMTP id px8-20020a17090b270800b0020040aa5cf5mr3114287pjb.134.1662626082610; Thu, 08 Sep 2022 01:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662626082; cv=none; d=google.com; s=arc-20160816; b=MD89+Eo4E5JJbLh3VmEoilnufbiCNCS+UODltXiGOl+4l6KrZdB46Tf3/0bV1vjnYa HV9H0Jf8afiK/Yn2ZLvHUAHW/fZvpEubKFYcxGHTimLWIePvRnSL8DuOqEkuVKJjHGMv y6Vqq01sPwSVSNBPP6Jk5iDrk1Ur4vVxcWzE2uFaeliT5Iwcx1v1Ug8p/lnAxILdHOmh VxSQnwCpEGlHxJWt5gn/fSw0izaPi9qppuyCrJ+KgQ1Z0sgvTnqL+VUWVSC0RiIufCun t79s7QCrZns8Nn41aDIKtXYXG2NEDGNqrsrsA4jl9J8qTSy04qGuzxBOZ+AtT65JdB1E ndnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XWkSveJnRzdKknQVJvingAQ78zNNLel+FWq5VV07OlE=; b=QKumbdijiR3vW17BPnwWwV6/4tMhTXGvBQeFIhDk4ZFOaCgk1HYOHvSDi+mmsbsLA/ bny15vVpx2bbGk+PSWpgwVC5ucyzTZKN7XpK/UG1VgD4D8N7PzDn143Eotrvr9PU1KjQ G92ZjLSFUIEP56iJduPtEstLq5tX7vLGGQbFLVKlB3fwzQPikdEE/hgnXW7nPqRT+UUi 7s4JF1pL2yzzICbpH4Qh1kR8jmRm2pxWySZXk2vu4EGDgBVucw5p3t/BHDcCij+ZXJLR 5/sQjOz1DWtSZ8U6//O85PLXMtHqvxMTcjhidVN66oVHWfwmApxnZpDUB78DRMtnEOX1 G2hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jRLi85+f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ea18-20020a056a004c1200b00540b0099d40si401025pfb.367.2022.09.08.01.34.31; Thu, 08 Sep 2022 01:34: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=@linaro.org header.s=google header.b=jRLi85+f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230523AbiIHIOK (ORCPT + 99 others); Thu, 8 Sep 2022 04:14:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231390AbiIHINm (ORCPT ); Thu, 8 Sep 2022 04:13:42 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50ABFD6BB5 for ; Thu, 8 Sep 2022 01:13:26 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id z21so13109811edi.1 for ; Thu, 08 Sep 2022 01:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=XWkSveJnRzdKknQVJvingAQ78zNNLel+FWq5VV07OlE=; b=jRLi85+fXwo43KQrU4myTG9XTPSquksWe/XvRX7TYb7GraJKW8IJtYfovgGkczWfO1 bYwJMLLFG6PNudKjBUQzz73STtBFd6V4x5FD4C8WkgDYNMvtc+1Bl0Kja840zmydb7Dk R1f+8EAh9SdZYshHDAY4euPG9fH7mHOJQvVccAuIrdg0ZDbUqPHo8WyX9mHuYCGimM24 YP3WQ6HmoChixUzx1paI/lXVpo3wZrRWlGGVbaMD9oe607cEm80TQq9udOFb7fMoKVdH qENdLT4lSWItLbHHuJ2dWiNS4MMdyM1rMc/BVCp3BIYXfVem88Ot/yq4n9Crmzb5y308 lUmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=XWkSveJnRzdKknQVJvingAQ78zNNLel+FWq5VV07OlE=; b=0/47MJvJ45Ac2p1TnrWIIIAF/N85pxtFZVEgpiPwzWBqiOa2cCcGiiDhJh0xsfiTPp RhURRoA7mux4kKU4VWI7xT24W3UdNsOO3hMEuPAuKuQKo3D1mCC43huDAklxPwjr88QR FsDo43/JXLXr0XZQShAW0lycL8IDAG6HjZDpAoDbQ5DBJWsFzw+e8A/Fziix8+Pc+P+A 0avrlOvLZHksDvDp8qeScL2s+fwXBr1eKXbimm+U9mpQBiJGaeN6+ZAr9V7XVdsgQgUL AJs08Y0h0UQldMJwfEACN9odcXBlZ3k0q57pDoeZdBq6zB5N9cCuLJ+QVsKAiDFZPOq2 jRCA== X-Gm-Message-State: ACgBeo0K7naZFFoPQJ2HYUtUU/bZnuTMniZnWq63yA0JkaSqYSOWjRKk nRarWZi5ecwXWgugPL2/IsDP1haKX76Olsw6w9YxyA== X-Received: by 2002:a05:6402:51d1:b0:448:bed1:269c with SMTP id r17-20020a05640251d100b00448bed1269cmr6168449edd.205.1662624804730; Thu, 08 Sep 2022 01:13:24 -0700 (PDT) MIME-Version: 1.0 References: <20220903-gpiod_get_from_of_node-remove-v1-0-b29adfb27a6c@gmail.com> <20220903-gpiod_get_from_of_node-remove-v1-1-b29adfb27a6c@gmail.com> In-Reply-To: <20220903-gpiod_get_from_of_node-remove-v1-1-b29adfb27a6c@gmail.com> From: Linus Walleij Date: Thu, 8 Sep 2022 10:13:13 +0200 Message-ID: Subject: Re: [PATCH v1 01/11] PCI: tegra: switch to using devm_fwnode_gpiod_get To: Dmitry Torokhov Cc: Thierry Reding , Mark Brown , Matti Vaittinen , Lorenzo Pieralisi , Claudiu Beznea , Liam Girdwood , Wim Van Sebroeck , Greg Kroah-Hartman , Guenter Roeck , Miquel Raynal , Felipe Balbi , Alexandre Belloni , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Vignesh Raghavendra , Daniel Vetter , Thomas Petazzoni , Alexandre Torgue , Marc Zyngier , Richard Weinberger , David Airlie , Nicolas Ferre , Alyssa Rosenzweig , Bartosz Golaszewski , Jonathan Hunter , Rob Herring , Maxime Coquelin , Bjorn Helgaas , =?UTF-8?Q?Pali_Roh=C3=A1r?= , linux-watchdog@vger.kernel.org, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Mon, Sep 5, 2022 at 8:31 AM Dmitry Torokhov wrote: > I would like to limit (or maybe even remove) use of > [devm_]gpiod_get_from_of_node in drivers so that gpiolib can be cleaned > a bit, so let's switch to the generic device property API. It may even > help with handling secondary fwnodes when gpiolib is taught to handle > gpios described by swnodes. > > Signed-off-by: Dmitry Torokhov Reviewed-by: Linus Walleij Yours, Linus Walleij