diff mbox series

arm64: dts: meson: vim3: correct led polarity

Message ID 20200803141850.172704-1-jbrunet@baylibre.com (mailing list archive)
State Accepted
Commit 1f9d87d08e4a2299e86f8a1600aedf87ecd3b636
Headers show
Series arm64: dts: meson: vim3: correct led polarity | expand

Commit Message

Jerome Brunet Aug. 3, 2020, 2:18 p.m. UTC
The LEDs on the vim3 are active when the gpio is high, not low.

Fixes: c6d29c66e582 ("arm64: dts: meson-g12b-khadas-vim3: add initial device-tree")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

patchwork-bot+linux-amlogic@kernel.org Aug. 10, 2020, 10:01 p.m. UTC | #1
Hello:

This patch was applied to khilman/linux-amlogic.git (refs/heads/for-next).

On Mon,  3 Aug 2020 16:18:50 +0200 you wrote:
> The LEDs on the vim3 are active when the gpio is high, not low.
> 
> Fixes: c6d29c66e582 ("arm64: dts: meson-g12b-khadas-vim3: add initial device-tree")
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)


Here is a summary with links:
  - arm64: dts: meson: vim3: correct led polarity
    https://git.kernel.org/khilman/linux-amlogic/c/1f9d87d08e4a2299e86f8a1600aedf87ecd3b636

You are awesome, thank you!
Kevin Hilman Aug. 10, 2020, 10:17 p.m. UTC | #2
On Mon, 3 Aug 2020 16:18:50 +0200, Jerome Brunet wrote:
> The LEDs on the vim3 are active when the gpio is high, not low.

Applied, thanks!

[1/1] arm64: dts: meson: vim3: correct led polarity
      (no commit info)

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
index 4510a63b0006..9e2995dc144b 100644
--- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi
@@ -70,13 +70,13 @@  leds {
 
 		led-white {
 			label = "vim3:white:sys";
-			gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 
 		led-red {
 			label = "vim3:red";
-			gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>;
 		};
 	};