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 4B554C61DB3 for ; Sat, 28 Jan 2023 07:35:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234053AbjA1Hfu (ORCPT ); Sat, 28 Jan 2023 02:35:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233773AbjA1Hfk (ORCPT ); Sat, 28 Jan 2023 02:35:40 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D28AE8D0B2 for ; Fri, 27 Jan 2023 23:35:17 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id z1-20020a17090a66c100b00226f05b9595so6773223pjl.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=2vcC3gPhzHGbB6f5r4pWzHhsz2OHMQFyTHwFSsnH5PH54adkYUlnJ5h84wCZohYUJX yRbwBsXawgcH2Uap0UMgxTPWoLrArRjCOLfekxtgsUbgnI2TTZ51y4qmRvxejQ5SjYFn dU24QFuf3QhqO+zq5wug662S7cYDGYcUmjfWL4bVQO40RLGT+Xw4ApB0joJxDFfbcNH2 H1jkOjGbjDtNJ4o9LgUxyXR1lBrWw8OHgxeTPHnGeQ+eqHfELH1kd1L5xRb5Pfj1ZQeP LL663IV+w/5rLtybPl7/9w1/xTF2sqm+D8brZ+1Nh5UKzyUAdftQJwQuIup+oaBzxrtg U64Q== X-Gm-Message-State: AFqh2koT2L8qjyl34tKeZQxgxKiEx6H646xesFbhx0nMZbfNtwTzbU7S iWQcyWIOIuYmNNQOp5MWcCuZwoc9JnQMM4hIaIwUAg== 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-kernel@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