Introduces device tree bindings for custom ADC voltage and current sensors, allowing for flexible configuration of sensor inputs and associated GPIOs. This enables proper hardware abstraction for ADC measurements. The example overlay file has been removed as its content is now integrated or superseded by the new binding definitions.
17 lines
334 B
Plaintext
17 lines
334 B
Plaintext
config ADC_SENSOR
|
|
bool "ADC sensor library"
|
|
default y
|
|
help
|
|
Enable ADC sensor library for voltage and current measurements.
|
|
|
|
if ADC_SENSOR
|
|
|
|
config ADC_SENSOR_SIMULATED
|
|
bool "Use simulated ADC readings"
|
|
default n
|
|
help
|
|
Use simulated values instead of real ADC readings.
|
|
Voltage: 12000mV, Current: 45mA
|
|
|
|
endif # ADC_SENSOR
|