This add power-domains for mt2701-afe-pcm
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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/Documen
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
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 <garlic.ts...@mediatek.com>
---
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
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
red. Should it be static?
>
> Signed-off-by: Wei Yongjun <yongjun_...@trendmicro.com.cn>
Acked-by: Garlic Tseng <garlic.ts...@mediatek.com>
> ---
> sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc
-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 15522c0..34a
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 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
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 <garlic.ts...@mediatek.com>
---
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/sou
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 52 +++
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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
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| 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
-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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
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
-by: 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 <garlic.ts...@mediatek.com>
---
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/sou
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 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
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
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 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: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
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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig| 4 +
sound/soc/mediatek/Makefile | 2 +-
sound/soc/mediatek/common/Makefile| 16 +
sou
implement mediatek basic structure, include common private data,
afe fe dai operator and afe platform driver.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 379 +
sound/soc/mediatek/common/mtk-afe-fe
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
-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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/me
Add supports for 16k (wideband BT) and add a general compatible
string "linux,bt-sco"
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files chang
Add machine driver and config option for MT2701.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/
-by: 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 <garlic.ts...@mediatek.com>
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 inse
add structure define and clock control function for 2701.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 464 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 38 ++
sound/soc/mediatek/mt2701/mt27
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
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.
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 <garlic.ts...@mediatek.com>
---
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/sou
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/
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.
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.
> > +
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
>
>
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.
> > +
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
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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
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| 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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 464 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 38 ++
sound/soc/mediatek/mt2701/mt27
Modify mt8173 driver implementation to use common structure.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig| 11 +
sound/soc/mediatek/Makefile | 3 +-
sound/soc/mediatek/common/Makefile| 17 +
sou
implement mediatek basic structure, include common private data,
afe fe dai operator and afe platform driver.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 379 +
sound/soc/mediatek/common/mtk-afe-fe
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 <garlic.ts...@mediatek.com>
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files chang
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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/sou
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/
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
-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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/me
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 inse
-by: 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 <garlic.ts...@mediatek.com>
---
Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +-
sound/soc/codecs/bt-sco.c | 5 +++--
2 files chang
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
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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 379 +
sound/soc/mediatek/common/mtk-afe-fe
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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 21 ++
sound/soc/mediatek/Makefile| 1 +
sound/soc/mediatek/mt2701/Makefile | 19 ++
sound/soc/mediatek/
Add BT implementation for mt2701 platform driver.
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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/sou
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
-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
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/me
-by: 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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig| 11 +
sound/soc/mediatek/Makefile | 3 +-
sound/soc/mediatek/common/Makefile| 17 +
sou
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 <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 464 ++
sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 38 ++
sound/soc/mediatek/mt2701/mt27
move mt8173 driver to another folder and add prefix.
add config option SND_SOC_MT8173
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
sound/soc/mediatek/Kconfig | 14 +-
sound/soc/mediatek/Makefile| 9 +-
sound/soc/mediatek/
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701
Signed-off-by: Garlic Tseng <garlic.ts...@mediatek.com>
---
.../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 +
.../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++
2 files changed, 193 inse
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",
>
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",
>
1 - 100 of 174 matches
Mail list logo