From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2F1BC38142 for ; Sat, 28 Jan 2023 07:35:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233931AbjA1Hfq (ORCPT ); Sat, 28 Jan 2023 02:35:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233936AbjA1Hfa (ORCPT ); Sat, 28 Jan 2023 02:35:30 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEFDF8CE19 for ; Fri, 27 Jan 2023 23:35:17 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id z1-20020a17090a66c100b00226f05b9595so6773222pjl.0 for ; Fri, 27 Jan 2023 23:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=b+RFpRJs0xuB4gmuObROuwz4dxLhUH7cqrzlkSnFIcc=; b=E5f3tYSRcGCHD0f05IVlrEg2aBkkQF0+d8+GwNVMRweXITwGxTNJvl5GTzT/ZHynfs tS33LB+QIqb6arl4mkDu5QIIcWq5vLgpXy8dfHP3V/owwfOnmTzyMOVP0yNrKwmgGMTM tG1bKn3TkpfZydcJaT59XgRaIixC6tces40+ymhlwJ1PXxTT4wvEjPW7qoMy1Ye0oXYz oCJ7l5IbZD3va8n08BzIwLdTZQpf60Obi65+jSPECZ4UGLN3XalZN27XFaLXBv51sDrI X/kC6qLfllMA7pk8Jbm/NdDdvLdnCZch7bX6oAHOjIuA2BwN+rjWZ4QxCawWq1g9Ce0Z cBSg== 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:message-id :reply-to; bh=b+RFpRJs0xuB4gmuObROuwz4dxLhUH7cqrzlkSnFIcc=; b=exyRAMoZ4sf/QRfM3QJN5mRK+HSibiH5TspsJpLSuqrX/TDqegx6aJW4JFibGIPLZ3 RnJHgH/iaGpP5jRWegv1j0w00u3O/sOszt+9bQD1BC5c97ZotohxjzhLCXlQ6kNZvHZh G81PsdNzbl/UsTq1arZMU2McE8iBneShfzRz7570m1YUlIszc9bcUH5WLLZmt+wAp0pS pyJqiI6RJFZGdRAoHdueFnguZuogpdZ+b6xSzMpge8xzQn2OGyK94oUZ9xunTxHeSGRX RryTLqg/NI4Q9Nz7fsWPcHoJX36dEPrjp4RaEiB9YARjSUOSM0KiWR+QiSZsgv07xi3E yqKg== X-Gm-Message-State: AFqh2kr8vvJNdf7lXmSnAIfo7xjmFZrXtVXcBOKoJyi2zCahGC2pnYrp htWrbOlm+go/8Hi4jZITf5ofaIOxmyxt2dF0tr3ItA== X-Google-Smtp-Source: AMrXdXtcy6GzDmIsWx+JJhiM4nf5ZJkxCfBvmjzprfDg2/sXA1zxWHzVMufXd/eGbAB3EbQBo759okdBtzEgtTTy6y4= X-Received: by 2002:a17:90a:7e8d:b0:225:d307:95ce with SMTP id j13-20020a17090a7e8d00b00225d30795cemr5435623pjl.136.1674891317143; Fri, 27 Jan 2023 23:35:17 -0800 (PST) MIME-Version: 1.0 References: <20230127001141.407071-1-saravanak@google.com> <20230127001141.407071-11-saravanak@google.com> In-Reply-To: From: Saravana Kannan Date: Fri, 27 Jan 2023 23:34:40 -0800 Message-ID: Subject: Re: [PATCH v2 10/11] irqchip/irq-imx-gpcv2: Mark fwnode device as not initialized To: Andy Shevchenko Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Sudeep Holla , Cristian Marussi , Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Marc Zyngier , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Frank Rowand , Geert Uytterhoeven , Magnus Damm , Len Brown , Daniel Scally , Heikki Krogerus , Sakari Ailus , Tony Lindgren , Linux Kernel Functional Testing , Naresh Kamboju , Abel Vesa , Alexander Stein , Geert Uytterhoeven , John Stultz , Doug Anderson , Guenter Roeck , Dmitry Baryshkov , Maxim Kiselev , Maxim Kochetkov , Miquel Raynal , Luca Weiss , Colin Foster , Martin Kepplinger , Jean-Philippe Brucker , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Fri, Jan 27, 2023 at 1:51 AM Andy Shevchenko wrote: > > On Thu, Jan 26, 2023 at 04:11:37PM -0800, Saravana Kannan wrote: > > Since this device is only partially initialized by the irqchip driver, > > we need to mark the fwnode device as not initialized. This is to let > > fw_devlink know that the device will be completely initialized at a > > later point. That way, fw_devlink will continue to defer the probe of > > the power domain consumers till the power domain driver successfully > > binds to the struct device and completes the initialization of the > > device. > > ... > > > pd_pdev->dev.of_node = np; > > + pd_pdev->dev.fwnode = of_fwnode_handle(np); > > Instead, > > device_set_node(&pd_dev->dev, of_fwnode_handle(np)); Ack -Saravana