| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> | 2 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> |
| 3 * | 3 * |
| 4 * This program is free software; you can redistribute it and/or modify it | 4 * This program is free software; you can redistribute it and/or modify it |
| 5 * under the terms of the GNU General Public License as published by the | 5 * under the terms of the GNU General Public License as published by the |
| 6 * Free Software Foundation; either version 2 of the License, or (at your | 6 * Free Software Foundation; either version 2 of the License, or (at your |
| 7 * option) any later version. | 7 * option) any later version. |
| 8 * | 8 * |
| 9 * You should have received a copy of the GNU General Public License along | 9 * You should have received a copy of the GNU General Public License along |
| 10 * with this program; if not, write to the Free Software Foundation, Inc., | 10 * with this program; if not, write to the Free Software Foundation, Inc., |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #include <linux/clk.h> | 22 #include <linux/clk.h> |
| 23 #include <linux/delay.h> | 23 #include <linux/delay.h> |
| 24 | 24 |
| 25 #include <linux/dma-mapping.h> | 25 #include <linux/dma-mapping.h> |
| 26 | 26 |
| 27 #include <sound/core.h> | 27 #include <sound/core.h> |
| 28 #include <sound/pcm.h> | 28 #include <sound/pcm.h> |
| 29 #include <sound/pcm_params.h> | 29 #include <sound/pcm_params.h> |
| 30 #include <sound/soc.h> | 30 #include <sound/soc.h> |
| 31 #include <sound/soc-dapm.h> | |
| 32 #include <sound/initval.h> | 31 #include <sound/initval.h> |
| 33 | 32 |
| 34 #include "jz4740-i2s.h" | 33 #include "jz4740-i2s.h" |
| 35 #include "jz4740-pcm.h" | 34 #include "jz4740-pcm.h" |
| 36 | 35 |
| 37 #define JZ_REG_AIC_CONF 0x00 | 36 #define JZ_REG_AIC_CONF 0x00 |
| 38 #define JZ_REG_AIC_CTRL 0x04 | 37 #define JZ_REG_AIC_CTRL 0x04 |
| 39 #define JZ_REG_AIC_I2S_FMT 0x10 | 38 #define JZ_REG_AIC_I2S_FMT 0x10 |
| 40 #define JZ_REG_AIC_FIFO_STATUS 0x14 | 39 #define JZ_REG_AIC_FIFO_STATUS 0x14 |
| 41 #define JZ_REG_AIC_I2S_STATUS 0x1c | 40 #define JZ_REG_AIC_I2S_STATUS 0x1c |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 static void __exit jz4740_i2s_exit(void) | 528 static void __exit jz4740_i2s_exit(void) |
| 530 { | 529 { |
| 531 platform_driver_unregister(&jz4740_i2s_driver); | 530 platform_driver_unregister(&jz4740_i2s_driver); |
| 532 } | 531 } |
| 533 module_exit(jz4740_i2s_exit); | 532 module_exit(jz4740_i2s_exit); |
| 534 | 533 |
| 535 MODULE_AUTHOR("Lars-Peter Clausen, <lars@metafoo.de>"); | 534 MODULE_AUTHOR("Lars-Peter Clausen, <lars@metafoo.de>"); |
| 536 MODULE_DESCRIPTION("Ingenic JZ4740 SoC I2S driver"); | 535 MODULE_DESCRIPTION("Ingenic JZ4740 SoC I2S driver"); |
| 537 MODULE_LICENSE("GPL"); | 536 MODULE_LICENSE("GPL"); |
| 538 MODULE_ALIAS("platform:jz4740-i2s"); | 537 MODULE_ALIAS("platform:jz4740-i2s"); |
| OLD | NEW |