]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-dsa-microchip-add-strap-description-to-set-spi-as-interface-bus'
authorJakub Kicinski <kuba@kernel.org>
Mon, 22 Sep 2025 23:31:21 +0000 (16:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Sep 2025 23:31:22 +0000 (16:31 -0700)
commitab528156eca2d8264bc29f85e4a347556a4d52ba
treef232c14dfc4eaccae5960a9964ad6c52b236c4c0
parent1bcce9ec189b2a28a5b9ee7b0c9ea9158bfd95ae
parenta0b977a3d19368b235f2a6c06e800fb25452029b
Merge branch 'net-dsa-microchip-add-strap-description-to-set-spi-as-interface-bus'

Bastien Curutchet says:

====================
net: dsa: microchip: Add strap description to set SPI as interface bus

At reset, the KSZ8463 uses a strap-based configuration to set SPI as
interface bus. If the required pull-ups/pull-downs are missing
(by mistake or by design to save power) the pins may float and the
configuration can go wrong preventing any communication with the switch.

This small series aims to allow to configure the KSZ8463 switch at
reset when the hardware straps are missing.

PATCH 0 and 1 add a new property to the bindings that describes the GPIOs
to be set during reset in order to configure the switch properly.

PATCH 2 implements the use of these properties in the driver.
====================

Link: https://patch.msgid.link/20250918-ksz-strap-pins-v3-0-16662e881728@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>