]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: spidev: Add an entry for lwn,bk4-spi
authorFabio Estevam <festevam@denx.de>
Wed, 23 Oct 2024 12:00:14 +0000 (09:00 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 2 Dec 2024 00:32:29 +0000 (00:32 +0000)
commit096c34ddf5835f02f5260719cd8a16fcf5e5e56f
tree4d27dbc07c08c73159d4414a854e477cbb8ae96a
parent36e7886075262429158aec6f258e6a5a92f025b1
spi: spidev: Add an entry for lwn,bk4-spi

Currently, the compatible string used for Liebherr's BK4 external SPI
controller 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']
...

Add a more specific "lwn,bk4-spi" compatible string entry for this
device to fix the problem.

The original "lwn,bk4" is kept to keep compatibility with old DTBs.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://patch.msgid.link/20241023120015.1049008-2-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c