mirror of
https://gitee.com/openharmony/drivers_adapter_khdf_linux
synced 2024-12-03 10:32:24 +00:00
!121 MIPI-CSI平台驱动模块添加-增加mipi_csi 文件交互功能
Merge pull request !121 from wangyeyu/master
This commit is contained in:
commit
bd05881faf
@ -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
|
||||
|
@ -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
22
platform/mipi_csi/Makefile
Executable 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
1220
platform/mipi_csi/mipi_csi_dev.c
Executable file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user