OSDN Git Service

arm64: dts: exynos: correct Bluetooth LED triger on E850-96
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 20 Jan 2023 17:31:13 +0000 (18:31 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 28 Jan 2023 10:01:30 +0000 (11:01 +0100)
Switch source of LED activity to hci0-power from RX, to match bindings
(same effect expected):

  exynos850-e850-96.dtb: leds: led-5:linux,default-trigger: 'oneOf' conditional failed, one must be fixed:
    'hci0rx' is not one of ['backlight', 'default-on', 'heartbeat', 'disk-activity', 'ide-disk', 'timer', 'pattern']
    'hci0rx' does not match '^cpu[0-9]*$'
    'hci0rx' does not match '^hci[0-9]+-power$'
    'hci0rx' does not match '^mmc[0-9]+$'
    'hci0rx' does not match '^phy[0-9]+tx$'

Link: https://lore.kernel.org/r/20230120173116.341270-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynos850-e850-96.dts

index f52a55f..6ed3891 100644 (file)
                        gpios = <&gpg2 7 GPIO_ACTIVE_HIGH>;
                        color = <LED_COLOR_ID_BLUE>;
                        function = LED_FUNCTION_BLUETOOTH;
-                       linux,default-trigger = "hci0rx";
+                       linux,default-trigger = "hci0-power";
                        default-state = "off";
                };
        };