mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
Activate LCD backlight driver & LCD reset on PB2
This commit is contained in:
parent
de23924759
commit
17630976e8
@ -61,7 +61,7 @@
|
|||||||
+
|
+
|
||||||
+ backlight: backlight {
|
+ backlight: backlight {
|
||||||
+ compatible = "pwm-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>;
|
+ brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||||
+ default-brightness-level = <10>;
|
+ default-brightness-level = <10>;
|
||||||
+ power-supply = <®_vcc5v0>;
|
+ power-supply = <®_vcc5v0>;
|
||||||
@ -164,7 +164,7 @@
|
|||||||
+ rotate = <0>;
|
+ rotate = <0>;
|
||||||
+ fps = <50>;
|
+ fps = <50>;
|
||||||
+ buswidth = <8>;
|
+ 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)
|
+ dc-gpios = <&pio 2 0 GPIO_ACTIVE_LOW>; //PC0 (MISO)
|
||||||
+ debug = <0>;
|
+ debug = <0>;
|
||||||
+ };
|
+ };
|
||||||
|
|||||||
@ -1,32 +0,0 @@
|
|||||||
From 2e5317f853f1b1b8ce4fe3e16ac0bc9aed6bc11e Mon Sep 17 00:00:00 2001
|
|
||||||
From: vincent <vbusoenseirb@gmail.com>
|
|
||||||
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
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user