!121 MIPI-CSI平台驱动模块添加-增加mipi_csi 文件交互功能

Merge pull request !121 from wangyeyu/master
This commit is contained in:
openharmony_ci 2021-09-28 01:06:40 +00:00 committed by Gitee
commit bd05881faf
4 changed files with 1250 additions and 0 deletions

View File

@ -12,6 +12,13 @@ config DRIVERS_HDF_PLATFORM_MIPI_DSI
help
Answer Y to enable HDF platform mipi dsi driver.
config DRIVERS_HDF_PLATFORM_MIPI_CSI
bool "Enable HDF platform mipi csi driver"
default n
depends on DRIVERS_HDF_PLATFORM
help
Answer Y to enable HDF platform mipi csi driver.
config DRIVERS_HDF_PLATFORM_GPIO
bool "Enable HDF platform gpio driver"
default n

View File

@ -14,6 +14,7 @@
obj-$(CONFIG_DRIVERS_HDF_PLATFORM) += common/
obj-$(CONFIG_DRIVERS_HDF_PLATFORM_MIPI_DSI) += mipi_dsi/
obj-$(CONFIG_DRIVERS_HDF_PLATFORM_MIPI_CSI) += mipi_csi/
obj-$(CONFIG_DRIVERS_HDF_PLATFORM_GPIO) += gpio/
obj-$(CONFIG_DRIVERS_HDF_PLATFORM_I2C) += i2c/
obj-$(CONFIG_DRIVERS_HDF_PLATFORM_WATCHDOG) += watchdog/

22
platform/mipi_csi/Makefile Executable file
View File

@ -0,0 +1,22 @@
#
# Copyright (c) 2020-2021 Huawei Device Co., Ltd.
#
# This software is licensed under the terms of the GNU General Public
# License version 2, as published by the Free Software Foundation, and
# may be copied, distributed, and modified under those terms.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
include drivers/hdf/khdf/platform/platform.mk
obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/mipi_csi_core.o \
$(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/mipi_csi_if.o
obj-y += mipi_csi_dev.o \
EXTRA_CFLAGS += -Wno-error=date-time

1220
platform/mipi_csi/mipi_csi_dev.c Executable file

File diff suppressed because it is too large Load Diff