[alsa-devel] [PATCH 3/4] ASoC: ak5702: include file for clock type

Paolo Doz paolo.doz at gmail.com
Mon Oct 29 09:44:09 CET 2012


Include file used to define clock type of ak5702.

Signed-off-by: Paolo Doz <paolo.doz at gmail.com>
---
 include/sound/ak5702.h |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 include/sound/ak5702.h

diff --git a/include/sound/ak5702.h b/include/sound/ak5702.h
new file mode 100644
index 0000000..0ea2792
--- /dev/null
+++ b/include/sound/ak5702.h
@@ -0,0 +1,27 @@
+/*
+ * ak5702.h -- AK5702 ALSA SoC driver
+ *
+ * Author:      Paolo Doz <paolo.doz at gmail.com>
+ * Copyright:   (C) 2012 Soft In S.r.l.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __AK5702_H
+#define __AK5702_H
+
+/**
+ * enum ak5702_clock mode
+ */
+
+enum ak5702_clock_mode {
+    PLL_master_mode,
+    PLL_slave_mode,
+    PLL_slave_mode2,
+    EXT_slave_mode,
+    EXT_master_mode
+};
+
+#endif /* __AK5702_H */
-- 
1.7.9.5


More information about the Alsa-devel mailing list