Ethernet binding: broken validation parsing of #nvmem-cell-cells ?

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Tue Jan 9 12:57:01 PST 2024


On 09/01/2024 21:32, Krzysztof Kozlowski wrote:
> On 09/01/2024 11:03, Rafał Miłecki wrote:
>> Hi,
>>
>> I'm playing with "dtbs_check" and I stuck on following errors:
>>
>> arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dtb: ethernet at 24000: nvmem-cells: [[9], [0]] is too long
>>          from schema $id: http://devicetree.org/schemas/net/ethernet-controller.yaml#
>> arch/arm/boot/dts/broadcom/bcm47094-luxul-xwr-3150-v1.dtb: ethernet-switch at 18007000: ports:port at 4:nvmem-cells: [[9], [5]] is too long
>>          from schema $id: http://devicetree.org/schemas/net/dsa/brcm,b53.yaml#
>>
> 
> Thanks for the report. It looks like a bug in the dtschema. We should
> drop nvmem-cells from phandle_args. I'll send a fix.

BTW, you already worked on this:
https://github.com/devicetree-org/dt-schema/pull/89/
:)

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list