-
Notifications
You must be signed in to change notification settings - Fork 919
Max22007 dev #3015
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jansunil
wants to merge
10,000
commits into
mirror_ci/jic23/iio/testing
Choose a base branch
from
max22007-dev
base: mirror_ci/jic23/iio/testing
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Max22007 dev #3015
Conversation
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
In adf4030_chan_dir_set(), every time 'initial' is false, 'ret' was being used uninitialized because we're ignoring the return value from regmap_update_bits(). Make sure we don't! Fixes: 54bbd40 ("iio: frequency: support the adf4030 Synchronizer") Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit a444a58)
Add a new powerdown mode for DACs with 7.7kohm and 32kohm resistor to GND. Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com> Link: https://patch.msgid.link/20250429-togreg-v7-1-0af9c543b545@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> (cherry picked from commit 2d06ee6)
Document the AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) low-power, 16-bit, buffered voltage output DACs with software- programmable gain controls. They provide full-scale output spans of 2.5V or 5V for reference voltages of 2.5V. These devices operate on a single 2.7V to 5.5V supply and are guaranteed to be monotonic by design. The "R" variants include a 2.5V, 5ppm/°C internal reference, which is disabled by default. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com> Link: https://patch.msgid.link/20250429-togreg-v7-2-0af9c543b545@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> (cherry picked from commit a67a60a)
The AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) are low-power, 16-bit, buffered voltage output DACs with software- programmable gain controls, providing full-scale output spans of 2.5V or 5V for reference voltages of 2.5V. These devices operate from a single 2.7V to 5.5V supply and are guaranteed monotonic by design. The "R" variants include a 2.5V, 5ppm/°C internal reference, which is disabled by default. Support for monitoring internal die temperature, output voltages, and current of a selected channel via the MUXOUT pin using an external ADC is currently not implemented. Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/20250429-togreg-v7-3-0af9c543b545@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> (cherry picked from commit 934ca94)
Add divider ratio defs for OSCOUTx. Signed-off-by: George Mois <george.mois@analog.com> (cherry picked from commit 91e3946)
Extend the AD4000 series device tree documentation to also describe PulSAR devices. The single-channel series of PulSAR devices is similar to the AD4000 series except PulSAR devices sample at slower rates and don't have a configuration register. Because PulSAR devices don't have a configuration register, they don't support all features of AD4000 devices and thus fewer interfaces are provided to user space. Also, while AD4000 may have their SDI pin connected to SPI host MOSI line, PulSAR SDI pin is never connected to MOSI. Some devices within the PulSAR series are just faster versions of others. >From fastest to slowest, AD7980, AD7988-5, AD7686, AD7685, and AD7988-1 are all 16-bit pseudo-differential pin-for-pin compatible ADCs. Devices that only vary on the sample rate are documented with a common fallback compatible. Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/cc05f1471c409ab38722cd0e80fd5857ff9ce5db.1733147444.git.marcelo.schmitt@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> (cherry picked from commit c0abeb9)
Docs intended to document non-upstream drivers and general code such as continuous integration. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit ec4ca8e)
Minimal defconfig to have only IIO drivers of interest enabled for CI contenxt. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 072f4f2)
Minimal defconfig to have only IIO drivers of interest enabled for CI contenxt. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 13202bb)
Minimal defconfig to have only IIO drivers of interest enabled for CI contenxt. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 729d12c)
Add workflow to build the documentation. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 73e6bd3)
The cron jobs synchronize mirrors, applying the continuous integration on top. The alternative workflows.mirror files are provided to enable synchronizing forks also. It is necessary in the fork, however to prepare the default cron branch with the same steps as in self.yml, so then the subsequent runs are functional. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 1d80f54)
Add support for 3-wire SPI. Either by SPI_3WIRE or when externally converted using adi,spi-3wire-enable. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> (cherry picked from commit 86b0388)
Update reg_default according datasheet values. Signed-off-by: Jorge Marques <jorge.marques@analog.com> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> (cherry picked from commit 414451b)
Reading 0xBB (Version) is not being used for anything. So remove it. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> (cherry picked from commit deecf43)
This may avoid problems when build as module. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> (cherry picked from commit 25b1d3f)
In some contexts GITHUB_TOKEN permissions are not enough. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit ef26cf5)
The full name generated by mirror.yml is mirror/remote/branch, so mirror/analogdevicesinc/linux/main Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 8073fdb)
We cannot set the .callback_result() callback for cyclic transfers. If the cyclic transfer is purely done in hardware this would actually bring no issue but in cases cyclic happens in software, we would have the callback called multiple times which would lead to the DMA block to be freed ahead of time (and actually lead to a use after tree). Fixes: 16dd49b ("iio: buffer-dma: sync upstream and add mmap legacy kconfig") Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit 98aa331)
Starting with version 6.5, the dts files are saved in broadcom directory. Signed-off-by: Andreea Andrisan <Andreea.Andrisan@analog.com> (cherry picked from commit 65a4c1b)
strtobool() will be removed in 6.12. Hence let's do now the transition. Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit cefe9cc)
strtobool() will be removed in 6.12. Hence let's do now the transition. Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit 8eb53bd)
strtobool() will be removed in 6.12. Hence let's do now the transition. Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit c4fc3b5)
strtobool() will be removed in 6.12. Hence let's do now the transition. Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit 58a097a)
Always enable PM, since it is optional. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit eb1df52)
Add CI builds for adi_bcm2711_defconfig and adi_bcm2712_defconfig in arch/arm64. Signed-off-by: Alisa-Dariana Roman <alisa.roman@analog.com> (cherry picked from commit 7883147)
Use switch to detach head, to avoid failure if current checkout branch has the same name. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 424059e)
Use switch to detach head, to avoid failure if current checkout branch has the same name. Signed-off-by: Jorge Marques <jorge.marques@analog.com> (cherry picked from commit 844c24f)
All of the gpio functions are not exported or meant to be user by another source file or driver. Therefore define them as static. This was spotted when preparing a 6.12 RPI branch as we'll start getting warnings regarding this. So better fix it now. Signed-off-by: Nuno Sá <nuno.sa@analog.com> (cherry picked from commit 08b7d17)
c320631 to
c2b8fe5
Compare
Collaborator
Author
|
Changelog: |
nunojsa
reviewed
Dec 19, 2025
Collaborator
nunojsa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor things from me. I think we should be fine to go upstream after addressing my last comments
c2b8fe5 to
16990a3
Compare
Collaborator
Author
|
Changelog:
|
Devicetree bindings for MAX22007 4-channel 12-bit DAC that drives a voltage or current output on each channel Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Add support for the MAX22007 4 channel DAC that drives a voltage or current output on each channel. Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Add documentation for MAX22007 driver which describes how the user can access the driver using dtoverlays Signed-off-by: Janani Sunil <janani.sunil@analog.com>
2b7756c to
031133f
Compare
29d3775 to
f54dabf
Compare
c7fdb3b to
55cf059
Compare
1162035 to
416107d
Compare
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
necessary to understand them. List any dependencies required for this change.
any space), or simply check them after publishing the PR.
description and try to push all related PRs simultaneously.
PR Type
PR Checklist