zephyr/drivers/sensor/current_amp
Jordan Yates d725666b2c sensor: convert ADC depends on to select
When a sensor that depends on an ADC is enabled in devicetree, enable
the ADC subsystem. ADC is roughly equivalent to a bus for these sensors
(the mechanism through which data is transferred), which had the same
conversion applied in #48707.

The same benefits apply here, namely removing the need for the following
pattern in board `.kconfig` files:
```
configdefault ADC
    default y if SENSOR
```

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-05-16 13:31:32 +02:00
..
CMakeLists.txt drivers: sensor: current_amp: add driver 2023-09-13 12:05:52 +02:00
current_amp.c drivers: current sense amp: add pm 2023-09-25 11:23:45 -05:00
Kconfig sensor: convert ADC depends on to select 2024-05-16 13:31:32 +02:00