From 28767f0c0b8dd9fc6cdd56782973a7f956d72067 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Tue, 19 Jun 2007 12:12:33 +0200 Subject: [PATCH] --- yaml --- r: 62067 b: refs/heads/master c: 2723f2a46823465f24b91cca0ace1e1389fe3507 h: refs/heads/master i: 62065: 075f92045773dc424a7c66fdd7879a762faf7702 62063: c95530b6b63e11b2c25120f889b54efa30558358 v: v3 --- [refs] | 2 +- trunk/sound/soc/s3c24xx/lm4857.h | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 trunk/sound/soc/s3c24xx/lm4857.h diff --git a/[refs] b/[refs] index 0b53cea4e9cc..303291a94771 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8c87286fdcb67f796cc9477a9bc1a2f1e173d99f +refs/heads/master: 2723f2a46823465f24b91cca0ace1e1389fe3507 diff --git a/trunk/sound/soc/s3c24xx/lm4857.h b/trunk/sound/soc/s3c24xx/lm4857.h new file mode 100644 index 000000000000..0cf5b7011d6f --- /dev/null +++ b/trunk/sound/soc/s3c24xx/lm4857.h @@ -0,0 +1,32 @@ +/* + * lm4857.h -- ALSA Soc Audio Layer + * + * Copyright 2007 Wolfson Microelectronics PLC. + * Author: Graeme Gregory + * graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * Revision history + * 18th Jun 2007 Initial version. + */ + +#ifndef LM4857_H_ +#define LM4857_H_ + +/* The register offsets in the cache array */ +#define LM4857_MVOL 0 +#define LM4857_LVOL 1 +#define LM4857_RVOL 2 +#define LM4857_CTRL 3 + +/* the shifts required to set these bits */ +#define LM4857_3D 5 +#define LM4857_WAKEUP 5 +#define LM4857_EPGAIN 4 + +#endif /*LM4857_H_*/ +