aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/health/afe4404.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/health/afe4404.c')
-rw-r--r--drivers/iio/health/afe4404.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/iio/health/afe4404.c b/drivers/iio/health/afe4404.c
index aa8770b291c8..3a8131de2626 100644
--- a/drivers/iio/health/afe4404.c
+++ b/drivers/iio/health/afe4404.c
@@ -51,26 +51,6 @@
51/* AFE4404 CONTROL3 register fields */ 51/* AFE4404 CONTROL3 register fields */
52#define AFE440X_CONTROL3_OSC_ENABLE BIT(9) 52#define AFE440X_CONTROL3_OSC_ENABLE BIT(9)
53 53
54/* AFE4404 TIA_GAIN_CAP values */
55#define AFE4404_TIA_GAIN_CAP_5_P 0x0
56#define AFE4404_TIA_GAIN_CAP_2_5_P 0x1
57#define AFE4404_TIA_GAIN_CAP_10_P 0x2
58#define AFE4404_TIA_GAIN_CAP_7_5_P 0x3
59#define AFE4404_TIA_GAIN_CAP_20_P 0x4
60#define AFE4404_TIA_GAIN_CAP_17_5_P 0x5
61#define AFE4404_TIA_GAIN_CAP_25_P 0x6
62#define AFE4404_TIA_GAIN_CAP_22_5_P 0x7
63
64/* AFE4404 TIA_GAIN_RES values */
65#define AFE4404_TIA_GAIN_RES_500_K 0x0
66#define AFE4404_TIA_GAIN_RES_250_K 0x1
67#define AFE4404_TIA_GAIN_RES_100_K 0x2
68#define AFE4404_TIA_GAIN_RES_50_K 0x3
69#define AFE4404_TIA_GAIN_RES_25_K 0x4
70#define AFE4404_TIA_GAIN_RES_10_K 0x5
71#define AFE4404_TIA_GAIN_RES_1_M 0x6
72#define AFE4404_TIA_GAIN_RES_2_M 0x7
73
74enum afe4404_fields { 54enum afe4404_fields {
75 /* Gains */ 55 /* Gains */
76 F_TIA_GAIN_SEP, F_TIA_CF_SEP, 56 F_TIA_GAIN_SEP, F_TIA_CF_SEP,