Skip to content

Commit

Permalink
iio: frequency: cf_axi_dds: New real variant of adi,axi-ad9081-tx-1.0
Browse files Browse the repository at this point in the history
This patch adds a new compatible "adi,axi-ad9081-tx-1.0-real" used
whenever samples are not complex IQ modified.

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich committed Feb 21, 2022
1 parent ae2c9ca commit 8e59ec4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/iio/frequency/cf_axi_dds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,13 @@ static const struct axidds_core_info ad9081_1_00_a_info = {
.complex_modified = true,
};

static const struct axidds_core_info ad9081_1_00_a_real_info = {
.version = ADI_AXI_PCORE_VER(9, 1, 'b'),
.name = "AD9081",
.standalone = true,
.complex_modified = false,
};

static const struct axidds_core_info ad9172_1_00_a_info = {
.version = ADI_AXI_PCORE_VER(9, 1, 'b'),
.name = "AD917x",
Expand Down Expand Up @@ -2084,6 +2091,9 @@ static const struct of_device_id cf_axi_dds_of_match[] = {
}, {
.compatible = "adi,axi-ad9081-tx-1.0",
.data = &ad9081_1_00_a_info,
}, {
.compatible = "adi,axi-ad9081-tx-1.0-real",
.data = &ad9081_1_00_a_real_info,
}, {
.compatible = "adi,axi-adrv9002-tx-1.0",
.data = &adrv9002_9_01_b_info
Expand Down

0 comments on commit 8e59ec4

Please sign in to comment.