Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3613730rwb; Mon, 5 Sep 2022 15:19:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR4UGQE1dR1JLSHX+gcAGQExTZ/XcC02MxT/OyIQMYhCu/n3ljUPea8/jepbOw99tYCN6fgG X-Received: by 2002:a17:907:7242:b0:741:770b:dfc6 with SMTP id ds2-20020a170907724200b00741770bdfc6mr28373912ejc.203.1662416369796; Mon, 05 Sep 2022 15:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662416369; cv=none; d=google.com; s=arc-20160816; b=ieAFiZCtE/5/TiGi0GujxeP5rt9fL3Jc9hBxNfR6EC1JxACFQIQLwp2Ey5D2i7s8u0 PsNMzXROF77iYQu8pbmwBZNtEuD7wTLGQBXxDyawqOJNOGwdY3xS6FFNb8d87n/dJ6WS ppiG0HguiCo4govP4OreG/XMrKsORFV83ULyZdsDHWNzEUe4fkhIZdeZYHO2kFM40TBT a9FGp/m701xuYhuDeP1GviWgVNDImFqMIRSpAqXV/q2pRbj7MH7+fYDjKo1XyQi0Jjqo NBLUlCGlnOAj8NotWofUBENUGwHIbJL9u3xgwjIP5R65cKdwDfP1CH5DXXH823oIfkO6 RoRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5z1ooZsxXJhukGg5jtTnKIsDm0LxvDPLLdQBFIOg9Mo=; b=K+HZv2VV9PjAc0Em6EuJ9M9ndqpjrwxQL5hxM+k1cg2qGOwIITGm33BGgl1lSBLLJ7 qqib34h6lg13iyQZgtpjVkf6w3P31UGtvaVRddCJ/14ZQhOYtI0wNqReD4LbxZN1uZeF 0T7ODVysVBPD03hq96ERUWHGSdD3aLzxff8UzoZFSXBmTv0eOu3igc1fbQvD8pK3jGDh M1G+SrbT1ua7yoDM5nb4CbodTgbsTrFG4MaVIgPiMvaWm1vG94G5nSTNRQdgtwnRH8O+ ajHPH2HlvS+DrSFwA2GrDv5IFITuy3iQjb96lrLSDURRMBTySMj9OwjRdNzONydJqjfs 8CyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YgTpoNtQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jt21-20020a170906dfd500b0073c42b1c93bsi765009ejc.458.2022.09.05.15.19.01; Mon, 05 Sep 2022 15:19:29 -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=@gmail.com header.s=20210112 header.b=YgTpoNtQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232288AbiIEWIl (ORCPT + 99 others); Mon, 5 Sep 2022 18:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231706AbiIEWIg (ORCPT ); Mon, 5 Sep 2022 18:08:36 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97BAF52478; Mon, 5 Sep 2022 15:08:35 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id w63so517473pgb.7; Mon, 05 Sep 2022 15:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=5z1ooZsxXJhukGg5jtTnKIsDm0LxvDPLLdQBFIOg9Mo=; b=YgTpoNtQskYKJFiEm9roM8UsHLvYEBNA1mL8ijvR43dcIl3qE9TJ2QJ31Crw3ouUSM iI8m5cQ7oncVgCHnH06GZ7ixBdCItXBCOTQ0lnmtukCsaxmucAabTpdrPK7wJWhoEWT7 cgfEiI7IXkgrurTPX8XkkJoSsKsg9OzznrhVAXoVVoMju1sc4m7PY17g3MSbb/mrzdVs e0eC6TEC3Uajc8BSqN8s3bXjyqbHUencfLf3ZSqIc6lxiBQcd3c3TAVmvjecPrYNaR0z fbBCLNGPTSjT+MdQuaaUYKGVdpkhWWf3pd/I4UIY2tn2zmhrhfXgmb3XRio80gdSixHJ PRBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=5z1ooZsxXJhukGg5jtTnKIsDm0LxvDPLLdQBFIOg9Mo=; b=yat+9I01hLst202T647S0z2g9y0kdL8Xyp4Gg++SUhMwcWKG2uTirDTAyP8BHHYoJ3 gbCeedtBkmz6mBCClWEX9YybLEF3zYkQUgqKrG2zsB3/+Yalvkz9k+jkhaOdLa98sOIf c/ygC9czFQf160u+Nnzw/558B8MgL0618I5O60atsccMKw27+T7BPyFVPcCTYdrXksVX tea2nrHzY6nblaP4xYSyZo/sitg0X5PLtrWDSukhuF5qYekJ7ycW8djLg+5KBYxTrBdY Ai+CSaCmc/ZUv9aseu/F7pAdmzwSm2CyL/cLXhBHqGqWzpp7nhT8l65R/SlUpK8U/sZJ r6Ag== X-Gm-Message-State: ACgBeo2FGl3dNjwYgZt3fu5h86GhQqTWnawRZ9PbJjNsL+n5q68M0joH VvdXfRDLIGYuY6rBJOalPrg= X-Received: by 2002:a63:4719:0:b0:42c:5586:de2 with SMTP id u25-20020a634719000000b0042c55860de2mr31993067pga.158.1662415714908; Mon, 05 Sep 2022 15:08:34 -0700 (PDT) Received: from google.com ([2620:15c:202:201:1190:fbfa:ae95:111c]) by smtp.gmail.com with ESMTPSA id a12-20020a170902710c00b00172f1d0825esm8092373pll.113.2022.09.05.15.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 15:08:34 -0700 (PDT) Date: Mon, 5 Sep 2022 15:08:30 -0700 From: Dmitry Torokhov To: Linus Walleij Cc: Mathias Nyman , 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 , Krzysztof =?utf-8?Q?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 , Pali =?iso-8859-1?Q?Roh=E1r?= , 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 Subject: Re: [PATCH v1 02/11] drm/tegra: switch to using devm_fwnode_gpiod_get Message-ID: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_NONE,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 On Mon, Sep 05, 2022 at 11:03:38PM +0200, Linus Walleij wrote: > 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. Yep, that one, exactly. It is taking a bit longer than I anticipated ;) Thanks. -- Dmitry