]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: vf610-bk4: Use the more specific "lwn,bk4-spi"
authorFabio Estevam <festevam@denx.de>
Mon, 3 Feb 2025 12:05:11 +0000 (09:05 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 Feb 2025 06:43:54 +0000 (14:43 +0800)
Currently, the compatible string used for the spidev device is "lwn,bk4",
which is the same as the board compatible string documented at fsl.yaml.

This causes several dt-schema warnings:

make dtbs_check DT_SCHEMA_FILES=fsl.yaml
...

['lwn,bk4'] is too short
'lwn,bk4' is not one of ['tq,imx8dxp-tqma8xdp-mba8xx']
'lwn,bk4' is not one of ['tq,imx8qxp-tqma8xqp-mba8xx']
'lwn,bk4' is not one of ['armadeus,imx1-apf9328', 'fsl,imx1ads']

Use a more specific "lwn,bk4-spi" compatible string to fix the problem.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/vf/vf610-bk4.dts

index 722182f5fd17229ecadfc70947a574ce467fc4fb..2492fb99956ce39ec7a763bbbe9c15663fa5024e 100644 (file)
        status = "okay";
 
        spidev0@0 {
-               compatible = "lwn,bk4";
+               compatible = "lwn,bk4-spi";
                spi-max-frequency = <30000000>;
                reg = <0>;
                fsl,spi-cs-sck-delay = <200>;
        #address-cells = <0>;
 
        slave {
-               compatible = "lwn,bk4";
+               compatible = "lwn,bk4-spi";
                spi-max-frequency = <30000000>;
        };
 };