pwmligth
This commit is contained in:
1 parent
b7c0785a36
commit
ee76a5373b
2 files changed
+14
-15
No files matched your search
@@ -2,7 +2,7 @@ Index: arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
===================================================================
|
||||
--- a/arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
+++ b/arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
@@ -0,0 +1,147 @@
|
||||
@@ -0,0 +1,146 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+
|
||||
+/dts-v1/;
|
||||
@@ -42,14 +42,6 @@ Index: arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&usb_id_default>;
|
||||
+ };
|
||||
+
|
||||
+ backlight: backlight {
|
||||
+ compatible = "pwm-backlight";
|
||||
+ pwms = <&pm8916_pwm 0 100000>;
|
||||
+ brightness-levels = <255 128 64 32 16 8 4 0>;
|
||||
+ num-interpolated-steps = <255>;
|
||||
+ default-brightness-level = <1>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&blsp_spi3 {
|
||||
@@ -60,26 +52,33 @@ Index: arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <16000000>;
|
||||
+
|
||||
+ reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
|
||||
+ dc-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
|
||||
+ backlight = <&backlight>;
|
||||
+ reset-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
|
||||
+ dc-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
|
||||
+ backlight = <&pm8916_wled>;
|
||||
+
|
||||
+ vdd-supply = <&pm8916_l17>;
|
||||
+ vddio-supply = <&pm8916_l6>;
|
||||
+
|
||||
+ buswidth = <8>;
|
||||
+ width = <132>;
|
||||
+ height = <132>;
|
||||
+ width = <128>;
|
||||
+ height = <128>;
|
||||
+ rotate = <0>;
|
||||
+ bgr;
|
||||
+ fps = <27>;
|
||||
+ debug = <7>;
|
||||
+ bpp = <16>;
|
||||
+
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&panel_default>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&pm8916_wled {
|
||||
+ status = "okay";
|
||||
+ qcom,cs-out;
|
||||
+ qcom,current-limit = <20>;
|
||||
+};
|
||||
+
|
||||
+&pm8916_l6 {
|
||||
+ regulator-always-on;
|
||||
+};
|
||||
|
||||
@@ -288,7 +288,7 @@ Index: drivers/staging/fbtft/fb_st7735r.c
|
||||
- },
|
||||
+ .regwidth = 8,
|
||||
+ .width = 128,
|
||||
+ .height = 160,
|
||||
+ .height = 128,
|
||||
+ .init_sequence = default_init_sequence,
|
||||
+ .gamma_num = 2,
|
||||
+ .gamma_len = 16,
|
||||
|
||||
Reference in new issue
Block a user