Skip to content

iio: dac: add ad5706r (part 2)#3326

Closed
actorreno wants to merge 5 commits into
mainfrom
dev_ad5706r_2
Closed

iio: dac: add ad5706r (part 2)#3326
actorreno wants to merge 5 commits into
mainfrom
dev_ad5706r_2

Conversation

@actorreno

Copy link
Copy Markdown
Contributor

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:

    • 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

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

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have compiled my changes, including the documentation
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly
  • I have provided links for the relevant upstream lore

actorreno added 5 commits May 19, 2026 10:13
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>
@actorreno actorreno closed this May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant