Skip to content

ltc2378: add linux support#695

Merged
tfcollins merged 1 commit intomainfrom
ltc2378_20_pyadi
Nov 13, 2025
Merged

ltc2378: add linux support#695
tfcollins merged 1 commit intomainfrom
ltc2378_20_pyadi

Conversation

@PIoandan
Copy link
Collaborator

@PIoandan PIoandan commented Nov 4, 2025

Add ltc2378 pyadi-iio support for the linux driver.

https://github.com/analogdevicesinc/linux/tree/ltc2378-dev

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Hardware: Zedboard + LTC2378_20
  • OS: Linux

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have signed off all commits and they contain "Signed-off by: "
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Add ltc2378 pyadi-iio support for the linux driver.

https://github.com/analogdevicesinc/linux/tree/ltc2378-dev

Signed-off-by: Pop Ioan Daniel <pop.ioan-daniel@analog.com>
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Generated documentation for this PR is available at Link

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Test Results

1 715 tests  +1     462 ✅ ±0   12m 2s ⏱️ -2s
    1 suites ±0   1 253 💤 +1 
    1 files   ±0       0 ❌ ±0 

Results for commit a1459bc. ± Comparison against base commit b89168a.

This pull request removes 4 and adds 5 tests. Note that renamed tests count towards both.
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[0.5, 11.0, 33.0, 31.0, 30.0, 14.0, 11.0, 4.0, 10.5, 1.0]-depends={'gain_control_mode_chan0': 'spi', 'rx_ensm_mode_chan0': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[8.0, 7.0, 12.0, 5.0, 19.5, 21.5, 25.0, 19.5, 24.5, 24.5]-depends={'gain_control_mode_chan1': 'spi', 'rx_ensm_mode_chan1': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan0-val=[-32.7, -23.7, -3.0, -31.25, -6.9, -28.45, -1.05, -18.0, -19.4, -1.45]-depends={'atten_control_mode_chan0': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan1-val=[-5.55, -17.9, -11.85, -33.15, -25.7, -37.1, -16.25, -2.5, -29.4, -22.25]-depends={'atten_control_mode_chan1': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[29.0, 18.5, 15.0, 27.5, 11.0, 6.0, 19.0, 26.5, 7.0, 22.5]-depends={'gain_control_mode_chan1': 'spi', 'rx_ensm_mode_chan1': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=rx_hardwaregain_chan0-val=[3.5, 2.5, 3.5, 4.0, 29.5, 10.5, 18.5, 17.0, 19.0, 15.0]-depends={'gain_control_mode_chan0': 'spi', 'rx_ensm_mode_chan0': 'rf_enabled'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan0-val=[-21.45, -33.2, -8.35, -21.75, -19.55, -21.55, -39.7, -26.55, -21.65, -29.65]-depends={'atten_control_mode_chan0': 'spi'}-classname=adi.adrv9002]
test.test_adrv9002_p ‑ test_adrv9002_hardware_gain[attr=tx_hardwaregain_chan1-val=[-36.55, -31.0, -14.35, -34.75, -28.35, -19.9, -15.65, -6.5, -10.0, -23.6]-depends={'atten_control_mode_chan1': 'spi'}-classname=adi.adrv9002]
test.test_ltc2378 ‑ test_ltc2378_rx_data[channel=0-classname=adi.ltc2378]

♻️ This comment has been updated with latest results.

@tfcollins tfcollins merged commit 40c096a into main Nov 13, 2025
50 of 53 checks passed
@tfcollins tfcollins deleted the ltc2378_20_pyadi branch November 13, 2025 15:58
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.

2 participants