Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1032226iog; Thu, 30 Jun 2022 15:34:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uBKG/AwVcUJc5wVOWbgGjTuzbW4RAow6ddmAxvdAg54chN3t9XkHw7w839iAEIiFibWXT6 X-Received: by 2002:a17:902:d4c3:b0:16a:7696:971a with SMTP id o3-20020a170902d4c300b0016a7696971amr16477352plg.142.1656628451631; Thu, 30 Jun 2022 15:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656628451; cv=none; d=google.com; s=arc-20160816; b=ANa6+kGaR8+Kc1EITLyjcs9LjYBEKeh6mtbaXBOJz7yIgwwf2sqg09TKEiZS1CgAUv DMbAtsqv0nu2oG7pdLzcGUloxvuBa/uf2WjdpxviA3INiQrIKzQMy3G5JNyE3e/0kNsr vu0Ew/Tln8Y/3VTwTe0vDqZntVTj5cHc+Jp3uku2gHHPnp8H5rlBWlwrV4UFFTgo3JrB 55dfbEOaUxoJZiAxhV8cKfSXObw+M2C5t2xxmCet2Syh1wM5RD3YfoLPl+8EAOnvO+nD vuFKK2x5slkGmv0l6AhAepo25/wh+8Ps5jR2x0+/RkK9xuXbvOaBuHcZhJ5w1+98xN/x LT1Q== 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=ftr+6PXIS1akRAQTeRzXuJpV+USRlStTYdmwOd5dXsA=; b=ZtfBGfGxGW4RTe1WxlTY3XpM0sfnHGtyAGSHW92vEPnPpX1DrF+SCNdHVNXoGghnBv xbC0UpTvtkdNJedSGKawChVEig0kHVk3wnWMEVohcJEx8Kg5geB0mS8Kck4sSAP028s3 jP47TUs/x9ms6SqzGlJSdd5bdHPk+dBcKiNDFIwDxeVD4o+vDfb5yL8os7aa2b2Xp4el PizD6bXazHykyAzfCqA7ZHTK5dZkycrk9qc22JnQKCvdI52PwdiMkTqKdWtnlWFCLZAU hhA7PC4CVcZ7LJVSzd35dbY04fpwGaNny2HYIuJ2owJ7L2wYubxdS6Rcj01hXTBmR1i0 xyMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kmfYoin/"; 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 m3-20020a1709026bc300b00169e3211dd7si26384947plt.386.2022.06.30.15.33.59; Thu, 30 Jun 2022 15:34:11 -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="kmfYoin/"; 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 S237601AbiF3Vh6 (ORCPT + 99 others); Thu, 30 Jun 2022 17:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237392AbiF3Vhy (ORCPT ); Thu, 30 Jun 2022 17:37:54 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C330753D23; Thu, 30 Jun 2022 14:37:53 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-317741c86fdso6448747b3.2; Thu, 30 Jun 2022 14:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ftr+6PXIS1akRAQTeRzXuJpV+USRlStTYdmwOd5dXsA=; b=kmfYoin/phWuLN7gbV2J/cCeZrKiSks9ggJStrEnbtotEw6sbU/scgp/GHBX1jtcto 1VUVjdjGM2E+Vmc2MiE3jRyOCO4X+ybkGZGHoU6JmMZ4oAIXh65yCp84QM9/eD4INT6P YJtMgjd3WgtJ3lyA9042ww//l7pt0MIHyf1gSWb9FFeUS03Ll/tubYJUQUTAa9IjVxwi u0Q96ppGLXwhXdHKFWbIVxyL4Rr+th5ql5HYvllu3J8VXxJjZHevjIblmn3rtHO4Zbuh 5PHDHCjeBwicPWn4PnTqvY8Cbjs79JFLd84xVvYCzK4Ru791VNt8ShG/09VL4Eg+2xcz qYFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ftr+6PXIS1akRAQTeRzXuJpV+USRlStTYdmwOd5dXsA=; b=Yq8gAVj18ByytRhFTutwaw6OqLLNGS1z2iJq8CeanoHTHrh4e/kqE/lVWrld2T/s/s LXJO0iqpYSLuNzMUqBlhPDtSW05eC5CxLyLv6J4eR9YSoK0X1K4YqVZhglf6tZgoIamz JTSioXtdtKzriPOq+S7u29qw5H3KmVGJ8GikyF7QKeER2R5g57EeH3uSnv9Xmem7TCvM 536NQ6amJtUOnGOVz00JISSpC/7Du7l+R5AjzLGac3AGxaJnVzRfAyUHHUSbpeQJw6xE 6Yz7IZHNGkShHuJ4DPHmBVZUWBpQtK7EGbon5cYaDe2Ypj5vWVf8tP+xNwa3+HbrEEDb G4ew== X-Gm-Message-State: AJIora9pPrr4oSw0UnJWN0Zesl/qPKX5O5YUKXabiqj4JSg+TXbeEzqT uu9HdPAu+rHLruZJkUKRoDrv3e7b6Q9HfjB77eY= X-Received: by 2002:a81:468b:0:b0:318:4cac:6576 with SMTP id t133-20020a81468b000000b003184cac6576mr12582701ywa.277.1656625072912; Thu, 30 Jun 2022 14:37:52 -0700 (PDT) MIME-Version: 1.0 References: <20220629115010.10538-1-andriy.shevchenko@linux.intel.com> <20220630162716.GA2842206-robh@kernel.org> In-Reply-To: From: Andy Shevchenko Date: Thu, 30 Jun 2022 23:37:16 +0200 Message-ID: Subject: Re: [PATCH v3 1/2] of: unittest: Switch to use fwnode instead of of_node To: Rob Herring Cc: Andy Shevchenko , Frank Rowand , devicetree , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Frank Rowand , Linus Walleij , Bartosz Golaszewski 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,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 Thu, Jun 30, 2022 at 11:34 PM Rob Herring wrote: > On Thu, Jun 30, 2022 at 1:03 PM Andy Shevchenko > wrote: > > On Thu, Jun 30, 2022 at 6:29 PM Rob Herring wrote: > > > On Wed, Jun 29, 2022 at 02:50:09PM +0300, Andy Shevchenko wrote: > > > > GPIO library now accepts fwnode as a firmware node, so > > > > switch the module to use it. ... > > > > - devptr->chip.of_node = pdev->dev.of_node; > > > > + devptr->chip.fwnode = dev_fwnode(&pdev->dev); > > > > > > Perhaps I want the DT test code to test using the of_node pointer. We do > > > want that to work, right? > > > > Nope. We want to get rid of of_node in GPIO. > > I would think there's old PPC users preventing that, but if not, good job. Recently applied by respective maintainer, so no more PPC GPIO using OF node. > > > I'm really not a fan of fwnode'ifying things that are DT only. It's > > > really pointless churn. > > > > Other way around, keeping an of_node for just 3 drivers (and counting > > down) + one test case is pointless churn. > > > > But I got that commit message that is unclear about the intentions > > behind. I will update that if you agree on the rest. > > If it is going away, then what choice do I have. :) Yep, that is the idea. I interpret this as "go ahead with a better commit message and I will Ack it"! Thanks, Rob, for your review! -- With Best Regards, Andy Shevchenko