OSDN Git Service

ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue
authorStefan Wahren <wahrenst@gmx.net>
Sun, 13 Oct 2019 10:53:23 +0000 (12:53 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 18 Oct 2019 18:59:39 +0000 (11:59 -0700)
commit626c45d223e22090511acbfb481e0ece1de1356d
treed79a0c076d2e8f6b795c73a7116e8a76dcc56d0f
parent9786340acaa33b3722925125e2df358d14b8ee12
ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue

bcm2835-rpi.dtsi defines the behavior of the ACT LED, which is available
on all Raspberry Pi boards. But there is no driver for this particual
GPIO on CM3 in mainline yet, so this node was left incomplete without
the actual GPIO definition. Since commit 025bf37725f1 ("gpio: Fix return
value mismatch of function gpiod_get_from_of_node()") this causing probe
issues of the leds-gpio driver for users of the CM3 dtsi file.

  leds-gpio: probe of leds failed with error -2

Until we have the necessary GPIO driver hide the ACT node for CM3
to avoid this.

Reported-by: Fredrik Yhlen <fredrik.yhlen@endian.se>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Fixes: a54fe8a6cf66 ("ARM: dts: add Raspberry Pi Compute Module 3 and IO board")
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi