Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp696391lqp; Thu, 21 Mar 2024 12:40:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7dHQFmb+1cnFYdZ5aqbBg4smpjMmqAfGPvn9TwKKyJ2V1lD/A4KDnbovfhle305ccRiV5eSYYhd+PturssYKOd3bZF9Ez90bdueiEbg== X-Google-Smtp-Source: AGHT+IH8hhLIoFmwY9yOZfGDtonaDSX5IxGA8QUl6p8k3wH0m3GdTn0OIRS8kw70IOoGuknDeEdf X-Received: by 2002:a05:6358:398d:b0:17e:f3be:5c0d with SMTP id b13-20020a056358398d00b0017ef3be5c0dmr363172rwe.15.1711050003162; Thu, 21 Mar 2024 12:40:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711050003; cv=pass; d=google.com; s=arc-20160816; b=F300ZH0yfY2nWBwCqJSwcQtx8kSdVVe96+mnLw5HGhFme1sCAHGNoRUZixyz1nv7Yn AbWe6BlYBbJXWsoIiIJuLWCWOmnERULFiu/x7Bb4rat0361BOFutdno+BbTR0ekL+B8r T7u7EDXLOiI1QgLZEXHdF/8NY8CZO/oRzumTHVfjyCwUrfQa/RBw5rVc17Z46KDJBXfg yzSc4zY0zw9Wp2VE95hz6ejgW6WRrF0Tlw+IVNm0HOzifGcmSqGUmU0hKor1EmcR6d8c MIDgBiu/eWYVMpXQMOOM6LVPivjHGw/8yw4USEB0j/ImPV49K+3rr1v4OyU4g2iik4xR sO9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ZwBvmeDuFy6qzsqAXoJIv3bYFPMnT5rPGXQS2NHLAx4=; fh=b+aENsSTaAQk8KcOuyetFSa59SXzy3jJvBBwlFF8Yd4=; b=h5xhMuOK8HNBMknf/Tyv2+c83P6MnLACBPwwJG0I/yBG5KHDNrE9y4qiC8KztPjC1i xjtRv50Yg47XgNk7qNp7DvcmvTexDAkYrfvsOqdlEQXpULPxebrcniTWkLj1vr9hs1Kb bqrG84IqAj3VtZ5+bLI8VpjJ+vZDNRbQ60HNADoM4TCeCdkSTohoFJCcKpNHsDfIzYJ5 9kb6KPNWQeefRbh7hw4pz4dVKl9CjlpDzKtHZ4i0WrRHt5k/R8XqL9NMJT0k5y9Dyh5e nJwnfwme9rM2ZvsBKyBDACszAKxC6WOfN6uj/HASDvBwQ80Y5sm6o2bNiL0N1FDTgxH7 m3Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=EgrRMSNc; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-110606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b3-20020ac87fc3000000b0042ef63a31f3si442594qtk.51.2024.03.21.12.40.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 12:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110606-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=@acm.org header.s=mr01 header.b=EgrRMSNc; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-110606-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org 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 AEB871C21CC3 for ; Thu, 21 Mar 2024 19:40:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA9A1134436; Thu, 21 Mar 2024 19:39:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="EgrRMSNc" Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (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 880A31E500; Thu, 21 Mar 2024 19:39:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711049993; cv=none; b=o7lb6V3BlciJvvc5zFDEBT1RvgvyVihkU367BKM9hneApVmjlHt5rl+VEFSFLri9Pb6xB5IneuNEC/7Mz/nk9ZB/1SstPir3/ORO+t9HQHVu3YCIrdDx8ATol3ADg7knz+qW0OQ1lggfFrN5WXYpnnUbXB+MQwr3l+7oj/5zMtY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711049993; c=relaxed/simple; bh=GjHlfCNvLtLaYhBRLOZv2mrE5/DNMisJ2TJ1GxHA2ZM=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=tTP+1U0wpWZoOEwQ4KKZncKTPCYtMVPGp+HnuU03+PmTfGfzeon5mAilev6KpOfHoCjHLGkgUC3Gd5q2L8rERoOcLLIq6TRxVhQlNU4U6oai1uvPuwzSQoh30eOgP7bvie7ns528Sdvlvr5mGI02ry2jLpLtCcSpleNnOreLLmY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=EgrRMSNc; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4V0wlV4m5XzlgVnF; Thu, 21 Mar 2024 19:39:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1711049980; x=1713641981; bh=ZwBvmeDuFy6qzsqAXoJIv3bY FPMnT5rPGXQS2NHLAx4=; b=EgrRMSNcPkgZtJmWOb+uXikse00Y/vshM3pH52aX MaEiEf0WCgJKPshbGc7+vad8a5qYbW5MwOfh8P9qegGUsccTrc166O9UrcxL4rX3 YPl7sb1VYdOCrYOJI7yyRPOncHhVrISycbdmD5dYhcHpZ1ofkXfiyXHNuc/YPYRP fPdB1ei66eutNFDhXZlUHhgvV/pjvSYHcfEPGU8tgF/qcTkcY0idWYKoKl2Rs/ik 8vy8fn4b84k2jNc2RkQeiIl9TRF5hGWw1sc4jlbY9s9nuTZu4SWjX603enthCDXk ZoTzAnQFaxdCcmRXWr/WJ4kJsziZfRJs3/yLDnyHnE2fyw== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id VNP5YjymPFIX; Thu, 21 Mar 2024 19:39:40 +0000 (UTC) Received: from [100.96.154.173] (unknown [104.132.1.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4V0wlF4WF9zlgTGW; Thu, 21 Mar 2024 19:39:37 +0000 (UTC) Message-ID: <38efd4e4-0421-4318-8b2d-ca2603d482f5@acm.org> Date: Thu, 21 Mar 2024 12:39:33 -0700 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 1/8] dt-bindings: block: add basic bindings for block devices Content-Language: en-US To: Daniel Golle , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Jens Axboe , Dave Chinner , Jan Kara , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Damien Le Moal , Li Lingfeng , Christian Brauner , Christian Heusel , Min Li , Adrian Hunter , Avri Altman , Hannes Reinecke , Christian Loehle , Bean Huo , Yeqi Fu , Victor Shih , Christophe JAILLET , Dominique Martinet , "Ricardo B. Marliere" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-block@vger.kernel.org References: <28dcc69ecf9d55e95991d8f2a8e19f71bbd32af0.1711048433.git.daniel@makrotopia.org> From: Bart Van Assche In-Reply-To: <28dcc69ecf9d55e95991d8f2a8e19f71bbd32af0.1711048433.git.daniel@makrotopia.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/21/24 12:32, Daniel Golle wrote: > +$id: http://devicetree.org/schemas/block/partition.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Partition on a block device > + > +description: | > + This binding describes a partition on a block device. > + Partitions may be matched by a combination of partition number, name, > + and UUID. > + > +maintainers: > + - Daniel Golle > + > +properties: > + $nodename: > + pattern: '^block-partition-.+$' > + > + partnum: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + Matches partition by number if present. > + > + partname: > + $ref: /schemas/types.yaml#/definitions/string > + description: > + Matches partition by PARTNAME if present. > + > + partuuid: > + $ref: /schemas/types.yaml#/definitions/string > + description: > + Matches partition by PARTUUID if present. > + > + nvmem-layout: > + $ref: /schemas/nvmem/layouts/nvmem-layout.yaml# > + description: > + This container may reference an NVMEM layout parser. Does the above imply that only systems with a single block device are supported? Supporting partition numbers seems unfortunate to me. Partition numbers will change if the partition scheme changes. Bart.