-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: video: i2c: new category to group all sensors
Video processing devices sometimes include external chips often configured on I2C: sensors, flash, motors, decoders, ISPs... This commit groups the sensor on a new I2C directory layout akin to Linux's drivers/media/i2c. The Kconfig CMakeLists.txt is slightly adjusted for the occasion, to look like the other drivers directories. Signed-off-by: Josuah Demangeon <[email protected]>
- Loading branch information
Showing
14 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
zephyr_library() | ||
|
||
# zephyr-keep-sorted-start | ||
zephyr_library_sources_ifdef(CONFIG_VIDEO_MT9M114 video_mt9m114.c) | ||
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV2640 video_ov2640.c) | ||
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV5640 video_ov5640.c) | ||
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7670 video_ov7670.c) | ||
zephyr_library_sources_ifdef(CONFIG_VIDEO_OV7725 video_ov7725.c) | ||
# zephyr-keep-sorted-stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# VIDEO drivers on I2C bus configuration options | ||
|
||
# Copyright (c) 2019 Linaro Limited | ||
# Copyright (c) 2024 tinyVision.ai Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# zephyr-keep-sorted-start | ||
source "drivers/video/i2c/Kconfig.mt9m114" | ||
source "drivers/video/i2c/Kconfig.ov2640" | ||
source "drivers/video/i2c/Kconfig.ov5640" | ||
source "drivers/video/i2c/Kconfig.ov7670" | ||
source "drivers/video/i2c/Kconfig.ov7725" | ||
# zephyr-keep-sorted-stop |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.