overlays: gpio-keys: Avoid open-drain warnings
authorPhil Elwell <phil@raspberrypi.com>
Sat, 2 May 2020 12:43:06 +0000 (13:43 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:56 +0000 (16:33 +0100)
commit9b3f731dc6f761a3467c0721020482cfd6805fe7
treed2222856e33df61dfd24de10921dda253800c4fa
parentd147a4baf0d36a98e5f30837e502e8146d0af4b3
overlays: gpio-keys: Avoid open-drain warnings

The i2c-gpio driver expects to use a GPIO in open-drain mode. Failure
to configure it in that way causes alarming warnings in the kernel log.
The BCM283x and BCM2711 GPIO blocks don't support open-drain mode,
but i2c-gpio works anyway. Silence the warning by declaring that
open-drain mode has been enabled by other means.

See: https://github.com/raspberrypi/firmware/issues/1381

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