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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B632AC38142 for ; Sat, 28 Jan 2023 07:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hKjQ4GfE2BT+s/qL+RXgwqSAktq6CEK3NzTHJMQcFm8=; b=MODwENhW1IBu5w wXbUQldkP8lh3zcwIMqQZVKWVnRH/jr/ZZXDt7tbi/Vy9SgSoEEVPQknLfdfeppdDnhDY81ga4c/I H7R7hogfeoxCFXlKL0FlME5nCIPUtmdYw5k8Jn56LmsMch5VHOq6T1t1Swzg3iN1aW5rb7NaaRMUO v3oLQCUJM+/STCuirw3wtJBU+H06QFj+WWWrcanEdPoZrToabNv0b5NUfi/66PvUniFTHSaxExOc/ eZccUS3u1tuFZdJ31TmfGHQghcjPBoY6qHOBMHg0xZbMKX1DNEFYMQNzXrpQo5XSh3Z84+8N2H/8f 18AwJpEJeGICfblS/bcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLfkP-00HNAO-Dn; Sat, 28 Jan 2023 07:35:37 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLfk6-00HN1a-4I for linux-arm-kernel@lists.infradead.org; Sat, 28 Jan 2023 07:35:20 +0000 Received: by mail-pj1-x1031.google.com with SMTP id m7-20020a17090a71c700b0022c0c070f2eso10084582pjs.4 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=qBApkhrkrKV/t2KdL3km8qZ9Am0LYKJpbn8UgqY0WMcq1ZYnh8vwHqkPZ2VAiQ4MQF haB88oS5io6F9Pn/FZG10gvB4r/GqDcyhZnmC3b/R4EY9bjsPW/g2nZ/CQkHph7wDeEV /+51Vnc+9pvHXiC2rlZSRjV6MnXwAeY4dtUUlMC49m7U7F5J4ONUX69F01vndCL9UkDh G3n01WI5ocM3BXDQX+NtJVxd+YoIwijnyXPNvUDTapag8aJLzqlEqmzwF94lKejU38mS yK137OAUZoT0rlJQrfzMXGWip2Amg/hrRudINORCvOxxBDF9Z9ekM+QHShLT2eDF9sSn dgqw== X-Gm-Message-State: AFqh2krFMXeJMcgGYJWPpu3GqwwuuTKdYAFi2FHM5KpEjiplFG0okWKG kV3YfkrLt79DGbA0b0V19VUOd3SWCsHYp3cm3lRtqg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_233518_249553_555896CF X-CRM114-Status: GOOD ( 17.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel