summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/samsung-ypz5/audio-target.h
diff options
context:
space:
mode:
authorLorenzo Miori <memorys60@gmail.com>2013-11-15 22:05:40 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2013-12-02 20:48:21 +0100
commit1deab739803ee768e393bba41446450a792b6410 (patch)
tree26b5a121d6a03d2f394aa285ab017b1f317caf37 /firmware/target/arm/imx233/samsung-ypz5/audio-target.h
parent15155ed10006f84c42bc435e354a16b3f391d55e (diff)
downloadrockbox-1deab739803ee768e393bba41446450a792b6410.tar.gz
rockbox-1deab739803ee768e393bba41446450a792b6410.zip
Initial commit for the YP-Z5 port
The port uses the imx233 soc, it's a STMP3650 based Samsung player Change-Id: I50b6d7e77fd292fab5ed26de87853cd5aaf9eaa4 Reviewed-on: http://gerrit.rockbox.org/490 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'firmware/target/arm/imx233/samsung-ypz5/audio-target.h')
-rw-r--r--firmware/target/arm/imx233/samsung-ypz5/audio-target.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/samsung-ypz5/audio-target.h b/firmware/target/arm/imx233/samsung-ypz5/audio-target.h
new file mode 100644
index 0000000000..c0bee26e45
--- /dev/null
+++ b/firmware/target/arm/imx233/samsung-ypz5/audio-target.h
@@ -0,0 +1,31 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2013 by Lorenzo Miori
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#ifndef __audio_target__
22#define __audio_target__
23
24/* MUTE_ON toggles a transistor that in turns toggles a mosfet... */
25#define IMX233_AUDIO_HP_GATE_BANK 1
26#define IMX233_AUDIO_HP_GATE_PIN 22
27#define IMX233_AUDIO_HP_GATE_INVERTED
28
29#define IMX233_AUDIO_COUPLING_MODE ACM_CAP
30
31#endif /* __audio_target__ */