From 3c15b18226824649587d1ce7266e1cfe00175227 Mon Sep 17 00:00:00 2001 From: Ramona Gradinariu Date: Tue, 9 Jan 2024 11:03:28 +0200 Subject: [PATCH 1/2] Update copyright year to fix Lint errors Signed-off-by: Ramona Gradinariu --- adi/QuadMxFE_multi.py | 2 +- adi/__init__.py | 2 +- adi/ad2s1210.py | 2 +- adi/ad4020.py | 2 +- adi/ad4110.py | 2 +- adi/ad4130.py | 2 +- adi/ad4630.py | 2 +- adi/ad469x.py | 2 +- adi/ad4858.py | 2 +- adi/ad5592r.py | 2 +- adi/ad5627.py | 2 +- adi/ad5686.py | 2 +- adi/ad5754r.py | 2 +- adi/ad578x.py | 2 +- adi/ad5940.py | 2 +- adi/ad6676.py | 2 +- adi/ad7124.py | 2 +- adi/ad717x.py | 2 +- adi/ad719x.py | 2 +- adi/ad7291.py | 2 +- adi/ad7606.py | 2 +- adi/ad7689.py | 2 +- adi/ad7746.py | 2 +- adi/ad7768.py | 2 +- adi/ad777x.py | 2 +- adi/ad7799.py | 2 +- adi/ad9081.py | 2 +- adi/ad9081_mc.py | 2 +- adi/ad9083.py | 2 +- adi/ad9084.py | 2 +- adi/ad9084_mc.py | 2 +- adi/ad9094.py | 2 +- adi/ad9136.py | 2 +- adi/ad9144.py | 2 +- adi/ad9152.py | 2 +- adi/ad9162.py | 2 +- adi/ad9166.py | 2 +- adi/ad9172.py | 2 +- adi/ad9250.py | 2 +- adi/ad9265.py | 2 +- adi/ad936x.py | 2 +- adi/ad937x.py | 2 +- adi/ad9434.py | 2 +- adi/ad9467.py | 2 +- adi/ad9625.py | 2 +- adi/ad9680.py | 2 +- adi/ad9739a.py | 2 +- adi/ada4961.py | 2 +- adi/adaq8092.py | 2 +- adi/adar1000.py | 2 +- adi/adf4159.py | 2 +- adi/adf4355.py | 2 +- adi/adf4371.py | 2 +- adi/adf5610.py | 2 +- adi/adg2128.py | 2 +- adi/adis16460.py | 2 +- adi/adis16495.py | 2 +- adi/adis16507.py | 2 +- adi/adl5240.py | 2 +- adi/adl5960.py | 2 +- adi/admv8818.py | 2 +- adi/adpd1080.py | 2 +- adi/adpd188.py | 2 +- adi/adpd410x.py | 2 +- adi/adrf5720.py | 2 +- adi/adrv9002.py | 2 +- adi/adrv9009.py | 2 +- adi/adrv9009_zu11eg.py | 2 +- adi/adrv9009_zu11eg_fmcomms8.py | 2 +- adi/adrv9009_zu11eg_multi.py | 2 +- adi/adt7420.py | 2 +- adi/adxl313.py | 2 +- adi/adxl345.py | 2 +- adi/adxl355.py | 2 +- adi/adxrs290.py | 2 +- adi/attribute.py | 2 +- adi/cn0511.py | 2 +- adi/cn0532.py | 2 +- adi/cn0540.py | 2 +- adi/cn0554.py | 2 +- adi/cn0566.py | 2 +- adi/cn0575.py | 2 +- adi/cn0579.py | 2 +- adi/compat.py | 2 +- adi/context_manager.py | 2 +- adi/daq2.py | 2 +- adi/daq3.py | 2 +- adi/dds.py | 2 +- adi/dsp.py | 2 +- adi/fmc_vna.py | 2 +- adi/fmcadc3.py | 2 +- adi/fmcjesdadc1.py | 2 +- adi/fmclidar1.py | 2 +- adi/fmcomms11.py | 2 +- adi/fmcomms5.py | 2 +- adi/gen_mux.py | 2 +- adi/jesd.py | 2 +- adi/jesd_internal.py | 2 +- adi/lm75.py | 2 +- adi/ltc2314_14.py | 2 +- adi/ltc2387.py | 2 +- adi/ltc2499.py | 2 +- adi/ltc2688.py | 2 +- adi/ltc2983.py | 2 +- adi/max11205.py | 2 +- adi/max14001.py | 2 +- adi/max31855.py | 2 +- adi/max31865.py | 2 +- adi/max9611.py | 2 +- adi/obs.py | 2 +- adi/one_bit_adc_dac.py | 2 +- adi/rx_tx.py | 2 +- adi/sync_start.py | 2 +- adi/tdd.py | 2 +- 114 files changed, 114 insertions(+), 114 deletions(-) diff --git a/adi/QuadMxFE_multi.py b/adi/QuadMxFE_multi.py index e6b2e067c..c5f2aaadf 100644 --- a/adi/QuadMxFE_multi.py +++ b/adi/QuadMxFE_multi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/__init__.py b/adi/__init__.py index fc6e920f7..3fe376fbd 100644 --- a/adi/__init__.py +++ b/adi/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad2s1210.py b/adi/ad2s1210.py index 54905b370..d0d117e04 100644 --- a/adi/ad2s1210.py +++ b/adi/ad2s1210.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad4020.py b/adi/ad4020.py index 06fc3bed5..7ba01f2bb 100644 --- a/adi/ad4020.py +++ b/adi/ad4020.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad4110.py b/adi/ad4110.py index f6d230c4d..b7522661f 100644 --- a/adi/ad4110.py +++ b/adi/ad4110.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad4130.py b/adi/ad4130.py index eb2b7c6d0..f53a3a6c4 100644 --- a/adi/ad4130.py +++ b/adi/ad4130.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad4630.py b/adi/ad4630.py index 571353475..006c5e72a 100644 --- a/adi/ad4630.py +++ b/adi/ad4630.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad469x.py b/adi/ad469x.py index 2c37dfc58..8e629e7cf 100644 --- a/adi/ad469x.py +++ b/adi/ad469x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad4858.py b/adi/ad4858.py index ef20d815d..30d0ac3bf 100644 --- a/adi/ad4858.py +++ b/adi/ad4858.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5592r.py b/adi/ad5592r.py index a91cac85c..25cca1ff1 100644 --- a/adi/ad5592r.py +++ b/adi/ad5592r.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5627.py b/adi/ad5627.py index 01e8ab30c..b6fdacfa3 100644 --- a/adi/ad5627.py +++ b/adi/ad5627.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5686.py b/adi/ad5686.py index 8b8bfb3d0..802c39e4d 100644 --- a/adi/ad5686.py +++ b/adi/ad5686.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5754r.py b/adi/ad5754r.py index 91b0eabb2..6fc90f7e7 100644 --- a/adi/ad5754r.py +++ b/adi/ad5754r.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad578x.py b/adi/ad578x.py index 26e102dc0..d9fbc4bc4 100644 --- a/adi/ad578x.py +++ b/adi/ad578x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad5940.py b/adi/ad5940.py index 4f8a58881..2c54d2f57 100644 --- a/adi/ad5940.py +++ b/adi/ad5940.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad6676.py b/adi/ad6676.py index 5d986c98f..0b31c0071 100644 --- a/adi/ad6676.py +++ b/adi/ad6676.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7124.py b/adi/ad7124.py index 057de82c4..41b7b1daa 100644 --- a/adi/ad7124.py +++ b/adi/ad7124.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad717x.py b/adi/ad717x.py index 2f30e83dd..ea59f2f4f 100644 --- a/adi/ad717x.py +++ b/adi/ad717x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad719x.py b/adi/ad719x.py index b57c2580d..3f6124bf4 100644 --- a/adi/ad719x.py +++ b/adi/ad719x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7291.py b/adi/ad7291.py index 17fded6ed..5f69d297d 100644 --- a/adi/ad7291.py +++ b/adi/ad7291.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7606.py b/adi/ad7606.py index e3f1cb7ce..0d13099b7 100644 --- a/adi/ad7606.py +++ b/adi/ad7606.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7689.py b/adi/ad7689.py index 96d6c5744..1d139e5fd 100644 --- a/adi/ad7689.py +++ b/adi/ad7689.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7746.py b/adi/ad7746.py index e5675e3e8..af228b328 100644 --- a/adi/ad7746.py +++ b/adi/ad7746.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7768.py b/adi/ad7768.py index 01f476689..ef3490ed9 100644 --- a/adi/ad7768.py +++ b/adi/ad7768.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad777x.py b/adi/ad777x.py index 3b16c0257..1a6ab908d 100644 --- a/adi/ad777x.py +++ b/adi/ad777x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad7799.py b/adi/ad7799.py index 581276a7a..5dbf43ba0 100644 --- a/adi/ad7799.py +++ b/adi/ad7799.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9081.py b/adi/ad9081.py index 77d2849b1..c844c8eb7 100644 --- a/adi/ad9081.py +++ b/adi/ad9081.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9081_mc.py b/adi/ad9081_mc.py index 3cd887f4b..1b804982b 100644 --- a/adi/ad9081_mc.py +++ b/adi/ad9081_mc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9083.py b/adi/ad9083.py index e757634bb..4aca5d076 100644 --- a/adi/ad9083.py +++ b/adi/ad9083.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9084.py b/adi/ad9084.py index c9e896534..409e7444e 100644 --- a/adi/ad9084.py +++ b/adi/ad9084.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9084_mc.py b/adi/ad9084_mc.py index 3aad0eacb..f5f905c98 100644 --- a/adi/ad9084_mc.py +++ b/adi/ad9084_mc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9094.py b/adi/ad9094.py index eea9d3b97..569d87646 100644 --- a/adi/ad9094.py +++ b/adi/ad9094.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9136.py b/adi/ad9136.py index 1a5a5ab11..fe2fa841a 100644 --- a/adi/ad9136.py +++ b/adi/ad9136.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9144.py b/adi/ad9144.py index a6b6e0800..dcc1d127b 100644 --- a/adi/ad9144.py +++ b/adi/ad9144.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9152.py b/adi/ad9152.py index 1e8946879..584c60d80 100644 --- a/adi/ad9152.py +++ b/adi/ad9152.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9162.py b/adi/ad9162.py index cd9eb9bbc..a30243ab2 100644 --- a/adi/ad9162.py +++ b/adi/ad9162.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9166.py b/adi/ad9166.py index c3f454e26..9fae8dc13 100644 --- a/adi/ad9166.py +++ b/adi/ad9166.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9172.py b/adi/ad9172.py index 0a1477e3d..1ec636e3f 100644 --- a/adi/ad9172.py +++ b/adi/ad9172.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9250.py b/adi/ad9250.py index 1403e2b2c..7031acb3b 100644 --- a/adi/ad9250.py +++ b/adi/ad9250.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9265.py b/adi/ad9265.py index d20baff4b..0daa0b49d 100644 --- a/adi/ad9265.py +++ b/adi/ad9265.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad936x.py b/adi/ad936x.py index 80975e5df..3b444fa26 100644 --- a/adi/ad936x.py +++ b/adi/ad936x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad937x.py b/adi/ad937x.py index 5c8e0a802..f26d186da 100644 --- a/adi/ad937x.py +++ b/adi/ad937x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9434.py b/adi/ad9434.py index 06edf2529..b51647cef 100644 --- a/adi/ad9434.py +++ b/adi/ad9434.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9467.py b/adi/ad9467.py index 434ba1cb4..3f5b06a1a 100644 --- a/adi/ad9467.py +++ b/adi/ad9467.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9625.py b/adi/ad9625.py index 6be4b4b00..b43b34845 100644 --- a/adi/ad9625.py +++ b/adi/ad9625.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9680.py b/adi/ad9680.py index 9cc8b7f52..0c8fea447 100644 --- a/adi/ad9680.py +++ b/adi/ad9680.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ad9739a.py b/adi/ad9739a.py index 46b5211e1..e96520043 100644 --- a/adi/ad9739a.py +++ b/adi/ad9739a.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ada4961.py b/adi/ada4961.py index c9aa8182a..365783063 100644 --- a/adi/ada4961.py +++ b/adi/ada4961.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adaq8092.py b/adi/adaq8092.py index 4796ed12c..eb8dad6f6 100644 --- a/adi/adaq8092.py +++ b/adi/adaq8092.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adar1000.py b/adi/adar1000.py index 5314c2d02..ec57afad9 100644 --- a/adi/adar1000.py +++ b/adi/adar1000.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf4159.py b/adi/adf4159.py index feeabdc5b..c60491b38 100644 --- a/adi/adf4159.py +++ b/adi/adf4159.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf4355.py b/adi/adf4355.py index ec589e42b..5ac660a44 100644 --- a/adi/adf4355.py +++ b/adi/adf4355.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf4371.py b/adi/adf4371.py index 44f11e48f..916bf81a1 100644 --- a/adi/adf4371.py +++ b/adi/adf4371.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adf5610.py b/adi/adf5610.py index 043a50ebd..c45ee09b4 100644 --- a/adi/adf5610.py +++ b/adi/adf5610.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adg2128.py b/adi/adg2128.py index 07c86db2f..96b0c92ba 100644 --- a/adi/adg2128.py +++ b/adi/adg2128.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adis16460.py b/adi/adis16460.py index 134ad3461..c324167f2 100644 --- a/adi/adis16460.py +++ b/adi/adis16460.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adis16495.py b/adi/adis16495.py index 681c6d558..2debf2bbb 100644 --- a/adi/adis16495.py +++ b/adi/adis16495.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adis16507.py b/adi/adis16507.py index fe5c476da..5997ca1cb 100644 --- a/adi/adis16507.py +++ b/adi/adis16507.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adl5240.py b/adi/adl5240.py index a9406a864..4630c941f 100644 --- a/adi/adl5240.py +++ b/adi/adl5240.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adl5960.py b/adi/adl5960.py index a5d76807f..2bb56ddb1 100644 --- a/adi/adl5960.py +++ b/adi/adl5960.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/admv8818.py b/adi/admv8818.py index 1c9f5622b..dac102f75 100644 --- a/adi/admv8818.py +++ b/adi/admv8818.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adpd1080.py b/adi/adpd1080.py index 5cd0ee123..54e028566 100644 --- a/adi/adpd1080.py +++ b/adi/adpd1080.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adpd188.py b/adi/adpd188.py index 0c619eba7..728311153 100644 --- a/adi/adpd188.py +++ b/adi/adpd188.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adpd410x.py b/adi/adpd410x.py index b9623295b..9b9c26cc1 100644 --- a/adi/adpd410x.py +++ b/adi/adpd410x.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrf5720.py b/adi/adrf5720.py index 6939ee8ab..174b740a1 100644 --- a/adi/adrf5720.py +++ b/adi/adrf5720.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9002.py b/adi/adrv9002.py index 163196f81..d6cbf713b 100644 --- a/adi/adrv9002.py +++ b/adi/adrv9002.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009.py b/adi/adrv9009.py index 20271ad51..25226fd31 100644 --- a/adi/adrv9009.py +++ b/adi/adrv9009.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009_zu11eg.py b/adi/adrv9009_zu11eg.py index 52036466a..ce5bca8e1 100644 --- a/adi/adrv9009_zu11eg.py +++ b/adi/adrv9009_zu11eg.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009_zu11eg_fmcomms8.py b/adi/adrv9009_zu11eg_fmcomms8.py index baf94adb8..bd5b8c1df 100644 --- a/adi/adrv9009_zu11eg_fmcomms8.py +++ b/adi/adrv9009_zu11eg_fmcomms8.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adrv9009_zu11eg_multi.py b/adi/adrv9009_zu11eg_multi.py index a67257d6e..16a8b39b1 100644 --- a/adi/adrv9009_zu11eg_multi.py +++ b/adi/adrv9009_zu11eg_multi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adt7420.py b/adi/adt7420.py index b7c4cf83d..433564c96 100644 --- a/adi/adt7420.py +++ b/adi/adt7420.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adxl313.py b/adi/adxl313.py index 6e12018df..3cbbba960 100644 --- a/adi/adxl313.py +++ b/adi/adxl313.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adxl345.py b/adi/adxl345.py index b86c21c20..61b9a5a64 100644 --- a/adi/adxl345.py +++ b/adi/adxl345.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adxl355.py b/adi/adxl355.py index 1776bad0f..a7bfa8c34 100644 --- a/adi/adxl355.py +++ b/adi/adxl355.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/adxrs290.py b/adi/adxrs290.py index 68abc77f5..d5930c095 100644 --- a/adi/adxrs290.py +++ b/adi/adxrs290.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/attribute.py b/adi/attribute.py index ce5f0f2f3..5279a2a6d 100644 --- a/adi/attribute.py +++ b/adi/attribute.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0511.py b/adi/cn0511.py index 3ab1f8672..1bc70b197 100644 --- a/adi/cn0511.py +++ b/adi/cn0511.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np diff --git a/adi/cn0532.py b/adi/cn0532.py index de8a87d4c..847c97696 100644 --- a/adi/cn0532.py +++ b/adi/cn0532.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0540.py b/adi/cn0540.py index 5f18bf7f8..09a2c71b2 100644 --- a/adi/cn0540.py +++ b/adi/cn0540.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0554.py b/adi/cn0554.py index 137624d9b..ea4c6ee56 100644 --- a/adi/cn0554.py +++ b/adi/cn0554.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0566.py b/adi/cn0566.py index 4d381ccd1..2fa0330fb 100644 --- a/adi/cn0566.py +++ b/adi/cn0566.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0575.py b/adi/cn0575.py index 77989f4ce..35eb64c9e 100644 --- a/adi/cn0575.py +++ b/adi/cn0575.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/cn0579.py b/adi/cn0579.py index c20971535..6bb2a9694 100644 --- a/adi/cn0579.py +++ b/adi/cn0579.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/compat.py b/adi/compat.py index a85e417ca..ed8cbe242 100644 --- a/adi/compat.py +++ b/adi/compat.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD """Compatibility module for libiio v1.X.""" diff --git a/adi/context_manager.py b/adi/context_manager.py index 7fbc88d87..73224d1ea 100644 --- a/adi/context_manager.py +++ b/adi/context_manager.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/daq2.py b/adi/daq2.py index 81c3b8d9c..13083e625 100644 --- a/adi/daq2.py +++ b/adi/daq2.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/daq3.py b/adi/daq3.py index cca24f7df..c45f5108b 100644 --- a/adi/daq3.py +++ b/adi/daq3.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/dds.py b/adi/dds.py index 33c99d544..1d412cc9a 100644 --- a/adi/dds.py +++ b/adi/dds.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/dsp.py b/adi/dsp.py index 876643cc4..d0acb8dc5 100644 --- a/adi/dsp.py +++ b/adi/dsp.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmc_vna.py b/adi/fmc_vna.py index 69ed1c27b..ecdfff4bc 100644 --- a/adi/fmc_vna.py +++ b/adi/fmc_vna.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmcadc3.py b/adi/fmcadc3.py index d58568ab3..98940eaec 100644 --- a/adi/fmcadc3.py +++ b/adi/fmcadc3.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmcjesdadc1.py b/adi/fmcjesdadc1.py index 9b275994a..1441e5124 100644 --- a/adi/fmcjesdadc1.py +++ b/adi/fmcjesdadc1.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmclidar1.py b/adi/fmclidar1.py index 298029425..ee749e1a3 100644 --- a/adi/fmclidar1.py +++ b/adi/fmclidar1.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmcomms11.py b/adi/fmcomms11.py index f9aae6607..235cf1a9e 100644 --- a/adi/fmcomms11.py +++ b/adi/fmcomms11.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/fmcomms5.py b/adi/fmcomms5.py index dfaf5f4c4..f22be0b4e 100644 --- a/adi/fmcomms5.py +++ b/adi/fmcomms5.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/gen_mux.py b/adi/gen_mux.py index 42d7420c9..588ce8e76 100644 --- a/adi/gen_mux.py +++ b/adi/gen_mux.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/jesd.py b/adi/jesd.py index f4283ba3b..0ef9cd5d9 100644 --- a/adi/jesd.py +++ b/adi/jesd.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/jesd_internal.py b/adi/jesd_internal.py index a698238f6..349133f8d 100644 --- a/adi/jesd_internal.py +++ b/adi/jesd_internal.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/lm75.py b/adi/lm75.py index 5ba0eb815..840aa2a65 100644 --- a/adi/lm75.py +++ b/adi/lm75.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2314_14.py b/adi/ltc2314_14.py index 5fc9d09eb..6a3143d09 100644 --- a/adi/ltc2314_14.py +++ b/adi/ltc2314_14.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2387.py b/adi/ltc2387.py index b904a8dad..a8ae1b4d9 100644 --- a/adi/ltc2387.py +++ b/adi/ltc2387.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2499.py b/adi/ltc2499.py index 39bd7aa98..d8c81dff1 100644 --- a/adi/ltc2499.py +++ b/adi/ltc2499.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD from collections import OrderedDict diff --git a/adi/ltc2688.py b/adi/ltc2688.py index ae871d769..23a79eee3 100644 --- a/adi/ltc2688.py +++ b/adi/ltc2688.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/ltc2983.py b/adi/ltc2983.py index 7557f3c50..4fa92278f 100644 --- a/adi/ltc2983.py +++ b/adi/ltc2983.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numbers diff --git a/adi/max11205.py b/adi/max11205.py index 93ace91dc..f51e64b5b 100644 --- a/adi/max11205.py +++ b/adi/max11205.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/max14001.py b/adi/max14001.py index 4e7c1b9a4..c25f10ba4 100644 --- a/adi/max14001.py +++ b/adi/max14001.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/max31855.py b/adi/max31855.py index 9976f7b31..da25972df 100644 --- a/adi/max31855.py +++ b/adi/max31855.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/max31865.py b/adi/max31865.py index 45947a2f9..53cbb80d9 100644 --- a/adi/max31865.py +++ b/adi/max31865.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD import numpy as np diff --git a/adi/max9611.py b/adi/max9611.py index 214601831..e4debb266 100644 --- a/adi/max9611.py +++ b/adi/max9611.py @@ -1,4 +1,4 @@ -# Copyright (C) 2023 Analog Devices, Inc. +# Copyright (C) 2023-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/obs.py b/adi/obs.py index ddfe30b9d..5a56c0825 100644 --- a/adi/obs.py +++ b/adi/obs.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/one_bit_adc_dac.py b/adi/one_bit_adc_dac.py index d0ec81701..e91ac45c0 100644 --- a/adi/one_bit_adc_dac.py +++ b/adi/one_bit_adc_dac.py @@ -1,4 +1,4 @@ -# Copyright (C) 2020-2023 Analog Devices, Inc. +# Copyright (C) 2020-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/rx_tx.py b/adi/rx_tx.py index ae9c1eb97..e931a9838 100644 --- a/adi/rx_tx.py +++ b/adi/rx_tx.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/sync_start.py b/adi/sync_start.py index 3b2cebe52..eaef6f2f1 100644 --- a/adi/sync_start.py +++ b/adi/sync_start.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022-2023 Analog Devices, Inc. +# Copyright (C) 2022-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD diff --git a/adi/tdd.py b/adi/tdd.py index dacdf12ee..a95544661 100644 --- a/adi/tdd.py +++ b/adi/tdd.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2023 Analog Devices, Inc. +# Copyright (C) 2021-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD From 353d2f90db412c59d5b0b341166cd245374cf909 Mon Sep 17 00:00:00 2001 From: Ramona Gradinariu Date: Mon, 8 Jan 2024 13:17:09 +0200 Subject: [PATCH 2/2] Add new attributes in adis16475 driver and update example Signed-off-by: Ramona Gradinariu --- adi/adis16475.py | 248 +++++++++++++++++++++++++++++++++++++++++- examples/adis16475.py | 60 ++++++++-- 2 files changed, 300 insertions(+), 8 deletions(-) diff --git a/adi/adis16475.py b/adi/adis16475.py index 2b015c2eb..a4a5f3354 100644 --- a/adi/adis16475.py +++ b/adi/adis16475.py @@ -1,7 +1,8 @@ -# Copyright (C) 2019-2023 Analog Devices, Inc. +# Copyright (C) 2019-2024 Analog Devices, Inc. # # SPDX short identifier: ADIBSD +from adi.attribute import attribute from adi.context_manager import context_manager from adi.rx_tx import rx @@ -18,6 +19,12 @@ class adis16475(rx, context_manager): "accel_y", "accel_z", "temp0", + "deltaangl_x", + "deltaangl_y", + "deltaangl_z", + "deltavelocity_x", + "deltavelocity_y", + "deltavelocity_z", ] _device_name = "" @@ -58,9 +65,107 @@ def __init__(self, uri="", device_name="adis16505-2"): self._ctrl = self._ctx.find_device(device_name) self._rxadc = self._ctx.find_device(device_name) + self.anglvel_x = self._channel_with_offset(self._ctrl, "anglvel_x") + self.anglvel_y = self._channel_with_offset(self._ctrl, "anglvel_y") + self.anglvel_z = self._channel_with_offset(self._ctrl, "anglvel_z") + self.accel_x = self._channel_with_offset(self._ctrl, "accel_x") + self.accel_y = self._channel_with_offset(self._ctrl, "accel_y") + self.accel_z = self._channel_with_offset(self._ctrl, "accel_z") + self.temp = self._channel(self._ctrl, "temp0") + self.deltaangl_x = self._channel(self._ctrl, "deltaangl_x") + self.deltaangl_y = self._channel(self._ctrl, "deltaangl_y") + self.deltaangl_z = self._channel(self._ctrl, "deltaangl_z") + self.deltavelocity_x = self._channel(self._ctrl, "deltavelocity_x") + self.deltavelocity_y = self._channel(self._ctrl, "deltavelocity_y") + self.deltavelocity_z = self._channel(self._ctrl, "deltavelocity_z") + rx.__init__(self) self.rx_buffer_size = 16 # Make default buffer smaller + def __get_scaled_sensor(self, channel_name: str) -> float: + raw = self._get_iio_attr(channel_name, "raw", False) + scale = self._get_iio_attr(channel_name, "scale", False) + + return raw * scale + + def get_anglvel_x(self): + """Value returned in radians per second.""" + return self.__get_scaled_sensor("anglvel_x") + + anglvel_x_conv = property(get_anglvel_x, None) + + def get_anglvel_y(self): + """Value returned in radians per second.""" + return self.__get_scaled_sensor("anglvel_y") + + anglvel_y_conv = property(get_anglvel_y, None) + + def get_anglvel_z(self): + """Value returned in radians per second.""" + return self.__get_scaled_sensor("anglvel_z") + + anglvel_z_conv = property(get_anglvel_z, None) + + def get_accel_x(self): + """Value returned in meters per squared second.""" + return self.__get_scaled_sensor("accel_x") + + accel_x_conv = property(get_accel_x, None) + + def get_accel_y(self): + """Value returned in meters per squared second.""" + return self.__get_scaled_sensor("accel_y") + + accel_y_conv = property(get_accel_y, None) + + def get_accel_z(self): + """Value returned in meters per squared second.""" + return self.__get_scaled_sensor("accel_z") + + accel_z_conv = property(get_accel_z, None) + + def get_deltaangl_x(self): + """Value returned in radians.""" + return self.__get_scaled_sensor("deltaangl_x") + + deltaangl_x_conv = property(get_deltaangl_x, None) + + def get_deltaangl_y(self): + """Value returned in radians.""" + return self.__get_scaled_sensor("deltaangl_y") + + deltaangl_y_conv = property(get_deltaangl_y, None) + + def get_deltaangl_z(self): + """Value returned in radians.""" + return self.__get_scaled_sensor("deltaangl_z") + + deltaangl_z_conv = property(get_deltaangl_z, None) + + def get_deltavelocity_x(self): + """Value returned in meters per second.""" + return self.__get_scaled_sensor("deltavelocity_x") + + deltavelocity_x_conv = property(get_deltavelocity_x, None) + + def get_deltavelocity_y(self): + """Value returned in meters per second.""" + return self.__get_scaled_sensor("deltavelocity_y") + + deltavelocity_y_conv = property(get_deltavelocity_y, None) + + def get_deltavelocity_z(self): + """Value returned in meters per second.""" + return self.__get_scaled_sensor("deltavelocity_z") + + deltavelocity_z_conv = property(get_deltavelocity_z, None) + + def get_temp(self): + """Value returned in millidegrees Celsius.""" + return self.__get_scaled_sensor("temp0") + + temp_conv = property(get_temp, None) + @property def sample_rate(self): """sample_rate: Sample rate in samples per second""" @@ -69,3 +174,144 @@ def sample_rate(self): @sample_rate.setter def sample_rate(self, value): self._set_iio_dev_attr_str("sampling_frequency", value) + + @property + def filter_low_pass_3db_frequency(self): + """filter_low_pass_3db_frequency: Bandwidth for the accelerometer and + gyroscope channels""" + return self._get_iio_dev_attr("filter_low_pass_3db_frequency") + + @filter_low_pass_3db_frequency.setter + def filter_low_pass_3db_frequency(self, value): + self._set_iio_dev_attr_str("filter_low_pass_3db_frequency", value) + + @property + def anglvel_x_calibbias(self): + """User calibration offset for gyroscope for the x-axis.""" + return self._get_iio_attr("anglvel_x", "calibbias", False) + + @anglvel_x_calibbias.setter + def anglvel_x_calibbias(self, value): + self._set_iio_attr("anglvel_x", "calibbias", False, value) + + @property + def anglvel_y_calibbias(self): + """User calibration offset for gyroscope for the y-axis.""" + return self._get_iio_attr("anglvel_y", "calibbias", False) + + @anglvel_y_calibbias.setter + def anglvel_y_calibbias(self, value): + self._set_iio_attr("anglvel_y", "calibbias", False, value) + + @property + def anglvel_z_calibbias(self): + """User calibration offset for gyroscope for the z-axis.""" + return self._get_iio_attr("anglvel_z", "calibbias", False) + + @anglvel_z_calibbias.setter + def anglvel_z_calibbias(self, value): + self._set_iio_attr("anglvel_z", "calibbias", False, value) + + @property + def accel_x_calibbias(self): + """User calibration offset for accelerometer for the x-axis.""" + return self._get_iio_attr("accel_x", "calibbias", False) + + @accel_x_calibbias.setter + def accel_x_calibbias(self, value): + self._set_iio_attr("accel_x", "calibbias", False, value) + + @property + def accel_y_calibbias(self): + """User calibration offset for accelerometer for the y-axis.""" + return self._get_iio_attr("accel_y", "calibbias", False) + + @accel_y_calibbias.setter + def accel_y_calibbias(self, value): + self._set_iio_attr("accel_y", "calibbias", False, value) + + @property + def accel_z_calibbias(self): + """User calibration offset for accelerometer for the z-axis.""" + return self._get_iio_attr("accel_z", "calibbias", False) + + @accel_z_calibbias.setter + def accel_z_calibbias(self, value): + self._set_iio_attr("accel_z", "calibbias", False, value) + + @property + def firmware_revision(self): + """firmware_revision: the firmware revision for the internal firmware""" + return self._get_iio_debug_attr_str("firmware_revision") + + @property + def firmware_date(self): + """firmware_date: the factory configuration date""" + return self._get_iio_debug_attr_str("firmware_date") + + @property + def product_id(self): + """product_id: the numerical portion of the device number""" + return self._get_iio_debug_attr("product_id") + + @property + def serial_number(self): + """serial_number: lot specific serial number""" + return self._get_iio_debug_attr_str("serial_number") + + @property + def flash_count(self): + """flash_counter: flash memory write count""" + return self._get_iio_debug_attr("flash_count") + + class _channel_with_offset(attribute): + """Channel with offset""" + + def __init__(self, ctrl, channel_name): + self.name = channel_name + self._ctrl = ctrl + + @property + def calibbias(self): + """ADIS165x channel offset""" + return self._get_iio_attr(self.name, "calibbias", False) + + @calibbias.setter + def calibbias(self, value): + self._set_iio_attr(self.name, "calibbias", False, value) + + @property + def raw(self): + """ADIS165x channel raw value""" + return self._get_iio_attr(self.name, "raw", False) + + @property + def scale(self): + """ADIS165x channel scale(gain)""" + return float(self._get_iio_attr_str(self.name, "scale", False)) + + class _channel(attribute): + """Channel""" + + def __init__(self, ctrl, channel_name): + self.name = channel_name + self._ctrl = ctrl + + @property + def raw(self): + """ADIS165x channel raw value""" + return self._get_iio_attr(self.name, "raw", False) + + @property + def scale(self): + """ADIS165x channel scale(gain)""" + return float(self._get_iio_attr_str(self.name, "scale", False)) + + def reg_read(self, reg): + """Direct Register Access via debugfs""" + self._set_iio_debug_attr_str("direct_reg_access", reg, self._ctrl) + return self._get_iio_debug_attr_str("direct_reg_access", self._ctrl) + + def reg_write(self, reg, value): + """Direct Register Access via debugfs""" + self._set_iio_debug_attr_str("direct_reg_access", f"{reg} {value}", self._ctrl) diff --git a/examples/adis16475.py b/examples/adis16475.py index 4de4cc803..840474fec 100644 --- a/examples/adis16475.py +++ b/examples/adis16475.py @@ -1,18 +1,64 @@ # Copyright (C) 2019 Analog Devices, Inc. # # SPDX short identifier: ADIBSD +import sys import adi -# Set up AD7124 -adis16475 = adi.adis16475() +my_dev_name = sys.argv[1] +my_uri = sys.argv[2] + +adis16475 = adi.adis16475(device_name=my_dev_name, uri=my_uri) + +# print Y and Z axis acceleration +# print(data) +print("Product id: " + str(adis16475.product_id)) +print("Serial number: " + adis16475.serial_number) +print("Firmware revision: " + adis16475.firmware_revision) +print("Firmware date: " + adis16475.firmware_date) +print("\nX acceleration: " + str(adis16475.accel_x_conv) + " m/s^2") +print("Y acceleration: " + str(adis16475.accel_y_conv) + " m/s^2") +print("Z acceleration: " + str(adis16475.accel_z_conv) + " m/s^2") + +print("\nX angular velocity: " + str(adis16475.anglvel_x_conv) + " rad/s") +print("Y angular velocity: " + str(adis16475.anglvel_y_conv) + " rad/s") +print("Z angular velocity: " + str(adis16475.anglvel_z_conv) + " rad/s") adis16475.rx_output_type = "raw" -adis16475.rx_enabled_channels = [0, 1, 2, 3, 4, 5, 6] -adis16475.sample_rate = 2000 -adis16475.rx_buffer_size = 100 +adis16475.rx_enabled_channels = [6, 7, 8, 9, 10, 11, 12] +adis16475.sample_rate = 10 +adis16475.rx_buffer_size = 10 data = adis16475.rx() -# print Y and Z axis acceleration -print(data) +for i in range(0, 9): + # arr = i + print( + "\nTemperature: " + + str(data[0][i] * adis16475.temp.scale) + + " millidegrees Celsius" + ) + print( + "X delta angle: " + str(data[1][i] * adis16475.deltaangl_x.scale) + " radians" + ) + print( + "Y delta angle: " + str(data[2][i] * adis16475.deltaangl_y.scale) + " radians" + ) + print( + "Z delta angle: " + str(data[3][i] * adis16475.deltaangl_z.scale) + " radians" + ) + print( + "X delta velocity: " + + str(data[4][i] * adis16475.deltavelocity_x.scale) + + " m/s" + ) + print( + "Y delta velocity: " + + str(data[5][i] * adis16475.deltavelocity_y.scale) + + " m/s" + ) + print( + "Z delta velocity: " + + str(data[6][i] * adis16475.deltavelocity_z.scale) + + " m/s" + )