diff --git a/FunKey/board/funkey/patches/linux/0003-add-funkey-dts.patch b/FunKey/board/funkey/patches/linux/0003-add-funkey-dts.patch index def58c7..4260a37 100644 --- a/FunKey/board/funkey/patches/linux/0003-add-funkey-dts.patch +++ b/FunKey/board/funkey/patches/linux/0003-add-funkey-dts.patch @@ -61,7 +61,7 @@ + + backlight: backlight { + compatible = "pwm-backlight"; -+ pwms = <&pwm 0 1000000 0>; ++ pwms = <&pwm 0 1000000 1>; + brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; + default-brightness-level = <10>; + power-supply = <®_vcc5v0>; @@ -164,7 +164,7 @@ + rotate = <0>; + fps = <50>; + buswidth = <8>; -+ reset-gpios = <&pio 4 1 GPIO_ACTIVE_LOW>; //PE1 ++ reset-gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; //PB2 + dc-gpios = <&pio 2 0 GPIO_ACTIVE_LOW>; //PC0 (MISO) + debug = <0>; + }; diff --git a/FunKey/board/funkey/patches/linux/0006-comment-backlight-dts.patch b/FunKey/board/funkey/patches/linux/0006-comment-backlight-dts.patch deleted file mode 100644 index 041f516..0000000 --- a/FunKey/board/funkey/patches/linux/0006-comment-backlight-dts.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 2e5317f853f1b1b8ce4fe3e16ac0bc9aed6bc11e Mon Sep 17 00:00:00 2001 -From: vincent -Date: Sat, 26 Oct 2019 09:44:25 +0200 -Subject: [PATCH] commented backlight in dts - ---- - arch/arm/boot/dts/sun8i-v3s-funkey.dts | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/arch/arm/boot/dts/sun8i-v3s-funkey.dts b/arch/arm/boot/dts/sun8i-v3s-funkey.dts -index 31fddd2..fad43fa 100644 ---- a/arch/arm/boot/dts/sun8i-v3s-funkey.dts -+++ b/arch/arm/boot/dts/sun8i-v3s-funkey.dts -@@ -56,13 +56,13 @@ - stdout-path = "serial0:115200n8"; - }; - -- backlight: backlight { -+ /*backlight: backlight { - compatible = "pwm-backlight"; - pwms = <&pwm 0 1000000 0>; - brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; - default-brightness-level = <10>; - power-supply = <®_vcc5v0>; -- }; -+ };*/ - }; - - &codec { --- -1.9.1 -