-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: ADCAnalog-to-Digital Converter (ADC)Analog-to-Digital Converter (ADC)
Description
Reported by Piotr Mienkowski:
adc_enable/adc_disable functions that belong to the adc driver API are redundant / conflict with Zephyr's power management subsystem. These functions should be removed.
As stated by [~tobur] on zephyr-devel list: "ADC API was designed some months before PM one, and was not revised once the later came in."
At first the two functions will be deprecated. They will be removed in a later Zephyr release.
Following drivers implement currently adc_enable/adc_disable functions and need to be reworked:
- drivers/adc/adc_dw.c
- drivers/adc/adc_qmsi.c
- drivers/adc/adc_qmsi_ss.c
(Imported from Jira ZEP-2550)
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: ADCAnalog-to-Digital Converter (ADC)Analog-to-Digital Converter (ADC)