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 76BEB3D9DB4 for ; Fri, 3 Jul 2026 13:45:23 +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=1783086326; cv=none; b=X5ubnkvCqaNDzz5CHq54NhxIHfTk5oWlzb56JkarU0jSOh+d6aJ8KOiLXVfCRGsd3VIAL54QNhbXtAmK0QRt2bbqr5uwWIegvMOalGcqzODSddbEQ3Af+yF4SXjQ5B8nFjmMSiqEQt0jK+VTmWkbiK7JHQjukXt8ZX61X78lf7M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783086326; c=relaxed/simple; bh=g/kZEO26OX4smC+wgpc8bkbcZi84SL0SycYp6R1V6Wc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FMIjK3Zu8fPxYYMnMKvlvePgAoUA6YFvZeC5j4DmsRCe8IVufrppWgW2V3li1pi1JKhlUtPLxOxU9dxXRkJOtKpacfP1ljD1i3/GATIIJSabCk6Q1QUhRSUsJGR3x+pxoC535ifHW4eCBXRx/7+tNQ26VKs8dcet9n/AFevhYPk= 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=hQrtxPOD; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=TOKtYeMr; 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="hQrtxPOD"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="TOKtYeMr" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 663BUCGU2994880 for ; Fri, 3 Jul 2026 13:45:22 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= 1aaxhulcUS260xJYhdZ1yKDQBOfTkI9rxmodcghc7/I=; b=hQrtxPODMLsXzsMY Ky5XzFZLaa3/GdOLddqzgIsN/xncfImwxbfBYVyirfLaRanQ7XhsJPPXlbI+INlN tIDpj0PFEJTAwEnsgD8ry+vvE1MsWu/JQlvFKtOOFdjREWPhWKp6uc7ZrS9utKIS 7fn7sgSTRM2nIzTbg7YN29v8K+NEHXAR5FoZL9HUF6CJeU09thBjQ0lONiFfmqJz blcbppHE9CUzXBTG9v9d/fCpNnbQIjj2NYW2W96h3qHVRRi9xqb2BixqfPpbHKy1 SL4hS6mK1tnDjr6FwfQV1/cUBhOQScj8Ym1n8gI5fDPIbpCo4QQQCvpgIOZX3CTD 3jcTJg== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f648n2mre-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 03 Jul 2026 13:45:22 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-92e538afe65so60345385a.3 for ; Fri, 03 Jul 2026 06:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783086322; x=1783691122; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=1aaxhulcUS260xJYhdZ1yKDQBOfTkI9rxmodcghc7/I=; b=TOKtYeMr5Ig6yhlGAE8TelGEDNL/Q+zYAbzjVFVhO2h7zIiG81Wvkd5psLgjklAOKa yYA14KtUGQ9r36jFOfdlDulaMh472LHcfqzmyGfMox2KA2n/SLiRSerg4g9BiY5pyZ4g KdAHXJTeO7Zb5t0L8+rP7PbhYSysjLxcqvQJMENNi1dGyKdJRHxC5i3M20P9W1ywRcne qR/RF11HTRIynDKfUAgTcaqRPYUWacfzzSK/vYJI8VVW7em9GYjVkxfnQUiFNa5WZQAN 53LhvZUm9okUpaGMukm3vBqylpNyfX3MT5/DuO9lxXVbVZFY8S0LV+jzzBbp/yUYX7p2 beIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783086322; x=1783691122; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=1aaxhulcUS260xJYhdZ1yKDQBOfTkI9rxmodcghc7/I=; b=hStbDuFdDDy/pjZCW3AjtukA0mwWBzzWdWHpizTZO/qQIppgmtbMbb+Cj5mbXr2hVx NIw8gk344EBRI/KSeNzfgylyMGRkk6iYYJpmM4NvDhtm9x101xtY1uPehIyVqbPJQF3o i7hQ/CleBw6osNWBza3Ju/AjKjAsJDJdDORKQ3/0+rn98EaJHsGWWiwC18C9hqPgJo6h TgLxh0mNY//xEQhFa7DXyRdAIoTbDwUIBzVFlfLEHhcQdZgSssMEQmiyldQNmwC7TzH9 /jMqN4zW5nAFs4Ihx2FiMg4JYBNezb9GLJNreExSbRtlQBQ5MRoznvAtmN+HoK9PGKY/ eDIQ== X-Forwarded-Encrypted: i=1; AFNElJ953Hxs/XwZW3vGibHWRS2MZHQhHtFGJenptYIpN3GFxSbWuir2DPed4Ii3G89rrhp/RZ85cW+Ps9qo0Pw=@vger.kernel.org X-Gm-Message-State: AOJu0YyCgiW+ObYcx4wJjQT7cM5mpQI1y1n5aD7hTgrsoY7z1eFlLJea vXEZgk8nRXcEahF0b1SXGV+du+yxvfmeBcUGeTNsPIAzozTiPzjUWPzkR38zw51b2VJoL+s0aXA NLmWM/5knP4eNJLQPwXyQpcWKZisS42RTqs9a6Kyz0ah36GASznkt+DM1tYwxJtllMlU= X-Gm-Gg: AfdE7cnSjFAiQtA6b0bdF4HvP6lAZcKLQJ2TYIT3U/38iTqVdVcS6p+dzZHHDj2q+w2 umKMD/4cxXdHVGhDTx37xXPMPthK+XdAjq4Ms6KmI1kHrsOebTF1plyauVbfLZx8GGAhWVixEEs URXk/NgC6SZNI5E6liTJ2MgY8nJAHmeP/7mvNl7/76hBvOm88k1oau4AhLR6Y6TJd1KjI2WcOm+ DD8980OgwIwcm+g8yB42ZCItt7xcm2qpDx2NH+yPBkVu172ELw9oD3mo/2RVYOIr45yEV+uTseN pSRI5N2cFLeWn6hEwTifYbek3iQuq2qrz5my7hT09ryoaQbl6k6tIQNqOiLuBcMNvkKcxb5Ys2V G0WnLlfRFDcU1Uo70fvZyJHn2mGvW5SfiBaCaynT6gWwovYLu1tbE1k0FwpFiesBR778DPXY6Ay Us1drePkSgKTfx5Cs7rwr9ngL8y/swafFk5tv5jvBeweKjPnhDq3iixLYXEVSuYSg= X-Received: by 2002:a05:620a:370c:b0:92a:c203:471e with SMTP id af79cd13be357-92e781dd674mr1486706085a.9.1783086321404; Fri, 03 Jul 2026 06:45:21 -0700 (PDT) X-Received: by 2002:a05:620a:370c:b0:92a:c203:471e with SMTP id af79cd13be357-92e781dd674mr1486692485a.9.1783086320737; Fri, 03 Jul 2026 06:45:20 -0700 (PDT) Received: from QCOM-eG0v1AUPpu.na.qualcomm.com ([2a01:e0a:830:450:809d:5d56:19d9:ff8b]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c12b6059e4csm286135466b.1.2026.07.03.06.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2026 06:45:19 -0700 (PDT) From: Loic Poulain Date: Fri, 03 Jul 2026 15:45:14 +0200 Subject: [PATCH v8 1/9] dt-bindings: mmc: Document fixed-layout NVMEM provider support 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: 7bit Message-Id: <20260703-block-as-nvmem-v8-1-98ae32bfc49a@oss.qualcomm.com> References: <20260703-block-as-nvmem-v8-0-98ae32bfc49a@oss.qualcomm.com> In-Reply-To: <20260703-block-as-nvmem-v8-0-98ae32bfc49a@oss.qualcomm.com> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Jens Axboe , Johannes Berg , Jeff Johnson , Bartosz Golaszewski , Marcel Holtmann , Luiz Augusto von Dentz , Balakrishna Godavarthi , Rocky Liao , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Srinivas Kandagatla , Andrew Lunn , Heiner Kallweit , Russell King , Saravana Kannan , Christian Marangi Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-block@vger.kernel.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, daniel@makrotopia.org, Loic Poulain X-Mailer: b4 0.14.2 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzAzMDEzNSBTYWx0ZWRfX/j0h9kGpvNMR M1VWIewypBnmPpZVTpkv6JmXO8OmLVL5q8j7a5f9jCxAbsCt+42XdsMkKrkd9koBs7pcahWYHm6 gpeQKzkgtvDSYWmeMvoJdDQvXuFYVZM= X-Proofpoint-ORIG-GUID: H7LmzzsKVB2Pzpl8_getMPmPs1jE7_k8 X-Authority-Analysis: v=2.4 cv=O4wJeh9W c=1 sm=1 tr=0 ts=6a47bcf2 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=M8sXMW5dAYDte-7YvdsA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-GUID: H7LmzzsKVB2Pzpl8_getMPmPs1jE7_k8 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzAzMDEzNSBTYWx0ZWRfXwMuxZwMieXa+ Cq5gf0IIvBi9mFUAaOJnXaJGWmoq60j/461EZyuWO9zxadyyDx99yML5c0ZCYew13CWv5IMRTP5 A66iweDzsmOm8YsrqvYz7xH1+fXoeAlKC4GS0QxnbtcTQN1P7xKQySnvA9clYV7ERupRmSmo66z buMh+ix2UpXYUdn1ld8ri/CyFNP50kj1p5ry/2Pv3AzY+3/ILEMjwMeOwNBEU+MLf+HuFn6hdCz dIaRMXduDS0qetAMdFwUmCgY9Jf3JzBoxa3myy+aQ62XH1x7cihtyN833cECm0ijNmOBNbZFDEN m6Qx0+qmgS7fqAuk6jEfEN1dJmTnx7tw7u0DC4ymlCj5OlxWHY+9dBA+mwvGqbGVg9GDhoFq4iU f2U/7L3KQXi7u3OQFR8QbZzklN6dkcROnHJspTB+NsNTsrzcpO+Uos1/fMmMZ3mg2miizokCjvZ 3og985O4sVMn399Nvgg== 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-07-03_02,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 phishscore=0 suspectscore=0 malwarescore=0 spamscore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607030135 Allow an eMMC hardware partition node to describe an NVMEM layout so the partition can be exposed as an NVMEM provider. This lets a partition (e.g. an eMMC boot partition) store device-specific information such as a WiFi MAC address or a Bluetooth BD address and reference it through NVMEM cells. Accept "fixed-layout" as the partition node compatible, in addition to "fixed-partitions", so the layout can be described directly on the partition node. Signed-off-by: Loic Poulain --- .../devicetree/bindings/mmc/mmc-card.yaml | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc-card.yaml b/Documentation/devicetree/bindings/mmc/mmc-card.yaml index a61d6c96df759102f9c1fbfd548b026a77921cae..0422894508478c8d0ca68292b58a5fdbee218358 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-card.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-card.yaml @@ -38,7 +38,9 @@ patternProperties: properties: compatible: contains: - const: fixed-partitions + enum: + - fixed-partitions + - fixed-layout required: - compatible @@ -86,6 +88,25 @@ examples: read-only; }; }; + + partitions-boot2 { + compatible = "fixed-layout"; + + #address-cells = <1>; + #size-cells = <1>; + + mac-addr@4400 { + compatible = "mac-base"; + reg = <0x4400 0x6>; + #nvmem-cell-cells = <1>; + }; + + bd-addr@5400 { + compatible = "mac-base"; + reg = <0x5400 0x6>; + #nvmem-cell-cells = <1>; + }; + }; }; }; -- 2.34.1