changes
This commit is contained in:
1 parent
11996e1915
commit
8bb4e3e62b
2 files changed
+7
-9
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,138 @@
|
||||
@@ -0,0 +1,139 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+
|
||||
+/dts-v1/;
|
||||
@@ -60,8 +60,8 @@ Index: arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <32000000>;
|
||||
+
|
||||
+ reset-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
|
||||
+ dc-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
|
||||
+ reset-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
|
||||
+ dc-gpios = <&tlmm 30 GPIO_ACTIVE_HIGH>;
|
||||
+ backlight = <&backlight>;
|
||||
+
|
||||
+ vdd-supply = <&pm8916_l17>;
|
||||
@@ -128,10 +128,11 @@ Index: arch/arm64/boot/dts/qcom/msm8916-generic-mf68e.dts
|
||||
+
|
||||
+&tlmm {
|
||||
+ panel_default: panel-default-state {
|
||||
+ pins = "gpio25", "gpio30";
|
||||
+ pins = "gpio11", "gpio30";
|
||||
+ function = "gpio";
|
||||
+ drive-strength = <8>;
|
||||
+ bias-disable;
|
||||
+ output-high;
|
||||
+ };
|
||||
+
|
||||
+ usb_id_default: usb-id-default-state {
|
||||
|
||||
@@ -33,7 +33,7 @@ Index: drivers/gpu/drm/tiny/st7735s.c
|
||||
===================================================================
|
||||
--- a/drivers/gpu/drm/tiny/st7735s.c
|
||||
+++ b/drivers/gpu/drm/tiny/st7735s.c
|
||||
@@ -0,0 +1,226 @@
|
||||
@@ -0,0 +1,223 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-only
|
||||
+/*
|
||||
+ * DRM driver for Sitronix ST7735S / GalaxyCore GC9106 display controller
|
||||
@@ -114,9 +114,6 @@ Index: drivers/gpu/drm/tiny/st7735s.c
|
||||
+ msleep(120);
|
||||
+ mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON);
|
||||
+ msleep(20);
|
||||
+ mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, 0x00, 0x00, 0x00, 0x7F);
|
||||
+ mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, 0x00, 0x20, 0x00, 0x9F);
|
||||
+ mipi_dbi_command(dbi, MIPI_DCS_WRITE_MEMORY_START);
|
||||
+
|
||||
+ mipi_dbi_enable_flush(dbidev, crtc_state, plane_state);
|
||||
+
|
||||
@@ -228,7 +225,7 @@ Index: drivers/gpu/drm/tiny/st7735s.c
|
||||
+
|
||||
+ spi_set_drvdata(spi, drm);
|
||||
+
|
||||
+ drm_fbdev_dma_setup(drm, 0);
|
||||
+ drm_fbdev_dma_setup(drm, 16);
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
|
||||
Reference in new issue
Block a user