This add power-domains for mt2701-afe-pcm
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt
b/Documentation/devicetree/bindings/sound/mt2701
add power-domain get/put ctrl for 2701 and add relative node description
in binding doc.
Garlic Tseng (2):
ASoC: mediatek: add power-domain get/put ctrl for mt2701
ASoC: mediatek: add power-domains for mt2701-afe-pcm.txt
Documentation/devicetree/bindings/sound/mt2701-afe-pcm.txt | 2
add power-domain ctrl for audio driver
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
index 34a6123..c7fa3e6 100644
--- a
Signed-off-by: Wei Yongjun
Acked-by: Garlic Tseng
> ---
> sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
> b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
> index 15
On Tue, 2016-07-05 at 10:12 +0200, Mark Brown wrote:
> On Tue, Jul 05, 2016 at 09:52:13AM +0800, Garlic Tseng wrote:
> > On Mon, 2016-07-04 at 16:44 +0200, Mark Brown wrote:
>
> > > We really shouldn't be writing the registers or other internal data of
> > >
On Mon, 2016-07-04 at 16:44 +0200, Mark Brown wrote:
> On Mon, Jul 04, 2016 at 06:56:27PM +0800, Garlic Tseng wrote:
>
> > +static int mt2701_btmrg_startup(struct snd_pcm_substream *substream,
> > + struct snd_soc_dai *dai)
> > +{
> > + s
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 139 +
1 file changed, 139 insertions(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 52 +++---
2 files changed, 37 inserti
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 412
nnecessary set_clkdiv and set_fmt ops in mt2701 platform driver
* add another snd_soc_dai_driver for bt-sco codec to support 8k and 16k
Garlic Tseng (4):
ASoC: mediatek: add mt2701 platform driver implementation.
ASoC: bt-sco: extend rate and add a general compatible string
ASoC: mediat
: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-common.h |9 -
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c| 1515 +
2 files changed, 1515 insertions(+), 9 deletions(-)
create mode 100644 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff --git a/sound/soc/mediatek
Add config prompt for bt-sco codec driver
Signed-off-by: Garlic Tseng
---
sound/soc/codecs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index f2f8603..1cd6ab3 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc
On Thu, 2016-06-30 at 21:39 +0800, Garlic Tseng wrote:
> On Wed, 2016-06-29 at 20:13 +0100, Mark Brown wrote:
> > On Fri, Jun 17, 2016 at 03:43:57PM +0800, Garlic Tseng wrote:
> >
> > > +static int mt2701_afe_i2s_set_clkdiv(struct snd_
On Sat, 2016-07-02 at 17:05 +0800, Chen-Yu Tsai wrote:
Hi,
> Could we also make this driver directly configurable from Kconfig,
> and not just selected by platforms (currently Samsung) or by building
> all coddecs?
>
> Thanks
> ChenYu
I'll add configure prompt for SND_SOC_BT_SCO in next patchse
On Thu, 2016-06-30 at 20:55 +0800, Garlic Tseng wrote:
> On Wed, 2016-06-29 at 20:15 +0100, Mark Brown wrote:
> > On Fri, Jun 17, 2016 at 03:43:58PM +0800, Garlic Tseng wrote:
> > > Add supports for 16k (wideband BT) and add a general compatible
> > > string "linux,
On Wed, 2016-06-29 at 20:13 +0100, Mark Brown wrote:
> On Fri, Jun 17, 2016 at 03:43:57PM +0800, Garlic Tseng wrote:
>
> > +static int mt2701_afe_i2s_set_clkdiv(struct snd_soc_dai *dai, int div_id,
> > +int div)
> > +{
>
>
On Wed, 2016-06-29 at 20:15 +0100, Mark Brown wrote:
> On Fri, Jun 17, 2016 at 03:43:58PM +0800, Garlic Tseng wrote:
> > Add supports for 16k (wideband BT) and add a general compatible
> > string "linux,bt-sco"
>
> This will claim that we support 16k on existing s
Modify mt8173 driver implementation to use common structure.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig| 4 +
sound/soc/mediatek/Makefile | 2 +-
sound/soc/mediatek/common/Makefile| 16 +
sound/soc/mediatek/mt8173/mt8173-afe
implement mediatek basic structure, include common private data,
afe fe dai operator and afe platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 379 +
sound/soc/mediatek/common/mtk-afe-fe-dai.h | 45 +++
.../soc
: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 1559
1 file changed, 1559 insertions(+)
create mode 100644 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
new
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletion
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 422
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 insertions(+)
create mode 100644
add structure define and clock control function for 2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 464 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 38 ++
sound/soc/mediatek/mt2701/mt2701-afe-common.h | 181
ll fail if clock initial error
* fix dapm on/off switch control naming
Change since v1:
implement common private structure, fe dai and platform driver.
let mt8173 and mt2701 use the common structure.
Garlic Tseng (9):
ASoC: mediatek: Refine mt8173 driver and change config option
ASoC: mediatek:
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 139 +
1 file changed, 139 insertions(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/mt8173/Makefile
Hi Yingjoe, thanks for comments.
> > +config SND_SOC_MEDIATEK
> > + tristate "SND_SOC_MEDIATEK"
> > + depends on ARCH_MEDIATEK
> > + help
> > + This adds ASoC driver for Mediatek boards
> > + that can be used with other codecs.
> > + Select Y if you have such device.
> > + If
On Wed, 2016-06-15 at 18:58 +0800, Yingjoe Chen wrote:
> On Mon, 2016-06-13 at 15:26 +0800, Garlic Tseng wrote:
> > +config SND_SOC_MT2701_CS42448
> > + tristate "SND_SOC_MT2701_CS42448"
>
> Please provide proper config prompt here.
OK I'll fix it. Thanks.
> Joe.C
>
>
apm on/off switch control naming
Change since v1:
implement common private structure, fe dai and platform driver.
let mt8173 and mt2701 use the common structure.
Garlic Tseng (9):
ASoC: mediatek: Refine mt8173 driver and change config option
ASoC: mediatek: implement mediatek common struct
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 422
add structure define and clock control function for 2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 464 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 38 ++
sound/soc/mediatek/mt2701/mt2701-afe-common.h | 181
Modify mt8173 driver implementation to use common structure.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig| 11 +
sound/soc/mediatek/Makefile | 3 +-
sound/soc/mediatek/common/Makefile| 17 +
sound/soc/mediatek/mt8173/mt8173-afe
implement mediatek basic structure, include common private data,
afe fe dai operator and afe platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 379 +
sound/soc/mediatek/common/mtk-afe-fe-dai.h | 45 +++
.../soc
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletion
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 139 +
1 file changed, 139 insertions(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/mt8173/Makefile
: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 1559
1 file changed, 1559 insertions(+)
create mode 100644 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
new
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 insertions(+)
create mode 100644
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletion
emove func mtk_simple_isr and call snd_pcm_period_elapsed directly
* mt2701 driver probe will fail if clock initial error
* fix dapm on/off switch control naming
Change since v1:
implement common private structure, fe dai and platform driver.
let mt8173 and mt2701 use the common structure.
Garli
implement mediatek basic structure, include common private data,
afe fe dai operator and afe platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 379 +
sound/soc/mediatek/common/mtk-afe-fe-dai.h | 45 +++
.../soc
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 422
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 139 +
1 file changed, 139 insertions(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe
: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 1559
1 file changed, 1559 insertions(+)
create mode 100644 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
new
Modify mt8173 driver implementation to use common structure.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig| 11 +
sound/soc/mediatek/Makefile | 3 +-
sound/soc/mediatek/common/Makefile| 17 +
sound/soc/mediatek/mt8173/mt8173-afe
add structure define and clock control function for 2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 464 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 38 ++
sound/soc/mediatek/mt2701/mt2701-afe-common.h | 181
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/mt8173/Makefile
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 insertions(+)
create mode 100644
On Tue, 2016-06-07 at 17:31 +0100, Mark Brown wrote:
> On Fri, Jun 03, 2016 at 12:56:21PM +0800, Garlic Tseng wrote:
>
> > + if (val < 0 || val > MT2701_I2S_NUM) {
> > + dev_err(afe->dev, "%s, num not available, num %d, val %d\n",
>
Hi Mark, thank for comment.
On Tue, 2016-06-07 at 16:54 +0100, Mark Brown wrote:
> On Fri, Jun 03, 2016 at 12:56:17PM +0800, Garlic Tseng wrote:
>
> > + /*enable agent*/
>
> Lots of comments with missing spaces in them, there's quite a few
> examples of that in here
On Tue, 2016-06-07 at 17:15 +0100, Mark Brown wrote:
> On Fri, Jun 03, 2016 at 12:56:20PM +0800, Garlic Tseng wrote:
>
> > +void mt2701_init_clock(struct mtk_base_afe *afe)
> > +{
> > + struct mt2701_afe_private *afe_priv = afe->platform_priv;
> > + int i
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 141 +
1 file changed, 141 insertions(+)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletion
add structure define and clock control function for 2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 357 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 33 ++
sound/soc/mediatek/mt2701/mt2701-afe-common.h | 185
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 insertions(+)
create mode 100644
This patch adds basic support for Mediatek AFE for MT2701 SoC.
The patch is based on broonie tree "for-next" branch.
Change since v1:
implement common private structure, fe dai and platform driver.
let mt8173 and mt2701 use the common structure.
Garlic Tseng (9):
ASoC: mediatek: Ref
Modify mt8173 driver implementation to use common structure.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig| 11 +
sound/soc/mediatek/Makefile | 3 +-
sound/soc/mediatek/common/Makefile| 17 +
sound/soc/mediatek/mt8173/mt8173-afe
: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 1523
1 file changed, 1523 insertions(+)
create mode 100644 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
new
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/mt8173/Makefile
implement mediatek basic structure, include common private data,
afe fe dai operator and afe platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 387 +
sound/soc/mediatek/common/mtk-afe-fe-dai.h | 47 +++
.../soc
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 422
On Fri, 2016-05-06 at 13:20 +0100, Mark Brown wrote:
> On Thu, May 05, 2016 at 06:39:32PM +0800, Garlic Tseng wrote:
>
> > As mentioned above, the difference of the ASoCs between the two chips
> > are too large that we have a hard time sharing the driver code.
>
> The
On Thu, 2016-05-05 at 10:32 +0200, Matthias Brugger wrote:
>
> On 05/05/16 04:45, Garlic Tseng wrote:
> > On Wed, 2016-05-04 at 17:43 +0100, Mark Brown wrote:
> >> On Fri, Apr 29, 2016 at 09:00:42PM +0800, Garlic Tseng wrote:
> >>
> >>> .../{mtk-afe-p
On Wed, 2016-05-04 at 17:43 +0100, Mark Brown wrote:
> On Fri, Apr 29, 2016 at 09:00:42PM +0800, Garlic Tseng wrote:
>
> > .../{mtk-afe-pcm.c => mt8173/mt8173-afe-pcm.c} | 488
> > ++---
>
> So there's going to be no code sharing at all betwe
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 2 +-
sound/soc/mediatek/mt2701/Makefile | 20 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 412
: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 1689
1 file changed, 1689 insertions(+)
create mode 100644 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
new
This patch adds basic support for Mediatek AFE for MT2701 SoC.
The patch is based on broonie tree "for-next" branch.
Change since RFC v2:
add BT function
refine Kconfig and Makefile
add prefix 'mt8173' and 'mt2701' for relative drivers.
Garlic Tseng (7):
ASoC:
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletion
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 insertions(+)
create mode 100644
move mt8173 driver to another folder and add prefix.
change config option from SND_SOC_MEDIATEK to SND_SOC_MT8173
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/mt8173
Clock and irq controls for 2701 platform driver.
To save irq resource, dynamic-allocated irq mechanism is implemented.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 344 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 33
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 138 -
1 file changed, 137 insertions(+), 1 deletion(-)
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c
b/sound/soc/mediatek
On Wed, 2016-04-20 at 12:36 +0200, Matthias Brugger wrote:
>
> On 14/04/16 14:14, Garlic Tseng wrote:
> [...]
>
> > diff --git a/Documentation/devicetree/bindings/sound/mtk2701-afe-pcm.txt
> > b/Documentation/devicetree/bindings/sound/mtk2701-afe-pcm.txt
> > new
On Thu, 2016-04-14 at 20:44 +0800, Yingjoe Chen wrote:
> On Thu, 2016-04-14 at 20:14 +0800, Garlic Tseng wrote:
> > Move mt8173 driver to another folder.
> >
> > The software control sequence of mt2701 is very different from that of
> > mt8173,
> > so this p
On Thu, 2016-04-14 at 20:39 +0800, Yingjoe Chen wrote:
> On Thu, 2016-04-14 at 20:14 +0800, Garlic Tseng wrote:
> > Add machine driver and config option for MT2701.
> >
> > Signed-off-by: Garlic Tseng
> > ---
> > sound/soc/mediatek/Kconfig
y comments will be greatly appreciated.
Garlic Tseng (5):
ASoC: mediatek: Refine mt8173 driver
ASoC: mediatek: add documents for mt2701
ASoC: mediatek: add clock and irq control for 2701 platform driver
ASoC: mediatek: add mt2701 platform driver implementation.
ASoC: mediatek: Add mt27
Move mt8173 driver to another folder.
The software control sequence of mt2701 is very different from that of mt8173,
so this patch moves mt8173 code to another folder.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Makefile| 12 +---
sound/soc/mediatek
Clock and irq controls for 2701 platform driver.
There are some BLOCK_COMMENT_STYLE errors from checkpatch and they will be fixed
after BT functions finished.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mtk2701-afe-clock-ctrl.c | 259 +
sound/soc/mediatek
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 3 +
sound/soc/mediatek/mt2701/Makefile | 20 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 376
Add mt2701 platform driver. There are some BLOCK_COMMENT_STYLE errors from
checkpatch and they will be fixed after BT functions finished.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mtk2701-afe-pcm.c | 1752 +++
1 file changed, 1752 insertions(+)
create
Add documents for mt2701-cs42448 machine driver and mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-cs42448.txt | 39 ++
.../devicetree/bindings/sound/mtk2701-afe-pcm.txt | 150 +
2 files changed, 189 insertions(+)
create
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 3 +
sound/soc/mediatek/mt2701/Makefile | 20 ++
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 376
This patch adds basic support for Mediatek AFE for MT2701 SoC.
The patch is based on broonie tree "for-next" branch.
The interface to connect with BT chip is not finish yet, but as an upstream
rookie I really need some comments. Any comments will be greatly appreciated.
Garlic Tseng (
Add documents for mt2701-cs42448 machine driver and mt2701 platform driver.
Signed-off-by: Garlic Tseng
---
.../devicetree/bindings/sound/mt2701-cs42448.txt | 39 ++
.../devicetree/bindings/sound/mtk2701-afe-pcm.txt | 150 +
2 files changed, 189 insertions(+)
create
Move mt8173 driver to another folder. The software control sequence of mt2701
are very different from that of mt8173, so this patch move mt8173 code to
another folder
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/Makefile | 12 +-
sound/soc/mediatek/mt8173-max98090.c
Add mt2701 platform driver. There are some BLOCK_COMMENT_STYLE error from
checkpatch and they will be fixed after BT functions finished.
Signed-off-by: Garlic Tseng
---
sound/soc/mediatek/mt2701/mtk2701-afe-clock-ctrl.c | 259 +++
sound/soc/mediatek/mt2701/mtk2701-afe-clock-ctrl.h | 28
87 matches
Mail list logo