]> xenbits.xensource.com Git - people/aperard/linux.git/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)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 13 Feb 2024 19:07:57 +0000 (20:07 +0100)
commit334bf0710c98d391f4067b72f535d6c4c84dfb6f
treef24743a7cd7ffddb24197fcd80f9f6d88b54984e
parent00890f5d15f50bd386bf222ddee355cec6c6d53a
arm64: dts: rockchip: set num-cs property for spi on px30

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>
arch/arm64/boot/dts/rockchip/px30.dtsi