From 75c791dabff8e48be18cec8915f79626ae2d0073 Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Mon, 25 Nov 2013 18:59:57 +0100 Subject: imx233: add the possibility to choose audio output coupling mode via target-defined option Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa Reviewed-on: http://gerrit.rockbox.org/678 Reviewed-by: Amaury Pouly --- firmware/target/arm/imx233/audioout-imx233.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'firmware/target/arm/imx233/audioout-imx233.h') diff --git a/firmware/target/arm/imx233/audioout-imx233.h b/firmware/target/arm/imx233/audioout-imx233.h index b5c16767c6..88163e7ad2 100644 --- a/firmware/target/arm/imx233/audioout-imx233.h +++ b/firmware/target/arm/imx233/audioout-imx233.h @@ -27,6 +27,14 @@ #include "regs/regs-audioout.h" +/* target-defined output stage coupling method + * its setting is IMX233_AUDIO_COUPLING_MODE and must be set for every target + * Use ACM_CAP if output stage (i.e. headphones) have output capacitors, + * ACM_CAPLESS (DC-coupled) otherwise. + */ +#define ACM_CAPLESS 0 +#define ACM_CAP 1 + struct imx233_audioout_info_t { // NOTE there is a convention here: dac -> dacvol -> dacmute -- cgit v1.2.3