Re: [PATCH 9/9] riscv: dts: sifive: fu540-c000: Drop bogus soc node compatible values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/11/2021 16:31, Geert Uytterhoeven wrote:
> "make dtbs_check":
> 
>     arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dt.yaml: soc: $nodename:0: '/' was expected
>     	From schema: Documentation/devicetree/bindings/riscv/sifive.yaml
>     arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dt.yaml: soc: compatible: 'oneOf' conditional failed, one must be fixed:
>     	'sifive,fu540-c000' is not one of ['sifive,hifive-unleashed-a00']
>     	'sifive,fu540-c000' is not one of ['sifive,hifive-unmatched-a00']
>     	'sifive,fu540-c000' was expected
>     	'sifive,fu740-c000' was expected
>     	'sifive,fu540' was expected
>     	'sifive,fu740' was expected
>     	From schema: Documentation/devicetree/bindings/riscv/sifive.yaml
> 
> This happens because the "soc" subnode declares compatibility with
> "sifive,fu540-c000" and "sifive,fu540", while these are only intended
> for the root node.
> 
> Fix this by removing the bogus compatible values from the "soc" node.
> 
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
>  arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>


Best regards,
Krzysztof



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux