drivers: sensors: nxp: kinetis: temp: select CONFIG_ADC
The NXP Kinetis temperature sensor depends on CONFIG_ADC. Make the driver Kconfig select CONFIG_ADC to get better CI coverage (enabling the driver when CONFIG_SENSOR is enabled without depending on CONFIG_ADC=y). Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
b21b50b02b
commit
0a49b788a4
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ config TEMP_KINETIS
|
|||
bool "NXP Kinetis Temperature Sensor"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_TEMPERATURE_ENABLED
|
||||
depends on (ADC && SOC_FAMILY_KINETIS)
|
||||
depends on SOC_FAMILY_KINETIS
|
||||
select ADC
|
||||
help
|
||||
Enable driver for NXP Kinetis temperature sensor.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue