iio: dac: add ad5706r (part 2)#3326
Closed
actorreno wants to merge 5 commits into
Closed
Conversation
Add device tree binding documentation for the Analog Devices AD5706R 4-channel 16-bit current output digital-to-analog converter. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Add support for the Analog Devices AD5706R, a 4-channel 16-bit current output digital-to-analog converter with SPI interface. Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Imply ad5706r for build Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
This commit adds the following device attributes to ad5706r - dev_addr, spi cmd can change to communicate up to 4 devices on same bus - addr_ascension pertaining to how multibyte registers are accessed - single_instr to choose whether streaming or single transaction - sampling_frequency for PWM frequency - hw_ldac_tg_state for PWM control of low or high - hw_ldac_tg_pwm to make the ldac pin into a pwm - multi_dac_input_a content for multi select channel load - multi_dac_sw_ldac_trigger to trigger the multi channel load - mux_out_sel for internal monitoring - hw_shutdown_state controls device enable pin Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
This commit adds the documentation for the device attributes added on the ad5706r driver Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@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.
PR Description
This is part 2 of series of patches to fully support ad5706r
refer to part 1 here: #3325
Adding device attributes to AD5706R, a quad 16-bit current output digital-to-analog converter with integrated precision reference.
Datasheet of AD5706R.
Features Implemented:
This PR is related to #3096
The upstream asked this to be split.
Part 1 - basic driver
Part 2 - device attributes (this)
Part 3 - Channel attributes
Part 4 - debugfs attributes
PR Type
PR Checklist