]> git.hungrycats.org Git - linux/commit
arm64: dts: rockchip: set num-cs property for spi on px30
authorHeiko Stuebner <heiko.stuebner@cherry.de>
Fri, 19 Jan 2024 10:16:56 +0000 (11:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:26:35 +0000 (13:26 +0100)
commit5f69c475c147f24003081cc6d9a77eec97b5a64d
treea923be59d15b016d3aabed5a30c7ca242bb5b32b
parent7f31a244c753aacf40b71d01f03ca6742f81bbbc
arm64: dts: rockchip: set num-cs property for spi on px30

[ Upstream commit 334bf0710c98d391f4067b72f535d6c4c84dfb6f ]

The px30 has two spi controllers with two chip-selects each.
The num-cs property is specified as the total number of chip
selects a controllers has and is used since 2020 to find uses
of chipselects outside that range in the Rockchip spi driver.

Without the property set, the default is 1, so spi devices
using the second chipselect will not be created.

Fixes: eb1262e3cc8b ("spi: spi-rockchip: use num-cs property and ctlr->enable_gpiods")
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240119101656.965744-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/rockchip/px30.dtsi