overlays: pisound: Make button pins owned by card
authorPhil Elwell <phil@raspberrypi.com>
Wed, 2 Nov 2022 09:54:39 +0000 (09:54 +0000)
committerPhil Elwell <phil@raspberrypi.com>
Wed, 2 Nov 2022 10:08:56 +0000 (10:08 +0000)
commita79d280930e169dec4a355f1ee48490a7a6e5242
tree96571b76943f19b888e6bef175f279bb5317d021
parentac4cf1b984f0b3473460af866eef536765b60865
overlays: pisound: Make button pins owned by card

The pisound overlay claims a number of GPIOs using a pinctrl node, but
for some reason hangs this claim on the main gpio node. This obscures
the ownership of the pins (as shown by gpioinfo and in the kernel logs)
and isn't scalable - only one overlay can use the trick at a time.

Change the overlay to make the pin ownership clear and avoid any future
conflicts, removing a bogus claim on pins_spi0 at the same time.

See: https://github.com/raspberrypi/linux/issues/5235

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/pisound-overlay.dts