Skip to content

Commit 61b7e6f

Browse files
singhomeleeasus-leslieyu
authored andcommitted
Porting 7-inch and 10.1-inch powerttip panel driver.
Change-Id: I9c418c3898f8f8f44e0c0bc06bfe4eb5f4cc83df
1 parent c935d4c commit 61b7e6f

File tree

13 files changed

+1238
-19
lines changed

13 files changed

+1238
-19
lines changed

arch/arm/boot/dts/rk3288-miniarm.dts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
&dsi0 {
281281
status = "okay";
282282
mipi_panel: mipi-panel {
283-
compatible ="asus,tc358762";
283+
compatible ="asus-dsi-panel";
284284
reg = <0>;
285285
status = "okay";
286286
};
@@ -552,6 +552,11 @@
552552
reg = <0x45>;
553553
};
554554

555+
tinker_mcu_ili9881c: tinker_mcu_ili9881c@36 {
556+
compatible = "tinker_mcu_ili9881c";
557+
reg = <0x36>;
558+
};
559+
555560
tinker_ft5406: tinker_ft5406@38 {
556561
compatible = "tinker_ft5406";
557562
reg = <0x38>;

arch/arm/configs/miniarm-rk3288_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ CONFIG_TOUCHSCREEN_STMPE=y
475475
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
476476
CONFIG_TOUCHSCREEN_TINKER_FT5406=y
477477
CONFIG_TINKER_MCU=y
478+
CONFIG_TINKER_MCU_ILI9881C=y
478479
CONFIG_INPUT_MISC=y
479480
CONFIG_INPUT_UINPUT=y
480481
CONFIG_INPUT_GPIO_ROTARY_ENCODER=y
@@ -572,6 +573,7 @@ CONFIG_DRM_UDL=y
572573
# CONFIG_DRM_PANEL_SIMPLE is not set
573574
CONFIG_ROCKCHIP_DW_MIPI_DSI2=y
574575
CONFIG_DRM_PANEL_TOSHIBA_TC358762=y
576+
CONFIG_DRM_PANEL_ASUS_ILI9881C=y
575577
CONFIG_DRM_DW_HDMI_I2S_AUDIO=y
576578
CONFIG_DRM_DW_HDMI_CEC=y
577579
CONFIG_MALI_MIDGARD=y

drivers/gpu/drm/panel/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,12 @@ config DRM_PANEL_SHARP_LQ101R1SX01
5151
To compile this driver as a module, choose M here: the module
5252
will be called panel-sharp-lq101r1sx01.
5353

54+
config DRM_PANEL_ASUS_ILI9881C
55+
tristate "ASUS ILI9881c panel"
56+
depends on OF
57+
depends on DRM_MIPI_DSI
58+
depends on BACKLIGHT_CLASS_DEVICE
59+
help
60+
ASUS ili9881c 720x1280
61+
5462
endmenu

drivers/gpu/drm/panel/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ obj-$(CONFIG_DRM_PANEL_LG_LG4573) += panel-lg-lg4573.o
33
obj-$(CONFIG_DRM_PANEL_SAMSUNG_LD9040) += panel-samsung-ld9040.o
44
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) += panel-samsung-s6e8aa0.o
55
obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) += panel-sharp-lq101r1sx01.o
6+
obj-$(CONFIG_DRM_PANEL_ASUS_ILI9881C) += panel-asus-ili9881c.o
7+
obj-y += panel-asus.o

0 commit comments

Comments
 (0)