From 6208d9799bab4d2f318096baf2c0fddd05213636 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 29 Jun 2022 21:15:41 +0300 Subject: [PATCH] SiFive Unmatched LED trigger -> none Let's disable the LEDs by default. default-on is built as a loadable module and is not available unless loaded explicitly. Signed-off-by: David Abdurachmanov --- linux-riscv.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-riscv.patch b/linux-riscv.patch index e55b5f010..7792f9074 100644 --- a/linux-riscv.patch +++ b/linux-riscv.patch @@ -92,7 +92,7 @@ index c4ed9efdf..d3e359de1 100644 + pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>; + active-low = <1>; + max-brightness = <255>; -+ linux,default-trigger = "default-on"; ++ linux,default-trigger = "none"; + }; + + led-1 { @@ -101,7 +101,7 @@ index c4ed9efdf..d3e359de1 100644 + pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>; + active-low = <1>; + max-brightness = <255>; -+ linux,default-trigger = "default-on"; ++ linux,default-trigger = "none"; + }; + + led-2 { @@ -110,7 +110,7 @@ index c4ed9efdf..d3e359de1 100644 + pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>; + active-low = <1>; + max-brightness = <255>; -+ linux,default-trigger = "default-on"; ++ linux,default-trigger = "none"; + }; + + led-3 { @@ -119,7 +119,7 @@ index c4ed9efdf..d3e359de1 100644 + pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>; + active-low = <1>; + max-brightness = <255>; -+ linux,default-trigger = "default-on"; ++ linux,default-trigger = "none"; + }; + }; +