Commit 9d541c77 authored by Conor Dooley's avatar Conor Dooley Committed by ZhangPeng
Browse files

spi: spidev: add correct compatible for Rohm BH2228FV

stable inclusion
from stable-v6.6.44
commit af1125de167257740a6887134dca3afcc6b7c621
bugzilla: https://gitee.com/openeuler/kernel/issues/IAHMJO

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=af1125de167257740a6887134dca3afcc6b7c621



--------------------------------

[ Upstream commit fc28d1c1fe3b3e2fbc50834c8f73dda72f6af9fc ]

When Maxime originally added the BH2228FV to the spidev driver, he spelt
it incorrectly - the d should have been a b. Add the correctly spelt
compatible to the driver. Although the majority of users of this
compatible are abusers, there is at least one board that validly uses
the incorrect spelt compatible, so keep it in the driver to avoid
breaking the few real users it has.

Fixes: 8fad805b ("spi: spidev: Add Rohm DH2228FV DAC compatible string")
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20240717-ventricle-strewn-a7678c509e85@spud


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZhangPeng <zhangpeng362@huawei.com>
parent a96ab11b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -738,6 +738,7 @@ static const struct of_device_id spidev_dt_ids[] = {
	{ .compatible = "lwn,bk4", .data = &spidev_of_check },
	{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
	{ .compatible = "micron,spi-authenta", .data = &spidev_of_check },
	{ .compatible = "rohm,bh2228fv", .data = &spidev_of_check },
	{ .compatible = "rohm,dh2228fv", .data = &spidev_of_check },
	{ .compatible = "semtech,sx1301", .data = &spidev_of_check },
	{ .compatible = "silabs,em3581", .data = &spidev_of_check },