SoC a5: saradc: fix the issue of large sampling errors of some chips [1/1]

PD#SWPL-178924

Problem:
Fix the issue of large sampling errors of some chips.

Solution:
Configured in single-ended mode and calibrated using the formula.

Verify:
A5/AV400

Change-Id: I6003ce8dcc4c46d8735ed783fa343b601f5b33ad
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
diff --git a/a5/saradc-data.h b/a5/saradc-data.h
index 12502bf..fd31bbd 100644
--- a/a5/saradc-data.h
+++ b/a5/saradc-data.h
@@ -21,4 +21,7 @@
 
 #define SARADC_REG_NUM (39 + 1)
 
+/* enable software calibration */
+#define SARADC_SOFTWARE_CALIBRATION
+
 #endif