From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44CE647DD6A for ; Wed, 3 Jun 2026 18:51:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780512709; cv=none; b=IOOfi37FsgxrSlh/YY4TPJxFF9pQaxtNyMrLPpA3EZUvOIq7+eRIcwAqKEgX5kaIDcwPobRMFsuLaLs2a0XikPWRqXA4BYa1x4X3p9mk1g7f49B1xCLznCoZdWiWk9IGWZ/9eWMqa7scOKk28vBFnn16zyxNP0Zzej+QN1QHJJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780512709; c=relaxed/simple; bh=SlqtCY60mHsDAVgQllPjTztuC7AhA5LchoyFVMWeoAI=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=cWr0ghEBICfilzb1esAhszPHAZyonmTRJfIw46Djtbz612IQjcrvDRdiy9ebGFBir7C7QjtSZtSciQoz9BWCW3nZI6B55lzlEpLmzWeC5I4QdmkzvglFwbFjk38oKqsyOGV7h1UO8zByPgoY8el4N/K6W1nrvdOaH44Z9V8q7zg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=DSSI+Cfa; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=dhak67tu; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="DSSI+Cfa"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="dhak67tu" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 653HvwCG3233934 for ; Wed, 3 Jun 2026 18:51:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Lv8EJ1diTsBXv/odiyMibLViRdzTqWcOuv6X6cwVhSU=; b=DSSI+CfaYqpxskZn Rjdu0PKMxKG+Uyb5wU5NB9fqm72SMVzbOmy2uhC5y9v/y+sCaoGLbzawaI459RbP hoi/XvgnEXXW/2ssP3yYhRcjsvLsX3MfeoK0vqc/ySRCgF+McqG1MnlU5mXZ4WPX KNS8sC2gxJ7tN2eDYdrTDeKDhl38WehZSfh+tC2OCggjSosgizvYsdngF2Gu0LtO QLltNj/mW7ziAPRoNPpeB1ySABpukGjr0OEWQeIuFwEn5GrXF3i6N9BD1KrbV8l0 PyFseuIbl3VM1V6nkXBlSqw/7K/jRsNHMs/RoeO6Yzu7Q1uQyR7Z6lIbjypUqzd0 oKV4Dg== Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ejs4s0796-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 03 Jun 2026 18:51:47 +0000 (GMT) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-c857fa2706aso2589848a12.2 for ; Wed, 03 Jun 2026 11:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1780512706; x=1781117506; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=Lv8EJ1diTsBXv/odiyMibLViRdzTqWcOuv6X6cwVhSU=; b=dhak67tunAJjuAMrReSHbLCjz5Etk4uFOvDcDh1HnWzC4E+YtMWi3H4Wx47DWfnY91 fMr8iRCUswu1a/ta9yDu7XdXLkj21t4bSRpgIrZbPjcuIXvcaVZMdrhh0TLdem/sMXXW jlW4dGvWN75hnIHV1xBTJEu049kEoeESTvOGqWlcl6oqUHasFZGQtKrXMUPFY7mttRoJ JkKWwlUD+fj7ekk1EwWffjafSRBZc9exEtXH+ItzX5GrHY6mdSEvKkqCUkHq4L8qLSuC fbHwoxt+yx4LqyCoiYBKPMi3JpcQ2k+ROAHyj1BOra2YoHLT2N6aPZJXRw/9U8YPkIxQ a0Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780512706; x=1781117506; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Lv8EJ1diTsBXv/odiyMibLViRdzTqWcOuv6X6cwVhSU=; b=qeRzbtcyTGW9VrOcaEN8eq/QaP7LfRP9bx5AxkfX5e16h7VlzXmKiClage8V5H8kTC gS39AmzcqtMoS2P5rvKWQ2r3ubBlApgq17jJhpEmDru3lqsvcPqmU/Qk3HqlSALiQ8Wo PTe7FDzVdVizdegdds8rDgGIKNd1XN3FJDcVQjn2SGYfjZkzH/Kb1l6CXbeq5xIfYowE EuMq8gkQtJsj/2hET3T/WQXGNXN+C0ARPbVkn6QB/i264PbIdizW9cyVxU7r/3TiTP2M LA5QxWtjIPwBKONakoqk4lZ9+eO/73thU0W9iKdKTCWEmHnmAWFNu8oEUkhwLlJjBz6r k80g== X-Forwarded-Encrypted: i=1; AFNElJ9iZngAGAALc9Gq8wvNM6g7Wvdgv9ZKdcPseaepY+a08geHvkwEfMBr/GsTzU3g2g9Qxbb0ZV2+LuVq198=@vger.kernel.org X-Gm-Message-State: AOJu0YwvEiIwYFPFvmW03cmmWtMPfG2tLNBDrPptLfvjJ2zRjUD2CENa mTNEGrJtuUUAM3ZvtfGjYbxJbLP1aZkBEljZ+xdd8BjbLHXvli7axqes5GhUMwC4dEIxlH88dCm bTZOpR0fKuTofvMPV9BMIeRrFzPo9D9EEW3bGkxQxH/akRqF6j+0szc83oXaS3Nzj+kc= X-Gm-Gg: Acq92OGxGFdmGVk9YvEyJl0TEiEgHPZKecZklK22/0/19e28KJpQ5TvRYe1HtotGSV0 rY0xXUU9oy+9fj82eCOdPb/EpxsvE3zdR2ThjQIUZ01+2e9+7NjMkayxaHKNjpR2835a9XpwNh6 EVVxVPKVqqKbmzPioxD8c1Mn9FGLECMsjq1WbmCoFF4FI8oLRKt8RBR5t+hEfkQancJhVW7HEPH VM5ZBL1jFJ7EHrPXdEF13WTC/VYAtlPoRz4H2SHCZQbwyRiI/3Hva3rO3+auYXcunCi1OhtLP44 cP/iDw+pdnGNhfRby59ubosbiEiLlBkLJv5Ic/zsV5IvrimZrE1wnBpqWpEJLyUcGPusFavR5G0 JUhZlGiwJSaohm4IWIGIag41hqhCZ66ZCZ9scVDn7+szVQXkJYSqRge2Wee8YGJwqg9FL X-Received: by 2002:a17:90b:2d8d:b0:36d:ae6a:22fe with SMTP id 98e67ed59e1d1-36e32288dc4mr4701731a91.16.1780512706181; Wed, 03 Jun 2026 11:51:46 -0700 (PDT) X-Received: by 2002:a17:90b:2d8d:b0:36d:ae6a:22fe with SMTP id 98e67ed59e1d1-36e32288dc4mr4701693a91.16.1780512705590; Wed, 03 Jun 2026 11:51:45 -0700 (PDT) Received: from [192.168.29.31] ([49.43.225.172]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-36e6d169abdsm2001534a91.0.2026.06.03.11.51.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Jun 2026 11:51:45 -0700 (PDT) Message-ID: <81680397-3bbd-4f66-9166-546c8fe753fc@oss.qualcomm.com> Date: Thu, 4 Jun 2026 00:21:32 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v22 08/13] mfd: core: Add firmware-node support to MFD cells From: Shivendra Pratap To: Lee Jones , Bartosz Golaszewski Cc: Sebastian Reichel , Mark Rutland , Lorenzo Pieralisi , "Rafael J. Wysocki" , Daniel Lezcano , Christian Loehle , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Arnd Bergmann , Souvik Chakravarty , Andy Yan , Matthias Brugger , John Stultz , Moritz Fischer , Sudeep Holla , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Florian Fainelli , Krzysztof Kozlowski , Dmitry Baryshkov , Mukesh Ojha , Andre Draszik , Greg Kroah-Hartman , Kathiravan Thirumoorthy , Srinivas Kandagatla , Bartosz Golaszewski References: <20260514-arm-psci-system_reset2-vendor-reboots-v22-0-28a5bde07483@oss.qualcomm.com> <20260514-arm-psci-system_reset2-vendor-reboots-v22-8-28a5bde07483@oss.qualcomm.com> <20260521112638.GD2921053@google.com> <20260521132419.GA3591266@google.com> <20260521162705.GH3591266@google.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: bXuWXB60timL4q8OJs4a5Edp7ASN5eIP X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjAzMDE4MiBTYWx0ZWRfX7/wjUpvUCOAL TkpBKcsp8IwpsZDocuGhUSFASMk5YmTTg3UFIX75NnjOccC5sgvPSC1G8awNuQBJuFbrjBACxVb D82O9HCGUcEyktk7UMRvKrebz2saafpA59wc73Dvkpm11Wmic8xZMf3397MRH51HG6Q4BS7c0yQ vJIShjoIHCKCkqNUVUHZFtYxyuX7oZw6LqoAUAnPyGs9mNVpm1GaNO3Nh2oZnKE528Lnb5tgvi3 M8R3BS8Zec363e3Y6FEvxWUGv5COwqA/CN1/1JJUURHHWrQ0KdBA6dqbuxSDSz3mMNiP3lXjfmh I7PxJkkDU9pGK1QZlc5AsEmd4GmymXgsFFytiWGLtsTn1lK8cgo/r6/KMMWUQQay2vpfoOVzKOE QaPmguZwZ7NywY6V2EH7tdo7v8yjfnRCsDkrPTrLw2TqQCCdsqfcpMqM+DP+fNtUY+cAhIiiN+4 Ecp0x3XavyDbhATO3Xg== X-Authority-Analysis: v=2.4 cv=afRRWxot c=1 sm=1 tr=0 ts=6a2077c3 cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=eYGGw6GSBUcLogt407YXxQ==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=VwQbUJbxAAAA:8 a=7l-9YH0O8PdptT7AxrwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 X-Proofpoint-GUID: bXuWXB60timL4q8OJs4a5Edp7ASN5eIP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-03_05,2026-05-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 bulkscore=0 phishscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605210000 definitions=main-2606030182 On 25-05-2026 15:04, Shivendra Pratap wrote: > > > On 22-05-2026 14:38, Bartosz Golaszewski wrote: >> On Thu, May 21, 2026 at 6:27 PM Lee Jones wrote: >>> >>> On Thu, 21 May 2026, Bartosz Golaszewski wrote: >>> >>>> On Thu, May 21, 2026 at 3:24 PM Lee Jones wrote: >>>>> >>>>>> >>>>>> I suggested it because of its flexibility. The alternative I had in >>>>>> mind is something like a new field in mfd_cell: >>>>>> >>>>>>      const char *cell_node_name; >>>>>> >>>>>> Which - if set - would tell MFD to look up an fwnode that's a >>>>>> child of >>>>>> the parent device's node by name - as it may not have a compatible. >>>>> >>>>> Remind me why the chlid device can't look-up its own fwnode? >>>>> >>>> >>>> Oh sure it can, but should it? I'm not sure it's logically sound to >>>> have the child device reach into the parent, look up the fwnode and >>>> then assign it to itself after it's already attached to the driver. >>>> This should be done at the subsystem level before the device is >>>> registered. >>> >>> Leaf drivers reach back into the parent all the time. >>> >> >> But drivers don't generally assign firmware nodes to devices they are >> already bound to. This is racy as in probe() the device is already >> visible to the system. There's no synchronization of device property >> access - properties are assumed to be read-only for a registered >> device. > > thanks Bart/Lee. Any pointers to take this from here? Hi Lee, To take this patchset forward, it would be helpful to get your views on fwnode based addition in mfd-core. Maybe, a member like "*named_fwnode" in mfd-core and then a lookup logic, or any alternatives? thanks, Shivendra