Skip to content

Conversation

@jansunil
Copy link
Collaborator

@jansunil jansunil commented Nov 7, 2025

PR Description

  • Please replace this comment with a summary of your changes, and add any context
    necessary to understand them. List any dependencies required for this change.
  • To check the checkboxes below, insert a 'x' between square brackets (without
    any space), or simply check them after publishing the PR.
  • If you changes include a breaking change, please specify dependent PRs in the
    description and try to push all related PRs simultaneously.

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

nunojsa and others added 30 commits August 5, 2025 12:11
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)
Fix for #2775: Division by zero issue in debugfs initialize handler
Make sure workqueue has completed before moving on.

Fixes: d95373f ("drivers/iio/adc/ad9361: Add BIST - Loopback, PRBS and TONE")

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
(cherry picked from commit f4d1d12)
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)
@jansunil
Copy link
Collaborator Author

Changelog:
Remove rpi-max22007.dtbo entry from makefile

Copy link
Collaborator

@nunojsa nunojsa left a 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

@jansunil
Copy link
Collaborator Author

Changelog:

  1. Remove explicit assignments for enums
  2. Remove memset of tx and rxbuf in the max22007_spi_read() function
  3. Remove helper function for configuring crc
  4. Remove crc_en member from the device
  5. Added a macro to define the CRC overhead

@jansunil jansunil changed the base branch from rpi-6.12.y to mirror_ci/jic23/iio/testing December 19, 2025 13:51
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>
@jansunil jansunil force-pushed the max22007-dev branch 4 times, most recently from 2b7756c to 031133f Compare December 19, 2025 15:30
@github-actions github-actions bot force-pushed the mirror_ci/jic23/iio/testing branch 7 times, most recently from 29d3775 to f54dabf Compare December 26, 2025 00:10
@github-actions github-actions bot force-pushed the mirror_ci/jic23/iio/testing branch 7 times, most recently from c7fdb3b to 55cf059 Compare January 2, 2026 00:09
@github-actions github-actions bot force-pushed the mirror_ci/jic23/iio/testing branch 2 times, most recently from 1162035 to 416107d Compare January 4, 2026 00:02
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.