Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2456438rdb; Mon, 5 Feb 2024 07:11:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQgNCRTZ/FQTEVlsJPeSe5idNxM9NOXEsmRPYUhZpJvp/hn+pIvnEBMMaw9/ZgFsZjIsI4 X-Received: by 2002:a05:6870:7f15:b0:219:96dd:baa7 with SMTP id xa21-20020a0568707f1500b0021996ddbaa7mr1742532oab.8.1707145907940; Mon, 05 Feb 2024 07:11:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707145907; cv=pass; d=google.com; s=arc-20160816; b=TSVPu+2YOa8s6BeNKGVz0Ee6hj3eYJFD9Lm81Yh/0G+jYz7jgFpSkzf0zVbVxlxV5G 8117h/zTdhXei/01PGD8bk2mRJRMvQ+yl+D6dt/sK5tEVPp+Lo6LT9B938FhlE6fNB+O veal5+Bz5Wdk3w8LLf8omg1hcvWvfNZEiTgLHFVAiW6Tz1jjH3SlSOd70iRd51mwlY1N L+ApNDpyL8m58t2Pk+AMk1XT8BxdeLTvdW7+C57brg3yeM+x+6FAoy258pK4cBz0Xhg6 CcxIo52VySRWUev14MgnFEbIhQ0BZZGy2dHc19spxYo2ttoGZZg+/5r3ARNS+H/hAC4A wj7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=or1mC3Cf+BGWdRGGha8GQZG8rLMB4ONTBBAhWbyuCyU=; fh=QHZOIOcsmp5luuwIPzkLHImaAtcNelVPknD3xbzYHBM=; b=mC2WL52hCroXh4r/SAjia5Zq3avO+IVggcvFsnMyChKaiQXByq8vqtBKeDWJDZV3A2 dVwsRuypZ+/bFnXNxCwoB5Qce3HdZasI4pGefFHc0nwLIzTBfcxAe3u4KBk18/BiWm9p prT6NHRvlIIfvS7VYEi5yYPI5tTLhWqxnKUlHpDPIcyD8EOcTDBYo8i016MdCcMJZo9t DCA5sF8rsvsibLFzfca7aJI/c+Du+xCs6oIHB3YIMoqc0ptjbHyY4Wz+CN9yHU8wpOJj BCpuooMabX9R3Ys58xmk9tSK2DI6+KD/5lCZwF4872NPcS1s0Md08qOSMZu4wj18OxhD G1xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LRqzQoMw; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com X-Forwarded-Encrypted: i=1; AJvYcCV/7MXUCvmtWEtfeTUp+L2q+6jrnENUaLFICK1mtbckmqQm8UBFz8kMXporEnoisv2OT+7hAvUaC4jASRddZEBtzB5XgvnJBpvGS8XskA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u14-20020a0cec8e000000b0068c60d827edsi81710qvo.450.2024.02.05.07.11.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 07:11:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LRqzQoMw; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-52878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AC5DC1C226A8 for ; Mon, 5 Feb 2024 15:11:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A63B52C6A5; Mon, 5 Feb 2024 15:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LRqzQoMw" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 775772C6B7; Mon, 5 Feb 2024 15:11:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707145898; cv=none; b=Rik3nXkPaYh1U5PfVqiKw0Tj/nqDOKMGV00TOdAb2UepGwk1yMQvEpvm+CqHz2jMwXapB4kHK2y7IbUZrLI8kbwV7Gvw7ZhIMgLwP5fNKcQVprsRG3UTWl/6l0ZyHtf1poimMLcIOT5zSybo/wsenc3qQRh4vUmtFTM5aY+BfEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707145898; c=relaxed/simple; bh=or1mC3Cf+BGWdRGGha8GQZG8rLMB4ONTBBAhWbyuCyU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=K358rN8E1d2cn0DuINjIvhJj9L2bMnh34Uj7i5RdGyE+sabc2f4yQ193fHbVmLAJLk8ZpV+FO1RF35iuQNeB9dJId9q6oFohF7qy7fVUT3xPf8u35b7vXkJ3UwnyciaOHxRIH5Ec6ZPDU2weRFKPnAcvEMr56shWz7LxlTmq9Q8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=LRqzQoMw; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 0264C60004; Mon, 5 Feb 2024 15:11:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707145892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=or1mC3Cf+BGWdRGGha8GQZG8rLMB4ONTBBAhWbyuCyU=; b=LRqzQoMwi0LqJMn0BW7k9Q1PJnJOdm0smu8g8xANoGjCCjB4wSIO9lrD0rzsjkaW0mL4he Rrh0x+s78SdEpCrUOfDzXTvS1f6SvnfCoKy6cpXrqkgORMC60KGC8oQ1K76cy0nv1FDwcp nJx3hC9Du2oCn4qyDqL9IOYfRslZRh38kJ0tNH1hC+EQYpRSvOKhAk4FO7CF+hpyQrYvEb YbCVk0glppCgwpO3sEVsbCh8IjonYY2p4WiLvOZ88SQJT9z8waw/Yl/Z8eelCF+F1Wl6Eu i1X+9h5/XoETw2OMXInCqaxmaw2GU59MhKQcwdPb2dzKyldyOCRgcInWBTRmwQ== Date: Mon, 5 Feb 2024 16:11:29 +0100 From: Miquel Raynal To: Michael Pratt Cc: devicetree@vger.kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, saravanak@google.com, abel.vesa@linaro.org, alexander.stein@ew.tq-group.com, andriy.shevchenko@linux.intel.com, bigunclemax@gmail.com, brgl@bgdev.pl, colin.foster@in-advantage.com, djrscally@gmail.com, dmitry.baryshkov@linaro.org, festevam@gmail.com, fido_max@inbox.ru, frowand.list@gmail.com, geert@linux-m68k.org, heikki.krogerus@linux.intel.com, kernel@pengutronix.de, linus.walleij@linaro.org, linux@roeck-us.net, luca.weiss@fairphone.com, magnus.damm@gmail.com, martin.kepplinger@puri.sm, rafal@milecki.pl, ansuelsmth@gmail.com, richard@nod.at, sakari.ailus@linux.intel.com, sudeep.holla@arm.com, tglx@linutronix.de, tony@atomide.com, vigneshr@ti.com, dianders@chromium.org, jpb@kernel.org, rafael@kernel.org Subject: Re: [PATCH v1 4/4] mtd: mtdpart: Allow fwnode links to NVMEM compatible fwnodes Message-ID: <20240205161129.1889a943@xps-13> In-Reply-To: <20240123014517.5787-5-mcpratt@pm.me> References: <20240123014517.5787-1-mcpratt@pm.me> <20240123014517.5787-5-mcpratt@pm.me> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Michael, mcpratt@pm.me wrote on Tue, 23 Jan 2024 01:47:21 +0000: > This reverts commit fb42378dcc7f247df56f0ecddfdae85487495fbc > ("mtd: mtdpart: Don't create platform device that'll never probe"). >=20 > That commit is a manual named exception in order to avoid fw_devlink links > to an "nvmem-cells" compatible node which is a descendant of the fwnode > that represents the real supplier device that probes. >=20 > The commit does not work for newer cases, like the "fixed-layout" Do you have plans for it? Because it is the modern description that is now expected, so I don't feel convinced by all this work (which is nevertheless considerable) if fixed-layouts are still broken? > compatible nodes, but instead of adding another compatible string, > remove this workaround as it is no longer needed after > the previous few commits which handle the situation in a generic way > for all supplier nodes that are a child or further descendant fwnode > of a parent device that can probe, including when the consumer device > has a probe attempt before the supplier device, by using an existing > incorrect fwnode or device link to recreate the correct one. >=20 > Signed-off-by: Michael Pratt Thanks, Miqu=C3=A8l