]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: spitz: Use software nodes to describe SPI CS lines
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Jun 2024 18:08:45 +0000 (11:08 -0700)
committerArnd Bergmann <arnd@arndb.de>
Tue, 9 Jul 2024 13:21:15 +0000 (15:21 +0200)
commit224b9329fb9f567c53a0cbeec837c11bc7d71643
treea0c91275e55c13311e1d6ab38cd40f456c29d5b2
parent6eabaf9d6e2a9ec8e995ab404c7d46eb297b4430
ARM: spitz: Use software nodes to describe SPI CS lines

Convert the Spitz to use software nodes for specifying SPI CS. Because
the SPI core can figure out the number of chipselects from the number
of GPIO handles specified in properties, setting "num-cs" property is
no longer needed.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240628180852.1738922-6-dmitry.torokhov@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/spitz.c