drivers: sensor: ite: 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-03-27 19:02:02 -05:00 committed by Anas Nashif
parent 2fc36432e6
commit ec105cbf67
11 changed files with 17 additions and 5 deletions

View file

@ -3596,7 +3596,7 @@ ITE Platforms:
- sjg20 - sjg20
files: files:
- boards/ite/ - boards/ite/
- drivers/*/*/*it8xxx2*.c - drivers/sensor/ite/
- drivers/*/*it8xxx2*.c - drivers/*/*it8xxx2*.c
- drivers/*/*_ite_* - drivers/*/*_ite_*
- dts/bindings/*/*ite* - dts/bindings/*/*ite*

View file

@ -4,6 +4,7 @@
add_subdirectory(adi) add_subdirectory(adi)
add_subdirectory(ams) add_subdirectory(ams)
add_subdirectory(bosch) add_subdirectory(bosch)
add_subdirectory(ite)
add_subdirectory(maxim) add_subdirectory(maxim)
add_subdirectory(microchip) add_subdirectory(microchip)
add_subdirectory(nxp) add_subdirectory(nxp)
@ -67,11 +68,9 @@ add_subdirectory_ifdef(CONFIG_S11059 s11059)
add_subdirectory_ifdef(CONFIG_SBS_GAUGE sbs_gauge) add_subdirectory_ifdef(CONFIG_SBS_GAUGE sbs_gauge)
add_subdirectory_ifdef(CONFIG_SM351LT sm351lt) add_subdirectory_ifdef(CONFIG_SM351LT sm351lt)
add_subdirectory_ifdef(CONFIG_SX9500 sx9500) add_subdirectory_ifdef(CONFIG_SX9500 sx9500)
add_subdirectory_ifdef(CONFIG_TACH_IT8XXX2 ite_tach_it8xxx2)
add_subdirectory_ifdef(CONFIG_TACH_NPCX nuvoton_tach_npcx) add_subdirectory_ifdef(CONFIG_TACH_NPCX nuvoton_tach_npcx)
add_subdirectory_ifdef(CONFIG_TEMP_NRF5 nrf5) add_subdirectory_ifdef(CONFIG_TEMP_NRF5 nrf5)
add_subdirectory_ifdef(CONFIG_TH02 th02) add_subdirectory_ifdef(CONFIG_TH02 th02)
add_subdirectory_ifdef(CONFIG_VCMP_IT8XXX2 ite_vcmp_it8xxx2)
add_subdirectory_ifdef(CONFIG_VCNL4040 vcnl4040) add_subdirectory_ifdef(CONFIG_VCNL4040 vcnl4040)
add_subdirectory_ifdef(CONFIG_VCNL36825T vcnl36825t) add_subdirectory_ifdef(CONFIG_VCNL36825T vcnl36825t)
add_subdirectory_ifdef(CONFIG_VEML7700 veml7700) add_subdirectory_ifdef(CONFIG_VEML7700 veml7700)

View file

@ -85,6 +85,7 @@ comment "Device Drivers"
source "drivers/sensor/adi/Kconfig" source "drivers/sensor/adi/Kconfig"
source "drivers/sensor/ams/Kconfig" source "drivers/sensor/ams/Kconfig"
source "drivers/sensor/bosch/Kconfig" source "drivers/sensor/bosch/Kconfig"
source "drivers/sensor/ite/Kconfig"
source "drivers/sensor/maxim/Kconfig" source "drivers/sensor/maxim/Kconfig"
source "drivers/sensor/microchip/Kconfig" source "drivers/sensor/microchip/Kconfig"
source "drivers/sensor/nxp/Kconfig" source "drivers/sensor/nxp/Kconfig"
@ -125,8 +126,6 @@ source "drivers/sensor/tdk/icm42688/Kconfig"
source "drivers/sensor/tdk/icp10125/Kconfig" source "drivers/sensor/tdk/icp10125/Kconfig"
source "drivers/sensor/isl29035/Kconfig" source "drivers/sensor/isl29035/Kconfig"
source "drivers/sensor/ist8310/Kconfig" source "drivers/sensor/ist8310/Kconfig"
source "drivers/sensor/ite_tach_it8xxx2/Kconfig"
source "drivers/sensor/ite_vcmp_it8xxx2/Kconfig"
source "drivers/sensor/lm35/Kconfig" source "drivers/sensor/lm35/Kconfig"
source "drivers/sensor/lm75/Kconfig" source "drivers/sensor/lm75/Kconfig"
source "drivers/sensor/lm77/Kconfig" source "drivers/sensor/lm77/Kconfig"

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_TACH_IT8XXX2 ite_tach_it8xxx2)
add_subdirectory_ifdef(CONFIG_VCMP_IT8XXX2 ite_vcmp_it8xxx2)
# 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/ite/ite_tach_it8xxx2/Kconfig"
source "drivers/sensor/ite/ite_vcmp_it8xxx2/Kconfig"
# zephyr-keep-sorted-stop