[alsa-devel] [PATCH 2/4] MFD: twl6040: Update register bit definitions

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Jun 24 15:42:04 CEST 2013


Add define for: HSDRV, HFDAC, HFPGA and HFDRV enable bits

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
CC: Samuel Ortiz <sameo at linux.intel.com>
---
 include/linux/mfd/twl6040.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/linux/mfd/twl6040.h b/include/linux/mfd/twl6040.h
index 94ac944..7e7fbce 100644
--- a/include/linux/mfd/twl6040.h
+++ b/include/linux/mfd/twl6040.h
@@ -125,8 +125,15 @@
 
 #define TWL6040_HSDACENA		(1 << 0)
 #define TWL6040_HSDACMODE		(1 << 1)
+#define TWL6040_HSDRVENA		(1 << 2)
 #define TWL6040_HSDRVMODE		(1 << 3)
 
+/* HFLCTL/R (0x14/0x16) fields */
+
+#define TWL6040_HFDACENA		(1 << 0)
+#define TWL6040_HFPGAENA		(1 << 1)
+#define TWL6040_HFDRVENA		(1 << 4)
+
 /* VIBCTLL/R (0x18/0x1A) fields */
 
 #define TWL6040_VIBENA			(1 << 0)
-- 
1.8.2.1



More information about the Alsa-devel mailing list