summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRodrigo Alencar <rodrigo.alencar@analog.com>2026-05-24 11:17:05 +0100
committerJonathan Cameron <jic23@kernel.org>2026-06-02 15:24:47 +0100
commit16fc40c250198d970ae6dafbecf000fe68773c4d (patch)
treefefc92fea704a73fdc974d20ceed6c7df0478725 /scripts
parent34222a45490910141053aa7c46601bb2c27ac82c (diff)
iio: dac: ad5686: add helpers to handle powerdown masks
Add ad5686_pd_field_set() and ad5686_pd_field_get() helpers to cleanup powerdown mask control. Define AD5686_PD_* constants, e.g. AD5686_PD_MSK to hold powerdown mask value for a single channel. AD5686_LDAC_PWRDN_* macros are replaced by AD5686_PD_MODE_*, because they are unused and the LDAC feature for async load of DAC channel values is not related to power down control. Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions