adi: cn0540: Re-add calibration procedure - #792
Open
machschmitt wants to merge 1 commit into
Open
Conversation
CN0540 calibration procedure was removed in February, 2022. However, costumers reported missing that feature in August, 2023. The same commit that removed the calibrate function from CN0540 also added a slightly updated version of the calibrate function to CN0532. Re-introduce the calibration feature to CN0540 on same updated form that is available in CN0532. Link: https://ez.analog.com/linux-software-drivers/f/q-a/572902/trouble-calibrating-cn0540-using-pyadi-iio?queryID=411c40aa86081da8ea48e1c6bad51858&objectId=82ecfad5-7016-4bd9-b5f2-74ffcddb4450&eztype=Forum%20Thread Fixes: eaad1fa ("[cn0540] Update calibration routine") Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
CN0540 calibration procedure was removed in February, 2022. However, costumers reported missing that feature in August, 2023. The same commit that removed the calibrate function from CN0540 also added a slightly updated version of the calibrate function to CN0532. Re-introduce the calibration feature to CN0540 on same updated form that is available in CN0532.
Link: https://ez.analog.com/linux-software-drivers/f/q-a/572902/trouble-calibrating-cn0540-using-pyadi-iio?queryID=411c40aa86081da8ea48e1c6bad51858&objectId=82ecfad5-7016-4bd9-b5f2-74ffcddb4450&eztype=Forum%20Thread
Fixes: eaad1fa ("[cn0540] Update calibration routine")
Fixes # (issue)
Type of change
How has this been tested?
State explicitly whether this was tested against real hardware, an emulated context (iio-emu), or not run. Name the part(s) and the context URI or board used.
python3 -m pytest -k ad4080 --adi-hw-map):Test configuration
Documentation
doc/source/Checklist
invoke precommitpasses locallySigned-off-by: Name <email>)