Re: [RFC PATCH v2 1/8] dt-bindings: npu: rockchip: add rockchip,rk3576-rknn-core
From: Krzysztof Kozlowski
Date: Sat Jul 18 2026 - 03:50:15 EST
On 18/07/2026 05:11, Jiaxing Hu wrote:
> Document the RK3576 NPU core: add rockchip,rk3576-rknn-core to the
> compatible enum. The RK3576 has no NPU SRAM supply, so make sram-supply
> required only for rockchip,rk3588-rknn-core
Full stop here.
via an allOf/if-then instead
> of dropping it from the shared required list (which would have weakened
> validation for RK3588).
This is redundant.
...
> - npu-supply
> - - sram-supply
> +
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: rockchip,rk3588-rknn-core
> + then:
> + required:
> + - sram-supply
>
else:
properties:
sram-supply: false
Best regards,
Krzysztof