Skip to content

Commit

Permalink
iio: adc: cf_axi_adc: remove unused TPL definitions
Browse files Browse the repository at this point in the history
Since they've been moved to include/linux/jesd204/adi-common.h, these will
be duplicates/unused.
Remove them.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
  • Loading branch information
commodo committed Sep 10, 2020
1 parent 8c16e64 commit e3c4e4a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions drivers/iio/adc/cf_axi_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,6 @@
#define ADI_REG_CLOCKS_PER_PPS_STATUS 0x00C4
#define ADI_CLOCKS_PER_PPS_STAT_INVAL (1 << 0)

/* JESD TPL */

#define ADI_REG_TPL_CNTRL 0x0200
#define ADI_REG_TPL_STATUS 0x0204
#define ADI_REG_TPL_DESCRIPTOR_1 0x0240
#define ADI_REG_TPL_DESCRIPTOR_2 0x0244

#define ADI_TO_JESD_M(x) (((x) >> 0) & 0xFF)
#define ADI_TO_JESD_L(x) (((x) >> 8) & 0xFF)
#define ADI_TO_JESD_S(x) (((x) >> 16) & 0xFF)
#define ADI_TO_JESD_F(x) (((x) >> 24) & 0xFF)

#define ADI_TO_JESD_N(x) (((x) >> 0) & 0xFF)
#define ADI_TO_JESD_NP(x) (((x) >> 8) & 0xFF)

/* ADC CHANNEL */

#define ADI_REG_CHAN_CNTRL(c) (0x0400 + (c) * 0x40)
Expand Down

0 comments on commit e3c4e4a

Please sign in to comment.