From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 385DE3ECBC8 for ; Thu, 22 Jan 2026 10:32:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769077932; cv=none; b=ORrGl09Q8TZG7mPKMW5vvAokdf59Ak5F3eQfH29aRormA+httbK8MErxtyy3Chh8AdxzekJPzpYZe4l90WVNIcM+yovWjz4bBSsGh2lzJ8QE4Ky0O+/v25V2QZJPrSNC6rqISvNU+wQ1ahAP6+3WTpnfSyhP5x1+TpFM//soS/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769077932; c=relaxed/simple; bh=ryhJKdIrubrtkhY998UD9rUltkB54cVzq5qpVX6sT0w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=mb7U+SAwQq47X/SsoA0Y8DXAR332ewXekpfRC9d5S8AuP/BhSD6momijs4ppGFKHWRIVBDyVDig5ElrepB1m8NmF6x5vQV2s4KKnFuZETAYfS+mIWJ3bgncA9UbNahSEBDdGNADqAjIqK4rBwWRqpE3w+Q7Mhu+JLThqopC72M4= 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=n9VwJlT/; arc=none smtp.client-ip=185.171.202.116 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="n9VwJlT/" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id C7214C21A9F; Thu, 22 Jan 2026 10:32:04 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0B64E606B6; Thu, 22 Jan 2026 10:32:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id E4720119B2652; Thu, 22 Jan 2026 11:31:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1769077923; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=ryhJKdIrubrtkhY998UD9rUltkB54cVzq5qpVX6sT0w=; b=n9VwJlT/bDSClmAYLwqJ5gM67D0CnPLgczwU+8WRBcs7yiQSC9sK/6fndI4xhMSOdVDFEy 3CRmi6m88cyUQhVzhlonegTTJrvQnSClabqt/YUoXi4QuUImlpUzMvtiDBI8POkocXD0jO VQOGrRApe0+dF2w23GhVUIHMkJk0rO9JQyNij5BmXu3lFgmkI2lQr3T1QT430a9IG1Trhf 4cmnikguSPMyMAf0pQTyZmlxHCwc94Lnj1ap42/YVemOVgUum3ZnRGQj0URh5XuD276fb9 rHON4Kqqq7YJhtfuEGAM5eKfjXg4BMTUIPB7jxw0cTgMey8GeoLLizxZDdjWMw== From: Miquel Raynal To: Daniel Golle Cc: "Rob Herring (Arm)" , Chad Monroe , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Conor Dooley , Brian Norris , Kamal Dasu , William Zhang , Nick Terrell , David Sterba , =?utf-8?Q?Rafa?= =?utf-8?Q?=C5=82_Mi=C5=82ecki?= , Simon Glass , Linus Walleij , Ulf Hansson , Marcus Folkesson , Tony Lindgren , Roger Quadros , Hauke Mehrtens , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Krzysztof Kozlowski Subject: Re: [PATCH v3 06/10] dt-bindings: mtd: partitions: Drop partitions.yaml In-Reply-To: (Daniel Golle's message of "Wed, 21 Jan 2026 21:18:58 +0000") References: <20260121-dt-mtd-partitions-v3-0-ec3af93c8f93@kernel.org> <20260121-dt-mtd-partitions-v3-6-ec3af93c8f93@kernel.org> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Thu, 22 Jan 2026 11:31:54 +0100 Message-ID: <87tsweos4l.fsf@bootlin.com> 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-Last-TLS-Session-Version: TLSv1.3 On 21/01/2026 at 21:18:58 GMT, Daniel Golle wrote: > On Wed, Jan 21, 2026 at 01:56:39PM -0600, Rob Herring (Arm) wrote: >> The partitions.yaml schema is an unusual structure in that it includes >> all possible partition types, and it disables the normal matching by >> compatible strings. As partitions.yaml has nothing to match on, it is >> only applied when explicitly referenced. The use of "oneOf" also results >> in misleading warnings which are difficult to understand. Drop >> partitions.yaml and rely on the standard compatible matching instead. >>=20 >> The "mmc-card" case previously allowed any partition type, but now only >> allows "fixed-partitions". There aren't any users and the original >> intent appeared to be only for "fixed-partitions". > > It would actually be great to also allow 'gpt-partitions' as compatible > type with #address-cells =3D <0> and #size-cells =3D <0> and allow matchi= ng > on partition UUID, name or index. This has previously been discussed and > would avoid having to extract MAC addresses and WiFi EEPROM data in > userspace on many devices which rely on such conventions. Out of curiosity, why not exposing this data through an NVMEM cell instead? Anyway, this (re?)addition can probably be part of a follow-up series and is almost orthogonal to this cleanup IMO. Thanks, Miqu=C3=A8l