drivers: sensor: infineon: Move to vendor subdirectory

Organizes sensor drivers by vendor to distribute maintainership
responsibilities.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
This commit is contained in:
Maureen Helm 2024-04-04 18:45:50 -05:00 committed by Anas Nashif
parent 5d79eced22
commit 1b1954649b
11 changed files with 17 additions and 5 deletions

View file

@ -3676,7 +3676,7 @@ Infineon Platforms:
- drivers/*/*ifx_cat1*
- drivers/*/*xmc*/
- drivers/*/*xmc*.c
- drivers/*/*/*xmc*
- drivers/sensor/infineon/
- dts/arm/infineon/
- dts/arm/cypress/
- soc/cypress/

View file

@ -6,6 +6,7 @@ add_subdirectory(ams)
add_subdirectory(aosong)
add_subdirectory(bosch)
add_subdirectory(honeywell)
add_subdirectory(infineon)
add_subdirectory(ite)
add_subdirectory(maxim)
add_subdirectory(microchip)
@ -29,7 +30,6 @@ add_subdirectory_ifdef(CONFIG_AMD_SB_TSI amd_sb_tsi)
add_subdirectory_ifdef(CONFIG_AMG88XX amg88xx)
add_subdirectory_ifdef(CONFIG_APDS9960 apds9960)
add_subdirectory_ifdef(CONFIG_CURRENT_AMP current_amp)
add_subdirectory_ifdef(CONFIG_DPS310 dps310)
add_subdirectory_ifdef(CONFIG_ENS160 ens160)
add_subdirectory_ifdef(CONFIG_ESP32_TEMP esp32_temp)
add_subdirectory_ifdef(CONFIG_EXPLORIR_M explorir_m)
@ -64,7 +64,6 @@ add_subdirectory_ifdef(CONFIG_SBS_GAUGE sbs_gauge)
add_subdirectory_ifdef(CONFIG_SX9500 sx9500)
add_subdirectory_ifdef(CONFIG_TH02 th02)
add_subdirectory_ifdef(CONFIG_VOLTAGE_DIVIDER voltage_divider)
add_subdirectory_ifdef(CONFIG_XMC4XXX_TEMP xmc4xxx_temp)
add_subdirectory_ifdef(CONFIG_TACH_ENE_KB1200 ene_tach_kb1200)
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/sensor.h)

View file

@ -87,6 +87,7 @@ source "drivers/sensor/ams/Kconfig"
source "drivers/sensor/aosong/Kconfig"
source "drivers/sensor/bosch/Kconfig"
source "drivers/sensor/honeywell/Kconfig"
source "drivers/sensor/infineon/Kconfig"
source "drivers/sensor/ite/Kconfig"
source "drivers/sensor/maxim/Kconfig"
source "drivers/sensor/microchip/Kconfig"
@ -110,7 +111,6 @@ source "drivers/sensor/amd_sb_tsi/Kconfig"
source "drivers/sensor/amg88xx/Kconfig"
source "drivers/sensor/apds9960/Kconfig"
source "drivers/sensor/current_amp/Kconfig"
source "drivers/sensor/dps310/Kconfig"
source "drivers/sensor/ens160/Kconfig"
source "drivers/sensor/esp32_temp/Kconfig"
source "drivers/sensor/explorir_m/Kconfig"
@ -145,7 +145,6 @@ source "drivers/sensor/sbs_gauge/Kconfig"
source "drivers/sensor/sx9500/Kconfig"
source "drivers/sensor/th02/Kconfig"
source "drivers/sensor/voltage_divider/Kconfig"
source "drivers/sensor/xmc4xxx_temp/Kconfig"
source "drivers/sensor/ene_tach_kb1200/Kconfig"
endif # SENSOR

View file

@ -0,0 +1,7 @@
# Copyright (c) 2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
# zephyr-keep-sorted-start
add_subdirectory_ifdef(CONFIG_DPS310 dps310)
add_subdirectory_ifdef(CONFIG_XMC4XXX_TEMP xmc4xxx_temp)
# zephyr-keep-sorted-stop

View file

@ -0,0 +1,7 @@
# Copyright (c) 2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
# zephyr-keep-sorted-start
source "drivers/sensor/infineon/dps310/Kconfig"
source "drivers/sensor/infineon/xmc4xxx_temp/Kconfig"
# zephyr-keep-sorted-stop