Re: [PATCH v5 1/5] dt-bindings: nvmem: layouts: add Qualcomm eFuse Ethernet MAC layout
From: Rob Herring (Arm)
Date: Fri Dec 04 2026 - 08:07:47 EST
On Fri, 04 Dec 2026 14:22:25 +0800, 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@xxxxxxxxxxxxxxxx>
> ---
> .../bindings/nvmem/layouts/qcom,efuse-eth-mac.yaml | 87 ++++++++++++++++++++++
> .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 1 +
> 2 files changed, 88 insertions(+)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.example.dts:27.38-29.19: Warning (unique_unit_address_if_enabled): /example-0/efuse@360d4320/nvmem-layout/eth0-mac@0: duplicate unit-address (also used in node /example-0/efuse@360d4320/nvmem-layout/eth1-mac@0)
Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.example.dtb: efuse@360d4320 (qcom,nord-qfprom): reg: [[0,906838816],[0,8]] is not valid under any of the schemas listed in the 'oneOf' keyword
from schema $id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml
Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.example.dtb: efuse@360d4320 (qcom,nord-qfprom): nvmem-layout: {"#address-cells":1,"#size-cells":1,"compatible":["qcom,efuse-eth-mac"],"eth0-mac@0":{"reg":[[0,6]]},"eth1-mac@0":{"byte-mask":95,"reg":[[0,7]]}} is not valid under any of the schemas listed in the 'oneOf' keyword
from schema $id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml
Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.example.dtb: efuse@360d4320 (qcom,nord-qfprom): nvmem-layout: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'eth0-mac@0', 'eth1-mac@0' were unexpected)
from schema $id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml
Documentation/devicetree/bindings/nvmem/layouts/qcom,efuse-eth-mac.example.dtb: efuse@360d4320 (qcom,nord-qfprom): Unevaluated properties are not allowed ('nvmem-layout' was unexpected)
from schema $id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.kernel.org/project/devicetree/patch/20261204-nvmem-byte-mask-for-split-macaddr-v5-1-13c12a99383f@xxxxxxxxxxxxxxxx
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.