From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Hongmei Xu" <hongmei.xu@oss.qualcomm.com>,
"Srinivas Kandagatla" <srini@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Rafał Miłecki" <rafal@milecki.pl>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 1/5] dt-bindings: nvmem: layouts: add Qualcomm eFuse Ethernet MAC layout
Date: Sat, 5 Dec 2026 04:21:36 +0100 [thread overview]
Message-ID: <ff0c4b91-9f49-4531-96e3-f032c9ea850f@kernel.org> (raw)
In-Reply-To: <20261204-nvmem-byte-mask-for-split-macaddr-v5-1-13c12a99383f@oss.qualcomm.com>
On 04/12/2026 07:22, Hongmei Xu wrote:
> Add a device tree binding for the Qualcomm eFuse Ethernet MAC address
> NVMEM layout driver. The layout handles cells whose bytes in the QFPROM
> may not be contiguous.
>
> Each cell node specifies the physical eFuse offset and size via reg.
> An optional byte-mask property selects which physical bytes contribute
> to the 6-byte output MAC address; selected bytes are compacted in
> ascending bit-index order. Without byte-mask the cell is read as a
> plain contiguous 6-byte block.
>
> Also add qcom,nord-qfprom to the QFPROM compatible list; this SoC uses
> the layout and its compatible is referenced in the binding example.
>
> Signed-off-by: Hongmei Xu <hongmei.xu@oss.qualcomm.com>
> ---
> .../bindings/nvmem/layouts/qcom,efuse-eth-mac.yaml | 87 ++++++++++++++++++++++
> .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
> 2 files changed, 88 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.yaml b/Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.yaml
> new file mode 100644
> index 000000000000..545aeb1741ce
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.yaml
> @@ -0,0 +1,87 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/nvmem/layouts/qcom,efuse-eth-mac.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Ethernet MAC address NVMEM layout
> +
> +maintainers:
> + - Hongmei Xu <hongmei.xu@oss.qualcomm.com>
> +
> +description:
> + Layout for reading Ethernet MAC addresses from Qualcomm eFuse (QFPROM).
> + Each cell node declares the physical eFuse offset via reg. An optional
> + byte-mask property selects which physical bytes contribute to the 6-byte
> + output MAC; selected bytes are compacted in ascending bit-index order and
> + unset positions are zero-filled. Without byte-mask the cell is read as a
> + plain contiguous 6-byte block.
> +
> +select: false
> +
Heh? So how did you validate the schema?
> +properties:
> + compatible:
> + const: qcom,efuse-eth-mac
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-12-05 3:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 6:22 [PATCH v5 0/5] nvmem: add Qualcomm eFuse Ethernet MAC address layout driver Hongmei Xu
2026-12-04 6:22 ` [PATCH v5 1/5] dt-bindings: nvmem: layouts: add Qualcomm eFuse Ethernet MAC layout Hongmei Xu
2026-12-04 6:40 ` sashiko-bot
2026-12-04 13:07 ` Rob Herring (Arm)
2026-12-05 3:21 ` Krzysztof Kozlowski [this message]
2026-12-04 6:22 ` [PATCH v5 2/5] nvmem: layouts: add Qualcomm eFuse Ethernet MAC address layout driver Hongmei Xu
2026-12-04 6:53 ` sashiko-bot
2026-12-04 6:22 ` [PATCH v5 3/5] MAINTAINERS: add entry for Qualcomm Ethernet MAC nvmem " Hongmei Xu
2026-12-04 6:22 ` [PATCH v5 4/5] arm64: defconfig: enable NVMEM_LAYOUT_QCOM_ETH_MAC Hongmei Xu
2026-12-04 6:30 ` sashiko-bot
2026-12-05 3:19 ` Krzysztof Kozlowski
2026-12-04 6:22 ` [PATCH v5 5/5] arm64: dts: qcom: Add eFuse nvmem cells for Ethernet MAC addresses Hongmei Xu
2026-12-04 6:43 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff0c4b91-9f49-4531-96e3-f032c9ea850f@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hongmei.xu@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafal@milecki.pl \
--cc=robh@kernel.org \
--cc=srini@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox