Forráskód Böngészése

add e1q

Change-Id: I876c0623aaed2161ceaa9b3d06bed60cd558e52e
j7b3y 2 hónapja
szülő
commit
07fc99faa0

+ 36 - 0
qcom/opensource/display-drivers/msm/Kbuild

@@ -274,6 +274,41 @@ msm_drm-$(CONFIG_DRM_MSM) += msm_atomic.o \
 			     msm_smmu.o \
 			     msm_prop.o
 
+ifeq ($(CONFIG_SEC_E1Q_PROJECT), y)
+include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01.conf
+ccflags-y +=	-include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01.h
+
+XXD := /usr/bin/xxd
+SED := /bin/sed
+
+#Translate .dat file to .h to cover the case which can not use request_firmware(Recovery Mode)
+CLEAR_TMP := $(shell rm -f E1_S6E3FAE_AMB616FM01_PDF_DATA)
+COPY_TO_HERE := $(shell cp -vf $(DISPLAY_ROOT)/msm/samsung/panel_data_file/E1_S6E3FAE_AMB616FM01.dat E1_S6E3FAE_AMB616FM01_PDF_DATA)
+DATA_TO_HEX := $(shell $(XXD) -i E1_S6E3FAE_AMB616FM01_PDF_DATA > $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01_PDF.h)
+ADD_NULL_CHR := $(shell $(SED) -i -e 's/\([0-9a-f]\)$$/\0, 0x00/' $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01_PDF.h)
+
+msm_drm-$(CONFIG_PANEL_E1_S6E3FAE_AMB616FM01_FHD) += samsung/E1_S6E3FAE_AMB616FM01/E1_S6E3FAE_AMB616FM01_panel.o
+
+include $(DISPLAY_ROOT)/msm/samsung/panel_common.conf
+ccflags-y +=	-include $(DISPLAY_ROOT)/msm/samsung/panel_common_conf.h
+
+msm_drm-$(CONFIG_DISPLAY_SAMSUNG) += samsung/PBA_BOOTING/ss_dsi_panel_PBA_BOOTING_fhd.o
+include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01.conf
+ccflags-y +=	-include $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01.h
+
+XXD := /usr/bin/xxd
+SED := /bin/sed
+
+#Translate .dat file to .h to cover the case which can not use request_firmware(Recovery Mode)
+CLEAR_TMP := $(shell rm -f E1_S6E3FAC_AMB606AW01_PDF_DATA)
+COPY_TO_HERE := $(shell cp -vf $(DISPLAY_ROOT)/msm/samsung/panel_data_file/E1_S6E3FAC_AMB606AW01.dat E1_S6E3FAC_AMB606AW01_PDF_DATA)
+DATA_TO_HEX := $(shell $(XXD) -i E1_S6E3FAC_AMB606AW01_PDF_DATA > $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_PDF.h)
+ADD_NULL_CHR := $(shell $(SED) -i -e 's/\([0-9a-f]\)$$/\0, 0x00/' $(DISPLAY_ROOT)/msm/samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_PDF.h)
+
+msm_drm-$(CONFIG_PANEL_E1_S6E3FAC_AMB606AW01_FHD) += samsung/E1_S6E3FAC_AMB606AW01/E1_S6E3FAC_AMB606AW01_panel.o
+endif
+
+ifeq ($(CONFIG_SEC_E3Q_PROJECT), y)
 include $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAE_AMB681AZ01/E3_S6E3HAE_AMB681AZ01.conf
 ccflags-y +=	-include $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAE_AMB681AZ01/E3_S6E3HAE_AMB681AZ01.h
 
@@ -305,6 +340,7 @@ DATA_TO_HEX := $(shell $(XXD) -i E3_S6E3HAF_AMB679FN01_PDF_DATA > $(DISPLAY_ROOT
 ADD_NULL_CHR := $(shell $(SED) -i -e 's/\([0-9a-f]\)$$/\0, 0x00/' $(DISPLAY_ROOT)/msm/samsung/E3_S6E3HAF_AMB679FN01/E3_S6E3HAF_AMB679FN01_PDF.h)
 
 msm_drm-$(CONFIG_PANEL_E3_S6E3HAF_AMB679FN01_WQHD) += samsung/E3_S6E3HAF_AMB679FN01/E3_S6E3HAF_AMB679FN01_panel.o
+endif
 
 include $(DISPLAY_ROOT)/msm/samsung/panel_common.conf
 ccflags-y +=	-include $(DISPLAY_ROOT)/msm/samsung/panel_common_conf.h

+ 6 - 0
qcom/opensource/display-drivers/sec_panel_Kconfig

@@ -1,3 +1,9 @@
+config PANEL_E1_S6E3FAC_AMB606AW01_FHD
+	bool "LSI S6E3FAC LDI"
+	
+config PANEL_E1_S6E3FAE_AMB616FM01_FHD
+	bool "LSI S6E3FAE LDI"
+
 config PANEL_E3_S6E3HAE_AMB681AZ01_WQHD
 	bool "LSI S6E3HAE LDI"