From 6048d2bb3deb44a6447a31d45ab47d4bb8cd63f1 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 6 Jan 2021 19:46:42 +0900 Subject: [PATCH] tizen: bootscript: amlogic: support gpio power key for odroid-c4 With gpio button, odroid-c4 can support gpio power. Set gpio power key with PIN_11 from kernel boot_args. GPIO pins are connected for ELB060675 button as like below: - out : PIN_11 - vcc : PIN_9 (ground) - gnd : Not used. Change-Id: I3aac017fe4a699b8576100cf3ee025a82054ee2d Signed-off-by: Seung-Woo Kim --- tizen/bootscript/tizen-boot-amlogic-64b.scr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen/bootscript/tizen-boot-amlogic-64b.scr b/tizen/bootscript/tizen-boot-amlogic-64b.scr index 8228f27..ed4dbfc 100644 --- a/tizen/bootscript/tizen-boot-amlogic-64b.scr +++ b/tizen/bootscript/tizen-boot-amlogic-64b.scr @@ -18,7 +18,7 @@ if test $board_name = "odroid-c4"; then if test "${cec}" = "true"; then setenv cec_enable "hdmitx=cec3f"; fi # Odroid-C4 Specific - setenv boot_args \"voutmode=${voutmode} disablehpd=${disablehpd} overscan=${overscan} monitor_onoff=${monitor_onoff} \" + setenv boot_args \"voutmode=${voutmode} disablehpd=${disablehpd} overscan=${overscan} monitor_onoff=${monitor_onoff} gpiopower=479 \" elif test $board_name = "odroid-n2"; then # (Hardkernel / Odroid-n2) -- 2.7.4