Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3559591rwb; Mon, 5 Sep 2022 14:08:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR4AiRVSzITb+ZLyDuVvZ8u7955HeG5YSRgygNHPOpMRbvrIJbTKtInxFtTnv1ruFnsKUQyv X-Received: by 2002:a17:907:743:b0:740:ef93:2ffc with SMTP id xc3-20020a170907074300b00740ef932ffcmr33340188ejb.514.1662412120807; Mon, 05 Sep 2022 14:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662412120; cv=none; d=google.com; s=arc-20160816; b=TjWSMtL44DvPS9regh+oZTeTAgzzrwXVUdjzjkfFBbWlLi/5TlRZvYB4WcbBdUsQid h5DSeCmKHJMUf3Bti0hBEncMjncLDkQ5zt2z8aO7bVI1Y/FM3YUlP/PwTuKTZH7z11iS x/YvoVOQrAECXO0fxoTC3+GwObNYmlP1pD9SLrYC7iX7uo1EeqDnvpDfX7tvzbXXPXcE NCaQe66pndZUePAEoiGBegDFa6Jn/Wi4HowhIJ3gCouq5D390/s2KLHNjPHXgG8zOeb+ xL7ZT600e4KTx5+q/TkOzOKisyu7oiGHmCcCmt47Tw839IIKrsBdRnJyzeh3ht3petqO 8FzA== 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=hoFfvxrcWLiLIIghJLr7YqFR/bl7ppCzpkpzcFf25Ks=; b=OAR/D3qaHT2gWcHxzkRTnA6rYkAR1XvAInbTG98azvODcXzTCg0St44brhDFUhiVuO 14730SCTc2dlFLnDECkwre/AM77z64eW/fdHrDiDdspUjmY+jPn7Fch7rSiOWmfe6ucS 6vnzDJ4bKe6by7bSApzXCGgbAFlJAih/0R56cypqE/PfuiGwRjctK8cwZrt9QeKVpbVk uKH5V4cpH3ukIFi7Fh/Mk8w9idfrnA3WWatSVNKGxcqid2+DPxa9y4xm6qeH+s3Ff+qn ysCqaGU1FdJIlTmy06/SjgppSgiOR18KVXg4h4ygqM4plQj3kZjVZ4f4c2DByEC/LFZB BLVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RJtkdpcW; 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 c13-20020a170906340d00b0073099685059si7044424ejb.591.2022.09.05.14.08.13; Mon, 05 Sep 2022 14:08:40 -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=RJtkdpcW; 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 S232222AbiIEVD4 (ORCPT + 99 others); Mon, 5 Sep 2022 17:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiIEVDy (ORCPT ); Mon, 5 Sep 2022 17:03:54 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86B6165575 for ; Mon, 5 Sep 2022 14:03:51 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id fc24so10174435ejc.3 for ; Mon, 05 Sep 2022 14:03:51 -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=hoFfvxrcWLiLIIghJLr7YqFR/bl7ppCzpkpzcFf25Ks=; b=RJtkdpcWwDCjdU//f+NiUTQJO5kz/J/LQ4Oeb8FsER0ooLc9TUWAVJHwh16h0rFR6k jDNxcAT6fUKAWlYXkDzi9PRVLGCFhao6TAvvqUzCLnc6J1JgrkOg//ZWPBTqZXz06MLe g/E79BtcrSCZXcou4vgp2IFBghrcFJpfeHS130JLJDTFGdRTjjJVv3m8lMFyySNYfbdn zyHSJi+z2sGr74Gs8Ferhg3qHw1Rm2Rd7LpNg2QiPU+rsqNYeELsa2ObuGU9YVxZktXI +EIJDXEMJp+8DP7PW/zCtw+WHI1pL0md9UYJvdO9U0CdYO9jo7gVaKjIjDEh/+/hHVoD fvlQ== 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=hoFfvxrcWLiLIIghJLr7YqFR/bl7ppCzpkpzcFf25Ks=; b=3SY0kVfdHXJIgO3RQQz/NP4A7cFt9iFvmKhKvliSZlqE6tu7Nz0Rx171ceiK6Xi7tH P0+6+S+PYEJfLDFHac5fAQWHaSkSdZeu2ZNItq3IYFsPC1H62hVSzrDRcpxkY7B8XgXI 9bCvZqUxWblj5zYKemjzs0kXPC7lXz33OYtrbPVwcktDfO1sbpHn47DungnYQeKJgiP7 eGAQ0Rxp5JUGWFMayUyZ7Zw/Ki+LImLP9YUX40UCgYHcEShplPCOpYhlaJ3fQvHlYodJ RsDd4NP3//r+4HzTfQDCBCnFRTcC03/nPNWQd9oILQJyHgHI1TNEtI1cvhNibaX/voTr ykgg== X-Gm-Message-State: ACgBeo2nmI+RU99bQrqn9XDTOJ5gXld8UflYKwITQszy0Ftrh4wK6R4o BrsqFw7Y3Ie65jkx3E5UBqnAqerAPRAegCdT4E+HMg== X-Received: by 2002:a17:907:7242:b0:741:770b:dfc6 with SMTP id ds2-20020a170907724200b00741770bdfc6mr28207413ejc.203.1662411830025; Mon, 05 Sep 2022 14:03:50 -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-2-b29adfb27a6c@gmail.com> In-Reply-To: From: Linus Walleij Date: Mon, 5 Sep 2022 23:03:38 +0200 Message-ID: Subject: Re: [PATCH v1 02/11] drm/tegra: switch to using devm_fwnode_gpiod_get To: Dmitry Torokhov , Mathias Nyman Cc: Andy Shevchenko , 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?= , LINUXWATCHDOG , USB , "open list:GPIO SUBSYSTEM" , linux-pci , linux-tegra , "open list:MEMORY TECHNOLOGY..." , Linux Kernel Mailing List , dri-devel , linux-stm32@st-md-mailman.stormreply.com, linux-arm Mailing List 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 9:37 PM Dmitry Torokhov wrote: > On Mon, Sep 05, 2022 at 01:57:01PM +0300, Andy Shevchenko wrote: > > On Mon, Sep 5, 2022 at 9:32 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. > > > > I would remove this sentence from all commit messages since it's a > > debatable thing and might even not happen, so the above is a pure > > speculation. > > I have the patches. Granted, I had them since '19 ;) but I'm rebasing > them and going to push them. I need them to convert bunch of input > drivers away from platform data. That's good news! Are you referring to this patch set mentioned in a discussion from 2017 thru 2020? https://lore.kernel.org/linux-input/20200826161222.GA1665100@dtor-ws/ I put aside GPIO descriptor conversion for input devices (keys, buttons) in board files anticipating a swnode mechanism. Yours, Linus Walleij